Here's my 50-foot view of building a Facebook application on Rails. Rails itself is not part of the presentation - you can check out one of my available slides for that. Target: non-techies and people who just want to find out the Facebook API architecture. I wished I could've put more content, like y'know, ACTUAL CODE???
19. A full-stack framework for
developing database-backed
web applications according
to the Model-View-Controller
pattern.
20. A full-stack framework for
developing database-backed
web applications according
to the Model-View-Controller
A bunch of stuff that
makes web developers
happy!
pattern.
- David Heinemeier Hansson http://flickr.com/photos/pragdave/174964316/
31. MacBook-Pro:super_gifts kamal$ rake facebook:setup
(in /Users/kamal/super_gifts)
======================================================
Setting up RFacebook on Rails Plugin
[1] Created config/facebook.yml <-- BE SURE TO CHANGE
THE API KEY AND SECRET
Done.
======================================================
MacBook-Pro:super_gifts kamal$
37. MacBook-Pro:super_gifts kamal$ rake facebook:tunnel:start
(in /Users/kamal/super_gifts)
======================================================
Tunneling deploy.ror.com.my:8080 to 0.0.0.0:3000
NOTES:
* ensure that you have Rails running on your local machine at port 3000
* once logged in to the tunnel, you can visit http://deploy.ror.com.my:8080 to
view your site
* use ctrl-c to quit the tunnel
* if you have problems creating the tunnel, you may need to add the following
to /etc/ssh/sshd_config on your server:
GatewayPorts clientspecified
* if you have problems with deploy.ror.com.my timing out your ssh connection,
add the following lines to your '~/.ssh/config' file:
Host deploy.ror.com.my
ServerAliveInterval 120
======================================================
38. MacBook-Pro:super_gifts kamal$ ./script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for
options
[2008-03-14 16:38:07] INFO WEBrick 1.3.1
[2008-03-14 16:38:07] INFO ruby 1.8.6 (2007-09-23)
[i686-darwin9.0.0]
[2008-03-14 16:38:07] INFO WEBrick::HTTPServer#start:
pid=68088 port=3000
67. Hosting - Joyent Accelerator for Facebook Developers
http://www.joyent.com/developers/facebook/
Facebook Developers Wiki
http://wiki.developers.facebook.com/
FBML Test Console
http://developers.facebook.com/tools.php?fbml
API Test Console
http://developers.facebook.com/tools.php?api
Ruby on Rails
http://www.rubyonrails.org/
rfacebook
http://rfacebook.rubyforge.org/
facebooker
http://facebooker.rubyforge.org/