Ruby on Rails for media

  • 929 views
Uploaded on

Presentation i gave at the Opensource Software seminar at the European Broadcaster Union in october 2007

Presentation i gave at the Opensource Software seminar at the European Broadcaster Union in october 2007

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
929
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
23
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Werner Ramaekers VRT Medialab 1
  • 2. Wired - April 2006 2
  • 3. “Ruby on Rails is an open- TM source web framework that’s optimized for programmer happiness and sustainable productivity.” 3 3
  • 4. Convention Configuration 4
  • 5. 5
  • 6. 6
  • 7. 7
  • 8. class Post < ActiveRecord::Base belongs_to :weblog has_many :comments has_one :author, :class => “Person” end 8
  • 9. class WeblogController < ActionController def show @post = Post.find(params[:id]) end end 9
  • 10. Create Read Update Delete REpresentational State Transfert 10
  • 11. HTTP GET POST PUT DELETE ruby find create update destroy SQL SELECT INSERT UPDATE DELETE 11
  • 12. class PeopleController < ActionController # POST /people def create() end # GET /people/1 def show() end # PUT /people/1 def update() end # DELETE /people/1 def destroy() end end 12
  • 13. Demo 13
  • 14. CBS has partnered with sites including AOL, Joost, Sling Media, YouTube, MSNBC and Bebo Viewership for CBS material subsequently skyrocketed from 24 million in May to 134 million in July 2007 http://www.wired.com/techbiz/media/news/2007/10/nbc_itunes 14
  • 15. 15