Why Use Rails by Dr Nic

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite & 1 Group

    Why Use Rails by Dr Nic - Presentation Transcript

    1. They Laughed When I Learned Ruby on Rails But When I Started to Build Web Applications... Dr Nic Williams
    2. • 10 000 users • 3 months • Re-used their global authentication system
    3. • 600 users of 1500 RailsConf attendees • First release in 5 days
    4. Websites are just text
    5. Google homepage <html> <head> <title>Google</title> </head> <body> <img src=\"/intl/en_ALL/images/logo.gif\"> <form action=\"/search\" name=f> <input name=q title=\"Google Search\"> <input name=btnG type=submit value=\"Google Search\"> <input name=btnI type=submit value=\"I'm Feeling Lucky\"> </form> </body> </html>
    6. Browsers don’t care what server you use
    7. Browsers don’t care what operating system
    8. Browsers don’t care what programming language
    9. Browsers don’t care. They just want text
    10. Pick what you like best
    11. Real-world Developer problem
    12. Developers are humans
    13. Happy developers do more good things
    14. Why Rails?
    15. Convention over Configuration
    16. class Book < ActiveRecord::Base validates_presence_of :title has_many :orders belongs_to :author, :class_name => \"User\" end
    17. class StoreController < ApplicationController def show @book = Book.find_by_permalink(params[:id]) end end http://mysite.com/store/drnic-book-on-rails
    18. DRY Don’t Repeat Yourself
    19. class Book < ActiveRecord::Base end Where are the attributes? Where is the configuration?
    20. Change is instant
    21. Use it, break it, fix it, trash it, change it
    22. Why is Rails special?
    23. Ruby (no more Java) Introspection Open classes Execute code in class definitions
    24. #9 popular language http://www.tiobe.com/index.htm?tiobe_index
    25. One language for everything ActiveRecord Controller HTML helpers Ajax
    26. Open Source. • 2200 participants • commiters, patchers, commenters, +1ers http://dev.rubyonrails.org
    27. app models Every controllers application views looks the config same db test vendor
    28. Flexibility is overrated
    29. Constraints are liberating
    30. All this creates happiness, plus better applications
    31. Downsides?
    32. Bad architecture is still bad architecture Its just for websites Java is evolving Groovy and Grails, + Open sourced Java
    33. Getting started • www.rubyonrails.org • www.peepcode.com - $9 videos • www.drnicacademy.com - Australian training

    + Dr Nic WilliamsDr Nic Williams, 3 years ago

    custom

    1450 views, 1 favs, 0 embeds more stats

    Ruby on Rails is a leading web development framewor more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1450
      • 1450 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 34
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events