Web Development is now getting dominated by frameworks. After the initial hype of Rails, Python based frameworks are getting more popularity especially after the release of Google App Engine. Nobody seems to be interested in building websites using PHP, even if they are highly experienced in PHP. This could mean two things:
I have nothing against Wordpress. In fact, it is one of the easiest tools to deploy. But with tools like cPanel, deployment could be no longer a deciding factor for blogging platforms.
Coming back to the topic of Python Web Frameworks, there is a multitude of options. I have used some of these framworks and found them to be ‘pythonic’ in different ways:
Pylons looks most appealing to me. So far it looks like the underdog largely overshadowed by Django’s presence lacking the marketing or love it deserves. A few weeks back I would have complained about the lack of Pylons tutorials on the web. A google search brought up several links pointing to the wiki tutorial. As many have pointed out, the wiki tutorial is too long and complicated for beginners. It would easily put off a beginner. It took me quite some time to realise that the best place to start learning Pylons is the Pylons Documentation itself and the best Pylons tutorial is the Flickr Search. Going through the documentation is almost feels like reading a book with every concept explained in detail.
Pylons currently seems to the having an edge over Django for enterprise application due to its well tested interface with SQLAlchemy. Django seems to be having a fairly recent branch for SQLAlchemy integration. Pylons typically uses Python eggs and VirtualEnv for deployment which is might seem a little complex to beginners, but once you try it once it is actually quite convenient. Most of the installation can be done from the command-line and it will be nearly an independent sandbox for Pylons development. However it might take sometime to understand other aspects of using python eggs such as uninstallation and creation of new eggs. I haven’t had much success with making a portable version of my Pylons installation on Windows though
My favourite templating engine is Genshi because it is very designer friendly(which also means it works with the tools a Designer has, not just that it is easy for a Designer to learn). I can easily do all HTML designing directly on my Genshi templates because they are valid HTML or XML documents. Almost all of Genshi’s logic can be hidden away as attributes which is a great idea. In fact, the templates are even valid XML which makes the creation of valid HTML pages a much more natural experience. Almost all XML tools and even HTML tools like Tidy will work flawlessly on Genshi templates due to these reasons.
Once you get used to Genshi’s templates, you might even use them for static web site designing. I am sure it will save you a lot of time whenever those last minute ’sidebar redesigns for every page’ pops up.
To stay updated with the blog, please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.
I hate spam as well, so I promise you that you will not be spammed.
Bookmark this to del.icio.us | Digg | Furl | Netscape | Google Bookmarks | Technorati | reddit |
4 Responses
Perl Coding School » Blog Archive » perl tutorial [2008-06-26 23:27:21]
June 27th, 2008 at 5:07 am
1[...] Learning Pylons Through Tutorials By Arun bhai ArunRocks - http://www.arunrocks.com/blog [...]
Noah Gift
June 27th, 2008 at 10:03 am
2Very nice write up of the current state of things. I agree with you.
abhilash
August 9th, 2008 at 11:36 pm
3hai..thanks arun..lemme giv a try at pythons..thanks for the info bro..[:)]
marco
February 6th, 2009 at 6:35 am
4I’ve just found your blog from this site http://mvcforge.com/pylons/Learning-Pylons-Through-Tutorials-by-ArunRocks I just started studying pylon. Wishing you have more articles about that. Thanks
RSS feed for comments on this post · TrackBack URI
Leave a reply
ArunRocks RSS feed
Categories
Recent Posts
Recent Comments
Meta
Bookmarks
My Twitter
Site Search
ArunRocks is proudly powered by WordPress - BloggingPro theme by: Design Disease