bunker time: web frameworks
August 2022
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
This site is an effort to share some of the base knowledge I have gathered through all this years working with Linux, FreeBSD, OpenBSD, Python or Zope, among others. So, take a look around and I hope you will find the contents useful.
Recent Entries
Recent Comments
Recent Trackbacks
OpenBSD (9 items)
BSD (0 items)
FreeBSD (19 items)
Linux (3 items)
Security (3 items)
Python (22 items)
Zope (13 items)
Daily (144 items)
e-shell (9 items)
Hacks (14 items)
PostgreSQL (3 items)
OSX (8 items)
Nintendo DS (0 items)
enlightenment (0 items)
Apache (3 items)
Nintendo Wii (1 items)
Django (24 items)
Music (12 items)
Plone (7 items)
Varnish (0 items)
Lugo (2 items)
Sendmail (0 items)
europython (7 items)
Cherokee (1 items)
self (1 items)
Nature (1 items)
Hiking (0 items)
uwsgi (0 items)
nginx (0 items)
cycling (10 items)
Networking (1 items)
DNS (0 items)

Syndicate this site (XML)

RSS/RDF 0.91

04 enero

bunker time: web frameworks

or how to spend some time with your friends...

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)

Posted by wu at 00:00 | Comments (0) | Trackbacks (0)
<< Rewriting requests based on ip addresses | Main | late night coding >>
Re: bunker time: web frameworks

It was a good -and positive- bunker time. I'd probed Django for myself before that night, but it's easier when someone shows you the right way. We've to finish that little webapp in a second bunker time, isn't it? ;).

Posted by: r0sk at enero 08,2008 13:04
Please send trackback to:http://blog.e-shell.org/26/tbping
There are no trackbacks.
Post a comment