bunker time: web frameworks
Yesterday, a new bunker took place. This time I met r0sk at home, we got some pizza and after some talking we began the bunker itself.
The proposal for this bunker was to create a simple bookmarks manager tool. It had to be a simple webapp that will allow people to manage their bookmarks in an easy way.
After thinking a little bit about the webapp background, r0sk began to create it using a well-known php framework, cakephp . He showed me how to create a cake project, the art of baking and how to generate a CRUD interface in an automatic way. He played a little bit with cake's views and its template system. He downloaded a layout/design from freecsstemplates and he added it to the webapp.
Somehow later, it was my turn, and I began to create the webapp on top of django, a well-known web development framework based on python. I began explaining him some basic differences with php-based frameworks, just to show him how to create a django site and a django app. After that, I followed the usual procedure, editing the settings file, running syncdb, then adding the admin interface and finally creating some models, views and templates and adapting the freecsstemplates design to my app.
Unfortunately, time was over, and r0sk had to leave, so we ended the bunker before finishing the job, but we will get back to it soon.
Conclusion: cakephp is a nice framework, it doesn't seem to be difficult to learn, and it does allow you to automate a lot of work when talking about web development. But... I have to admit that I prefer django. Its pythonic style is worth a test (at least a test)