1,882 karma · joined March 29, 2007
>> if false
>> a = 1
>> end
>> defined? a
=> "local-variable"
>> a
=> nilltraceing mysql_send_query() gives you all this information in one line.
Douglas Crockford is coming.. didn't he invent JSON?
I use both slicehost and linode, and definitely recommend both!
Linode.com is another great VPS with a better admin interface.
Ramaze, on the other hand, is very Ruby oriented in its implementation- it follows KISS and POLS religiously. It does not force any convention on you, you are free to choose your own directory structure and there's no configuration files involved.
Ramaze allows you to write an entire web-app in one file (see http://source.ramaze.net/source/examples/facebook.rb and http://source.ramaze.net/source/examples/ramaise.rb), which is not possible with Rails or Merb. Merb is great for RESTful applications and handles content negotiation very elegantly (with a simple 'provides :json, :xml' in your controller).
instead of committing files, darcs record lets me pick and choose what changes to include as part of a patch, resulting in cleaner patches which actually encompass a logical change to the code.
i've also heard many good things about git
- ramaze, the simple, modular web-framework (ramaze.net)
- sequel as the database ORM layer (http://code.google.com/p/ruby-sequel/wiki/CheatSheet)
- mongrel as the webserver (monkey patched with swiftiply to use eventmachine: http://swiftiply.swiftcore.org/mongrel.html)
- facebooker for facebook api calls (http://chadfowler.com/2007/9/5/writing-apis-to-wrap-apis)
- haml for html templating (http://haml.hamptoncatlin.com/)
- sass for css templating (http://haml.hamptoncatlin.com/docs/sass)
- analogger for logging (http://analogger.swiftcore.org/)
- postgres for db backend (and sqlite for dev)
That said, it seems the only apps that do take off on facebook are uninspired concepts such as Vampires, Zombies and KissMe.