3 ms·
Django is a great MVC framework. It might be overkill for a blog as another poster wrote, but it's still a good way to learn Django. If you ever want to learn
by jasfi 4y ago
Django is a great MVC framework. It might be overkill for a blog as another poster wrote, but it's still a good way to learn Django.
If you ever want to learn Nim, please consider Nexus (https://github.com/jfilby/nexus https://github.com/jfilby/nexus) as I'm building it to be something like Django for Nim.
- stefanos82 4y agoWell, about the MVC terminology, if we want to be pedantic we have to read their official response about why they call it "MVT" and not "MVC" https://docs.djangoproject.com/en/4.0/faq/general/#django-appears-to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-the-template-how-come-you-don-t-use-the-standard-names https://docs.djangoproject.com/en/4.0/faq/general/#django-ap...
- jasfi 4y agoYes the view layer of Django is templating, but it's still a view layer. For Nexus the view layer is very flexible. You could use Nimja for templating or DocUI which I still plan on releasing. This doesn't mean there's no code at all in the view layer, there's a WebContext object with useful info (e.g. is this a mobile device?) and some other helper code. DocUI is still something I plan to release as Open Source this month. With the current Flutter front-end engine you can write Nim (or any other supported language) on the back-end and have the front-end engine render your UI.
- sergiotapia 4y agoWhy jester instead of prologue? Jester had some issues in my experience running things like background jobs on Windows.
- jasfi 4y agoI just went with what I knew. I started this project a few years back and it's been evolving slowly. Web routes will be configured via YAML, so I actually think I could make the lower-level web framework pluggable. So you could use Jester, Prologue or something else.