I am in the process of choosing a web framework for an application that will contain:
Since I know basic PHP as well as Python, I am inclined to use Django since Python is a much better language. However, needing to use ajax (jquery, YUI,...) extensively and a need for some kind of reporting engine (like Jasper Reports for java), steers me away from Django since I do not see many results on google... Just seems PHP has so much more documentation and addons that could assist with my requirements, plus the frameworks such as Symfony or CodeIgniter wrap some of the weaknesses of the PHP language.
Any experience with ajax and reporting and Django? Basically, I want to be convinced that going with Django is the way to go, or warned to stay away from it.
Cheers
Django is actively developed. More and more developers are leaning towards python. PHP is still used for many websites and you may get benefit from it. If you are learning web development from the beginning then I would suggest Django.
Django facilitates faster and secure builds and frees the developer from mundane web development tasks, negating the need to create solutions from scratch. With multiple out-of-the-box features, it lets you create complete applications.
Well, mostly because Django is not a programming language, it's a framework, so it will naturally have trouble replacing something that is not even in the same category.
As Django is written in Python, Python is a very easy-to-learn and use programming language. But Django is a little bit hard to learn as compared to PHP.
We use PHP + Cake. Absolutely avoid Cake. They have painted themselves into a corner by insisting on PHP 4 compatibility. The ad-hoc growth of PHP has made it a bit of a Franken-language. I yearn to use python on a daily basis instead of PHP. This is just a personal opinion, but I encourage you to go the python route.
The PHP documentation is sufficient, but excessive. The user-contributed notes create the impression of bulk, but they are often inconsistent. The official documentation is sometimes lacking, and it merges the PHP versions together. By comparison, the python documentation is thoughtful, well organized, and separated by version.
Ajax and reporting and Django go quite well together, so if you find yourself more comfortable at Python (no surprise there) and would like a well rounded framework to code in - Django is the way to go. It does not get in your way while being pretty full-featured, we have production Ajax sites with heavy reporting (all custom though) and never regretted going with Django over RoR or especially PHP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With