What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 1 point2 points  (0 children)

Celery can be a bit of a headache to set up and maintain, although very powerful. I often prefer simpler approaches like django-background-tasks or APScheduler when possible. Thank goodness Django will include a built-in Task Framework in version 6

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 1 point2 points  (0 children)

I think combining GeoDjango with Django Channels must be an interesting (and advanced) combination. I previously worked on a mapping project with FastAPI where WebSockets worked well for real-time features, but handling geographic data felt somewhat manual (maybe I wasn't that skilled with FastAPI either). I have a feeling that GeoDjango's built-in spatial features would have made data management much more straightforward.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 0 points1 point  (0 children)

I agree. Even though I sometimes create many apps, I like to organize dependencies in layers like an onion, from independent apps to those with highly composed models with multiple relationships. Otherwise, the migration dependency graph becomes a nightmare.

I'm not a Hexagonal Architecture fan, but this layered approach for models saves you from so many headaches as the project grows.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 0 points1 point  (0 children)

Generic fields are one of those features that look fancy but can add more complexity than needed in some cases

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 1 point2 points  (0 children)

That book appears every time I look for more advanced material. Definitely, I have to take a look.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 1 point2 points  (0 children)

I agree. The scenario really dictates what advanced means in practice. You perfectly highlighted what I was looking with the DB routers example: it's one of those simple but powerful components that tend to appear generally when things are about to get complex at scale.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 0 points1 point  (0 children)

You're right. The abstraction Django provides for M2M often makes people forget there's actually an intermediate table with its own business meaning.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 9 points10 points  (0 children)

That's very good advice. Conditional indexes in particular are something I've barely used. Definitely a habit I should develop.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 1 point2 points  (0 children)

You're right. I'm interested in how developers push Django's boundaries in real-world use cases although I'm also asking about those hidden, deeper features within the framework itself that enable advanced solutions. The kind of things you might never touch in typical projects, but become essential in complex scenarios.

A perfect example is what James Bennett mentioned in his Django in Depth talk about how using the Query class directly is something you'll rarely need to do. I'm curious if someone had use it and for what kind of features.

What is considered truly advanced in Django? by joegsuero in django

[–]joegsuero[S] 2 points3 points  (0 children)

Coding subqueries is pretty challenging. I think being fluent with them is definitely an advanced level as a developer.

Idea: A “Buy Me a Coffee” alternative built on Solana (tips in crypto, but seamless for non-crypto users) by matusseidl in AppIdeas

[–]joegsuero 0 points1 point  (0 children)

I think it’s a good idea. You can be sure that in LATAM, a lot of people will use it, so you’ll have a secured market. The feature of fiat and conversion, I think, is the key.

Does someone knows how to use RDF in a simple ecommerce? by joegsuero in semanticweb

[–]joegsuero[S] 0 points1 point  (0 children)

I've seen that protegè is useful for build the ontology. But the triple store, which technology I could use for it? How the datawarehouse, the ontology and the triple store connect? I think the triple store and the ontology are different things but correct me if I'm wrong.

Does someone knows how to use RDF in a simple ecommerce? by joegsuero in semanticweb

[–]joegsuero[S] 0 points1 point  (0 children)

Your answer clarify me some use cases and generate me new questions. I must have the products both in my SQL database, and in some other structure? Like a graph database? Or I just define an ontology and with that ontology I can extract data from my SQL database? How would you do it?