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
×

credits: http://www.flickr.com/photos/dotdoubledot/ Katsushika Hokusai Delacroix Rails3: Stepping off of the golden path

16 570 vues

Publié le

credits:
http://www.flickr.com/photos/dotdoubledot/
Katsushika Hokusai
Delacroix
Benetton
http://www.rubyist.net/~matz/slides/oscon2003
Matt Groening
http://www.flickr.com/photos/derricksphotos/
http://www.flickr.com/photos/bogdansuditu
http://www.flickr.com/photos/77096872@N00/2547160291/
http://www.flickr.com/photos/edvvc/1972546648/
http://www.flickr.com/photos/amagill/34762677/
http://www.flickr.com/photos/celinesphotographer/360918623/


Wednesday, May 6, 2009

Publié dans : Technologie
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici
  • 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

×