Archive for March 2008

Tutorial: 10-Minute Quick Start Guide for Facebooker – Create a Facebook App Using Rails in 7 Easy Steps

10-Minute Quick Start Guide for Facebooker – Create a Facebook App Using Rails in 7 Easy Steps by Gerald Bauer

1. Create a Rails application
2. Install the Facebooker Rails plugin
3. Log on to Facebook and set up a new application
4. Add your API key and secret to the facebooker.yml configuration file
5. Create Rails controller (and view skeletons)
6. Configure default route and remove public/index.html page
7. Use Facebooker to get your name, profile pic and status

Comments

Presentation: How to Avoid Hanging Yourself with Rails

How to Avoid Hanging Yourself with Rails from rowanhick.com

Some points following on from this:
- YMMV, times were produced using a consistent dataset, results are going to be all over the place dependent on columns, table size, indexes, ordering etc etc.
- By testing with real (/faked) data, you can avoid (to some degree) the premature optimisation problem, you’ll see what your app is going to perform like closer to a real world production environment.
- Word on the street is Datamapper + Merb is wickedly fast, I’m going to run a test with the same dataset just to see what the difference is like
- There were no MySQL optimisations preformed, just a vanilla MySQL install.
- I’m not being negative on the core team about the select/include problem, it’s a hard problem to fix, I’m just making people aware of it so you can save the banging-of-head-on-desk problem others of us have suffered.
- If the presentation bored you to tears, you know it all already, live in Toronto, and are bored in your job – we may have a position for you. Talk to me…

Comments