[BangPypers] which framework is better pylon or django

Sanjaya Kumar Patel skpatel20 at hotmail.com
Tue Sep 9 15:10:35 CEST 2008

Hi Diabolic,

> promotion. I did hope that your summary would let me know key reasons
> why you picked up TG, in technical words itself.

Here I go, trying to be more specific and technical this time. :)

1. TG has SQLAlchemy readily integrated. The ORM of Django or RoR is suitable for new web applications, but it has got many limitations as compared to SA. For example, ORM of Django or RoR does not support composite primary keys. Hence, for complex application development or for integrating with already existing databases, I would highly recommend SA. TG and Pylons support SA, but Django does not.
2. While I started using TG, I don't think Django was having builtin AJAX support. TG, on the other hand, supports AJAX development since long.
3. Pylons is a very good framework, but it does not recommand any specific default components. Because TG is more definitive in terms of defaults, you get much more components on the top of TG to make the life of a business application developer smooth. This article is really useful on deciding TG or Pylons -> http://groups.google.com/group/turbogears/browse_thread/thread/02ebc86c38a4075a/e32a4b4a3dd393c4?#e32a4b4a3dd393c4 
4. TG2 is built on top of Pylons. Pylons is quite advanced in terms of technology compared to Django. Another reference here -> http://nrcfosshelpline.in/code/wiki/AcademicPython (see Pradeep's observations).

One of the references that I was giving, http://sanjaypatel.blogspot.com/, is actually my article which I blogged one year back, which elaborates these more. I think it stills holds very true.

These are my views. Would be happy to listen to different views.


Movies, sports & news! Get your daily entertainment fix, only on live.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20080909/7a46a708/attachment-0001.htm>

More information about the BangPypers mailing list