Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Rails3




                                       RailsConf2009 - matt aimonetti
                     step off of
        ...
WHO AM I?
                         matt aimonetti

Wednesday, May 6, 2009
“morally loose, cheese eating surrender monkey”




                           WHO AM I?
                           matt a...
“morally loose, cheese eating surrender monkey”
                                                       Ted Han




       ...
“morally loose, cheese eating surrender monkey”
                                                       Ted Han
           ...
“morally loose, cheese eating surrender monkey”
                                                       Ted Han
           ...
“morally loose, cheese eating surrender monkey”
                                                       Ted Han
           ...
“morally loose, cheese eating surrender monkey”
                                                       Ted Han
           ...
Rails3




                                       RailsConf2009 - matt aimonetti
                     step off of
        ...
MERGE
Wednesday, May 6, 2009
Wednesday, May 6, 2009
Wednesday, May 6, 2009
Wednesday, May 6, 2009
RUBY




                         oscon 2003
Wednesday, May 6, 2009
RUBY




Wednesday, May 6, 2009
RUBY




Wednesday, May 6, 2009
RUBY




Wednesday, May 6, 2009
Wednesday, May 6, 2009
Wednesday, May 6, 2009
RUBY ON RAILS


                          Convention over Configuration

                              Don't repeat yoursel...
LARGE ADOPTION




Wednesday, May 6, 2009
SCHISM




Wednesday, May 6, 2009
Performance

                         Agnosticism



Wednesday, May 6, 2009
Adobe
                              Wikimedia
                           sproutcore/Apple
                         AT&T/ye...
SPLIT RUBY COMMUNITY




                           ...
Wednesday, May 6, 2009
DRAMA




                           ...
Wednesday, May 6, 2009
SAT DOWN & TALKED




                                 ...
Wednesday, May 6, 2009
DIFFERENT PERSPECTIVES




Wednesday, May 6, 2009
SAME GOAL




Wednesday, May 6, 2009
MERGE
Wednesday, May 6, 2009
Wednesday, May 6, 2009
Wednesday, May 6, 2009
WHAT DO YOU GET?




Wednesday, May 6, 2009
Wednesday, May 6, 2009
vaporware
Wednesday, May 6, 2009
WHAT ARE YOU GOING TO
                    GET


                          improved
                         performance


...
WHAT ARE YOU GOING TO
                    GET


                         increased modularity



Wednesday, May 6, 2009
WHAT ARE YOU GOING TO
                    GET


                         agnosticism



Wednesday, May 6, 2009
WHAT ARE YOU GOING TO
                    GET


                         public API



Wednesday, May 6, 2009
WHAT ARE YOU GOING TO
                    GET



                         mountable apps



Wednesday, May 6, 2009
WHAT DOES IT REALLY
                               MEAN?



                                  Rails 2



Wednesday, May 6,...
WHAT DOES IT REALLY
                               MEAN?



   Rails 3



Wednesday, May 6, 2009
CECI N’EST PAS LA RÉALITÉ



                         html, xml, json, js




                                assert_equal...
CECI N’EST PAS LA RÉALITÉ

                                       ERB




                         html, xml, json, js



...
CECI N’EST PAS LA RÉALITÉ

                                       ERB




                         html, xml, json, js



...
CECI N’EST PAS LA RÉALITÉ

                                       ERB
                                                    ...
CECI N’EST PAS LA RÉALITÉ

                                       ERB
                                                    ...
RAILS 3 DEFAULT STACK


   • ORM: ActiveRecord

   • JS: Prototype

   • Templating: ERB

   • Testing: Test::Unit




Wed...
RAILS 3 - DEFAULT STACK



                         html, xml, json, js




                                assert_equal(t...
RAILS 3 - DEFAULT STACK

                                       ERB




                         html, xml, json, js




 ...
RAILS 3 - DEFAULT STACK

                                       ERB




                         html, xml, json, js




 ...
RAILS 3 - DEFAULT STACK

                                       ERB
                                                      ...
RAILS 3 - DEFAULT STACK

                                       ERB
                                                      ...
WHAAAT?



Wednesday, May 6, 2009
NO DRASTIC CHANGES FOR
          THE END USERS



Wednesday, May 6, 2009
RAILS WAY



Wednesday, May 6, 2009
RAILS WAYS



Wednesday, May 6, 2009
Wednesday, May 6, 2009
Wednesday, May 6, 2009
Wednesday, May 6, 2009
GAIN FLEXIBILTY
Wednesday, May 6, 2009
LESS OPINIONATED
Wednesday, May 6, 2009
WE ARE NOT ALL THE SAME
Wednesday, May 6, 2009
Wednesday, May 6, 2009
¿WHEN?




Wednesday, May 6, 2009
Use default stack?




                                is it a                           Is there a             Use the de...
OPTIONS




Wednesday, May 6, 2009
JAVASCRIPT FRAMEWORKS




Wednesday, May 6, 2009
TEMPLATING ENGINES




Wednesday, May 6, 2009
OBJECT RELATION MAPPER




Wednesday, May 6, 2009
ORM
     Databases
         scalar values


                         da
                         ta


                    ...
RAW SQL


                         SELECT *
                         FROM Book
                         WHERE price > 100....
ACTIVERECORD


   Book.all 
       :conditions => [quot;price > ?quot;, 100.00],
       :order      => 'title'




Wednesd...
DATAMAPPER


   Book.all 
       :price.gt => 100.00,
       :order    => [:title.asc]




Wednesday, May 6, 2009
SEQUEL



   Book.find{|b| b.price > 100.00}.order(:title)




Wednesday, May 6, 2009
COUCHREST



                     Book.by_price(:startkey => 100.01)




Wednesday, May 6, 2009
MANY MORE ORMS/DSLS




Wednesday, May 6, 2009
RUBY IS AWESOME




Wednesday, May 6, 2009
DATAMAPPER




Wednesday, May 6, 2009
DATAMAPPER


@parent = Parent.find_by_name(quot;Mattquot;)

@parent.children.each do |child|
  @parent.object_id.should ==...
DATAMAPPER


@parent = Parent.find_by_name(quot;Mattquot;)

@parent.children.each do |child|
  @parent.object_id.should ==...
DATAMAPPER


@parent = Parent.find_by_name(quot;Mattquot;)

@parent.children.each do |child|
  @parent.object_id.should ==...
DATAMAPPER

                         does what ActiveRecord does...
                                   but differently



...
DATAMAPPER




                                                               Copyright - Merb in Action - Manning
       ...
DATAMAPPER


                • procrastination   as a value

                • Lazy   Loading

                • Strategic...
DATAMAPPER
                         students = Student.all
                         students.each do |student|
           ...
ACTIVERECORD
                         students = Student.all
                         students.each do |student|
         ...
DATAMAPPER
                         students = Student.all
                         students.each do |student|
           ...
MULTIPLE REPOS
                production:
                  adapter:     mysql
                  encoding:    utf8
      ...
MULTIPLE REPOS



           Article.copy(:default, :nightly_backup,
                        :created.gt => 1.day.ago )


...
MULTIPLE REPOS
           class Page
             include DataMapper::Resource

                  property :id, Serial
   ...
QUERY::PATH
                         Find all people
                           with an address that
                     ...
ADAPTERS

                            RDBMS
                           file system
                              IMAP
     ...
SEQUEL


   • Prepared               Statements

   • Sharding

   • highly              customizable SQL work

   • high ...
HIBERNATE



   • ActionORM

   • JRuby




Wednesday, May 6, 2009
NON RDBMS SYSTEMS


   • AppEngine::Datastore

   • CouchDB              with CouchRest or other DSL

   • Redis, Tokyo   ...
RAILS EXTREME


                          only for a few of you




Wednesday, May 6, 2009
CUSTOMIZE RAILS TO THE
                     EXTREME




Wednesday, May 6, 2009
CREATE YOUR OWN RAILS


    • define              your own file structure

    • define              your own router DSL

   ...
EXTEND
                         ACTIONCONTROLER

       class Presentation < ActionController::Http
         def index
   ...
EXTEND
                         ACTIONCONTROLER
         def action(&blk)
           Class.new(ActionController::Http) do
...
¿FUTURE?




Wednesday, May 6, 2009
+

                             +
                                 CouchDB
Wednesday, May 6, 2009
credits:
                   http://www.flickr.com/photos/dotdoubledot/
                               Katsushika Hokusai
  ...
Thanks
                                 Heidi Vega
                                 Rails team
                           ...
Prochain SlideShare
Chargement dans…5
×

Adobe Wikimedia sproutcore/Apple AT&T/yellowpages.com powerset/microsoft Rails3: Stepping off of the golden path

16 482 vues

Publié le

Adobe
Wikimedia
sproutcore/Apple
AT&T/yellowpages.com
powerset/microsoft
...
Wednesday, May 6, 2009

Publié dans : Technologie
  • DOWNLOAD THI5 BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • @guest7136aac I was explaining that with the new potential of Rails3, we can hope for a new generation of desktop application. Imagine a native desktop application written in Ruby with Rails and something like CouchDB embedded. You could develop p2p applications communicating between each others and with a central server.

    Because Rails is now able to be bent in a lot of new interesting ways, we can easily imagine new ways of using this powerful and awesome framework. If you had on top of that the fact that new Ruby implementation seems to improve speed and memory consumption, I think we will discover lots of new interesting way to leverage the Rails power.
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • This is not the video of the talk, just the slides.
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

×