Django for any functionality-focused site or web application.
Flask for quick APIs of limited functionality that just need to "get done now".
11–20 of 49 posts
Django for any functionality-focused site or web application.
Flask for quick APIs of limited functionality that just need to "get done now".
Wordpress: Least learning curve, hard to customise down the line. Flask: Deceivingly simple at first, but you'll spend full-time debugging it soon. It is NOT a framework for beginner. Django: A bit more learning curve than WP, but will take you far, if you read its docs properly.
Wagtail has over 15,000 stars on GitHub, is heavily supported and was created in 2014. It has since been adopted by organizations such as NASA, Google, and the National Health Service.
Below is a comparison between Wagtail and Wordpress.
Go with the one you know. "WP got hacked" is (~99% of the time, when on a competently-run web host) a case of (1) Webmaster used an iffy WP Plugin* or few (the plugin was obscure/orphaned, and not getting timely security updates), (2) Webmaster didn't bother installing Plugin security updates, (3) Webmaster disabled WordPress' own automatic security updates, or (4) Webmaster wasn't smart about his admin password. *or…
If you don't have a developer, you need WordPress or an alternative. The description isn't enough to know if it's something wordpress could handle out of the box. There are places that host and manage WordPress. If you don't install any plugins, WP is secure enough. The difference in a Django hello world and a fresh WordPress install is like a million lines of code.
It may be a typical informational website for a small agency with up to 3-4 tabs, presenting their services, a blog, some contact form. It may not need much animation or interactivity in the beginning. But optimization for mobile may be useful. I've watched a dozen of tutorials on Django/Flask on Pluralsight/FreeCodeCamp building some simple registration sites, even a basic e-shop. For my former Wordpress site I have…
Those that did website with other tech did not get same results, and thinked how to compete or survive.
For security, I use Sandstorm https://sandstorm.io fork of WordPress that generates static websites. But that does not work with some interactive plugins.
WordPress is totally fine and used by many agencies in the real world. It gets a bad rep because it is extremely popular and has low barrier to entry which also attracts more eyeballs and script kiddies trying to break in due to vulnerability in some low quality plugins. But you need to choose based on what your objectives are. WP is quick and give you decent bang for buck especially if you don't need to create somet…
Django has a CMS called Wagtail, which has some really nice features including custom content blocks which allow you to easily create unique looking pages. Wagtail has over 15,000 stars on GitHub, is heavily supported and was created in 2014. It has since been adopted by organizations such as NASA, Google, and the National Health Service. Below is a comparison between Wagtail and Wordpress. https://wagtail.org/wagtai…
WP will be easy to set up, but adding custom functionality can be a real pain, and lots of plugins are of ... questionable quality, especially regarding security. I personally strongly dislike WP, but it does the job so long as you keep things simple and lock down your plugins.
Django will give you a good structure and some core functionality like login out of the box, and the built-in admin site is great, but you'll need to code your functionality. It looks like you're doing some custom code so this approach could work. You could also use something like django-cms or wagtail if want some of the WP functionality.
Or here's a follow-up question: can Django/Flask provide the same functionality/user experience as Wordpress?
I can't imagine ever choosing it over Django with Wagtail. It's a little bit more work to implement and maybe maintain, but the payoffs are well worth the investment.