• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Avancées dans la boîte à outils Ruby MongoFR 2011
 

Avancées dans la boîte à outils Ruby MongoFR 2011

on

  • 1,574 views

 

Statistics

Views

Total Views
1,574
Views on SlideShare
1,573
Embed Views
1

Actions

Likes
0
Downloads
2
Comments
0

1 Embed 1

http://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Avancées dans la boîte à outils Ruby MongoFR 2011 Avancées dans la boîte à outils Ruby MongoFR 2011 Presentation Transcript

    • Avancées dans la boîte à outils Ruby Yann Klis, Novelys #mongofr, 23/03/2011, @lacantine
    • Avancées dans la boîte à outils du développeur Ruby Yann Klis, Novelys #mongofr, 23/03/2011, @lacantine
    • #mongofr
    • Yann Klis Novelys, Strasbourg Applications web Ruby/Rails/MongoDB/AWS MySQL, Postgresql, Sphinx
    • MasterSieve Seat (CRM & leads management) iDocus Reunik Expériences avec MongoDB
    • Base de données Orienté Document Sans schéma NoSQL Requêtes complexes Map/Reduce MongoDB En bref
    • Phpmyadmin (PHP)
    • RockMongo (PHP)
    • gem install mongo (mongo+bson+bson_ext) Driver Ruby Officiel Gem
    • gem install em-mongo (eventmachine+bson+bson_ext) Autre Driver Ruby Gem
    • mongo & mongo Console & Gem > db.leads.find({city: "BEGLES"}) > database.collection("leads").find(:conditions => {"city" => "BEGLES"})
    • Object Document Mapper (ODM) Mongoid, MongoMapper, etc. Mapper des objets Anciennement ORM
    •  
    •  
    •  
    •  
    • MongoMapper ↓ Mongoid ↓ ??? Our experience
    • Mongoid Déclaration et associations
    • Mongoid Object lifecycle hooks
    • Mongoid Validations, scope, etc
    • Gems activemodel (!) devise, :version => ”1.1rc1” state_machine, :version => ”>= 0.9.4” carrierwave rspec-rails, :version => ”>= 2.0.0” factory_girl_rails shoulda mongoid_slug mongoid-paperclip mongoid_session_store mongo-i18n translator transitions static_list sunspot
    • Gems state_machine
    • Plugin production_chain (shameless plug) https://github.com/novelys/production_chain cap staging db:dump_and_restore cap production db:dump_and_restore cap staging db:dump_and_restore FILE=mongoid cap production db:dump_and_restore FILE=mongoid
    • Gem (soon !) dba_sequence (shameless plug)
    • MongoDB and i18n are in a boat http://www.nicolaracco.com/en/articles/i18n-for-rails-app-with-mongodb
    • Conclusion Last year A lot of things were in a state of flux This year A lof of things are in a state of flux But things are improving Knowledge is increasing in the Ruby community
    • Questions ? http://twitter.com/yannski http://blog.strasslab.net [email_address]