zrusilla ([info]zrusilla) wrote,
@ 2005-12-03 19:46:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Snakes and Rubies
was a conference to showcase two new web development frameworks, Django and Ruby on Rails. These are two web development frameworks written in Python and Ruby, respectively.

Two of each projects' main developers, David Heinemeier Hansson of RoR and Adrian Holovaty of Django, now live in Chicago. Each gave some history, philosophy and some actual code to ponder.

Django was developed to enable "web development with journalism deadlines", extremely fast turn-around times of hours or days, not months. Towards that end they've boxed up a lot of functionality which is at a higher level than RoR wants to go. A good example of this was the dynamic admin interface; a word or two code enables an entire web-based front end for a database table-backed model object. RoR admires this but considers it outside the scope of what they're doing.

Also, RoR considers i18n to be at the business logic level, above the level of what they provide, whereas Django has been internationalized 19 different ways: "We have Welsh!" brags Adrian.

David's focus was to take the pain and ugliness out of development, to leverage the terseness of Ruby, and to encourage best practices, such as encouraging creating test cases. David came to Ruby from PHP and hates the latter with a passion. "PHP is...how do we say...horrible. It is from the devil. It encourages you to do the bad thing. Ruby is the angel on the other shoulder, inviting you to do the right thing." The Django team ported Lawrence.com from PHP to the Python-based Django, and there is no love lost there, either. I felt entirely vindicated, having recently survived the horror of badly-written PHP.

RoR includes Ruby wrappers for Ajax, which eliminate the pain (in David's view) of writing any Javascript. There was a lively back-and-forth on whether programmatically generating your JS from your back-end framework was a good thing.

Another lively back-and-forth was on the templating issue. Django has its own templating language; RoR does not. Both sides cleave to the traditional views on the topic. Adrian: Don't give designers a full-featured programming language. David: No such thing as eliminating logic from your view; the point is don't put in any business logic; Ruby works fine in templates too. Adrian claims his designers developed their templates which David greeted with some incredulity.



There was a lengthy Q&A afterwards. I asked about platforms. David is a fan of FastCGI. He doesn't like the embedded interpreter concept and found mod_ruby problematic. Basecamp and, I think, Backpack, run on Apache + FastCGI and another one of 37 signals' apps runs on lighttpd + FastCGI.


I took the occasion to do some intense networking to drum up sponsorships for YAPC, to hunt for a job, to pull together some more women for our devchix get-togethers, and simply to greet old and new friends.



(Post a new comment)

FastCGI
[info]ianbicking
2005-12-13 12:10 am UTC (link)
I don't think David is a "fan" of FastCGI, just of the model of a application process separate from the Apache process, and FastCGI is one way of doing that. But the actual implementation of FastCGI (especially the one in Apache) isn't that nice.

(Reply to this)

xanax exercise equipment
(Anonymous)
2008-02-04 03:50 pm UTC (link)
We are selling cheap xanax.
xanax - overnight shipping.
xanax picture
difference klonopin xanax


xanax drug test time in system
xanax

xanax withdrawal
buy xanax without prescription
xanax g3722

(Reply to this)

xanax g3722
(Anonymous)
2008-02-09 02:18 pm UTC (link)
Delivery of xanax.
I have found the most reliable xanax on net.
2mg xanax
buy xanax without prescription in usa


order xanax
xanax exercise equipment

xanax withdrawal
xanax ambien hydrocodone
purchase xanax

(Reply to this) (Thread)

zbxXjUSYJwoeemdHAx
(Anonymous)
2009-02-03 03:44 pm UTC (link)
ABMRoj djG39Bsk4chHy2M0xpk2Fv

(Reply to this) (Parent)

jvLHCmuLhevFES
(Anonymous)
2008-03-05 08:42 am UTC (link)
VhQdTM hi nice site man thx http://peace.com

(Reply to this)

buy cialis now
(Anonymous)
2008-03-19 07:09 am UTC (link)
How do you do...
http://renerpal.com
Excellent forum, added to favorites!
Congratulations!

(Reply to this)

OxILTFwzfGOnjZJKln
(Anonymous)
2008-10-15 02:33 am UTC (link)
yYaaPs gkosir7v2bcakf8Gsbv420Vs

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…