Rails Conf Europe 2007 - Day 3
By arungupta on Sep 19, 2007
Day 3 started with reminders about RubyConf 2007 and upcoming Euruko. Marcel and Koz (from Rails core team) gave the keynote talking about the best practices for Rails (theRailsWay.com). Here are some of the tips they explained:
- If a controller has more than 6 or 7 actions, and each action > 6-7 lines then there is something wrong. More details here.
- Associations proxies are very handy, more details here.
- Use named callbacks to improve maintainability and readability of the code. This also help improve clarity of thoughts. The value of expressive interfaces is important as the size of applications grow bigger. More details here.
with_scopeto subset a model's collection - More details here.
The Sun booth was swamped today as well, just like yesterday. There were some great interactions and I do plan to follow up on them.
I missed the "Meet the JRuby team" BoF yesterday night. But I was very excited to know that Ola Bini made a statement in the bof that amongst all the free and fee-based Application Servers, GlassFish is the best. GlassFish V2 was released earlier this week and read all about it's capabilities here.
Craig and Nick's talk on Rails Hydra was SRO with even all the floor space occupied and was attended by DHH. Brian mesmerized the audience with NetBeans Ruby magic in his talk. There were lots of users who came by the booth afterwards and were very happy with the NetBeans Ruby support. All the presentations will be available here.
And the food of course was quite a blast, the desserts were completely outstanding!
We'll see you at another conference now.
Here are some useful entries (with numerous pointers on screencasts, blogs, tips & extensive feature sets) to get you started with JRuby on Rails, NetBeans IDE, GlassFish and jMaki: