Learning mongoid : build scalable, efficient rails web applications with mongoid / / Gautam Rege ; cover image by Aniket Sawant |
Autore | Rege Gautam |
Pubbl/distr/stampa | Berminghim, England : , : Packt Publishing, , 2013 |
Descrizione fisica | 1 online resource (140 p.) |
Disciplina | 005.276 |
Altri autori (Persone) | SawantAniket |
Collana | Community experience distilled |
Soggetto topico |
Web site development
Web applications - Development |
Soggetto genere / forma | Electronic books. |
ISBN | 1-78216-751-X |
Formato | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:What's so Awesome about Mongoid?; A practical approach using the Sodibee library system; Checking prerequisites; Ruby version; MongoDB version; Setting up Sodibee; Creating models; Testing the models; Introducing Moped; Dynamic attributes; Introducing Origin; Notice about Mongoid 2.x; Mongoid and MongoMapper; Summary; Chapter 2:Mongoid Document Model; The Mongoid document; Basic attributes; Arrays and hashes; Date and time attributes; Serialization with Mongoize
Field aliasesEmbedded documents; Localization; Mass assignment and security; Summary; Chapter 3:Persisting Documents; MongoDB persistence strategy; Binary JSON (BSON); Memory maps, delayed sync, and journals; Creating documents; Updating documents and attributes; Database locks and transactions; Applications and lock versioning; The MongoDB findAndModify method; Atomic attribute updates; Dynamic attributes; Nested attributes; Validations; Callbacks; Summary; Chapter 4:Mongoid Relations; Configuring relationships; Common options for all relations; :class_name; :inverse_of Relation-specific optionshas_one - the one-to-one relation; :as; :autosave; :autobuild; :dependent; :primary_key; :foreign_key; :validate; has_many - the many-to-one relation; :order; :before_add, :after_add, :before_remove, and :after_remove; The belongs_to relation; :index; :polymorphic; :touch; :counter_cache; has_and_belongs_to_many - the many-to-many relation; :inverse_of; Polymorphic relations; embeds_many - embedding many documents; :cascade_callbacks; :store_as; :cyclic; embeds_one - embed one document; embedded_in - resolving children; Embedded polymorphic relations; Summary Chapter 5:Mongoid QueriesOrigins of Origin; Query selectors; Overloading the Symbol class; Mongoid criteria; Queries on arrays and hashes; Scopes; Atomic modifiers; find_and_modify; Querying with indexed fields; Covered queries; The aggregation framework; Geolocation queries; Summary; Chapter 6:Performance Tuning; MongoDB environment; Indexes; Write concern; Compound index; Multikey index; Hashed index; Text index; IdentityMap; n+1 query problem and eager loading; MapReduce and the aggregation framework; Using the aggregation framework; Choosing between MapReduce and the aggregation framework Monitoring query performanceProfiling MongoDB; Statistical data; Hint and currentOp; Good practices and recommendations; Summary; Chapter 7:Mongoid Modules; Timestamping; Versioning; Paranoia; Acts as state machine (aasm); carrierwave; mongoid-audit; devise; Summary; Index |
Record Nr. | UNINA-9910453369303321 |
Rege Gautam | ||
Berminghim, England : , : Packt Publishing, , 2013 | ||
Materiale a stampa | ||
Lo trovi qui: Univ. Federico II | ||
|
Learning mongoid : build scalable, efficient rails web applications with mongoid / / Gautam Rege ; cover image by Aniket Sawant |
Autore | Rege Gautam |
Pubbl/distr/stampa | Berminghim, England : , : Packt Publishing, , 2013 |
Descrizione fisica | 1 online resource (140 p.) |
Disciplina | 005.276 |
Altri autori (Persone) | SawantAniket |
Collana | Community experience distilled |
Soggetto topico |
Web site development
Web applications - Development |
ISBN | 1-78216-751-X |
Formato | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:What's so Awesome about Mongoid?; A practical approach using the Sodibee library system; Checking prerequisites; Ruby version; MongoDB version; Setting up Sodibee; Creating models; Testing the models; Introducing Moped; Dynamic attributes; Introducing Origin; Notice about Mongoid 2.x; Mongoid and MongoMapper; Summary; Chapter 2:Mongoid Document Model; The Mongoid document; Basic attributes; Arrays and hashes; Date and time attributes; Serialization with Mongoize
Field aliasesEmbedded documents; Localization; Mass assignment and security; Summary; Chapter 3:Persisting Documents; MongoDB persistence strategy; Binary JSON (BSON); Memory maps, delayed sync, and journals; Creating documents; Updating documents and attributes; Database locks and transactions; Applications and lock versioning; The MongoDB findAndModify method; Atomic attribute updates; Dynamic attributes; Nested attributes; Validations; Callbacks; Summary; Chapter 4:Mongoid Relations; Configuring relationships; Common options for all relations; :class_name; :inverse_of Relation-specific optionshas_one - the one-to-one relation; :as; :autosave; :autobuild; :dependent; :primary_key; :foreign_key; :validate; has_many - the many-to-one relation; :order; :before_add, :after_add, :before_remove, and :after_remove; The belongs_to relation; :index; :polymorphic; :touch; :counter_cache; has_and_belongs_to_many - the many-to-many relation; :inverse_of; Polymorphic relations; embeds_many - embedding many documents; :cascade_callbacks; :store_as; :cyclic; embeds_one - embed one document; embedded_in - resolving children; Embedded polymorphic relations; Summary Chapter 5:Mongoid QueriesOrigins of Origin; Query selectors; Overloading the Symbol class; Mongoid criteria; Queries on arrays and hashes; Scopes; Atomic modifiers; find_and_modify; Querying with indexed fields; Covered queries; The aggregation framework; Geolocation queries; Summary; Chapter 6:Performance Tuning; MongoDB environment; Indexes; Write concern; Compound index; Multikey index; Hashed index; Text index; IdentityMap; n+1 query problem and eager loading; MapReduce and the aggregation framework; Using the aggregation framework; Choosing between MapReduce and the aggregation framework Monitoring query performanceProfiling MongoDB; Statistical data; Hint and currentOp; Good practices and recommendations; Summary; Chapter 7:Mongoid Modules; Timestamping; Versioning; Paranoia; Acts as state machine (aasm); carrierwave; mongoid-audit; devise; Summary; Index |
Record Nr. | UNINA-9910790830803321 |
Rege Gautam | ||
Berminghim, England : , : Packt Publishing, , 2013 | ||
Materiale a stampa | ||
Lo trovi qui: Univ. Federico II | ||
|
Learning mongoid : build scalable, efficient rails web applications with mongoid / / Gautam Rege ; cover image by Aniket Sawant |
Autore | Rege Gautam |
Pubbl/distr/stampa | Berminghim, England : , : Packt Publishing, , 2013 |
Descrizione fisica | 1 online resource (140 p.) |
Disciplina | 005.276 |
Altri autori (Persone) | SawantAniket |
Collana | Community experience distilled |
Soggetto topico |
Web site development
Web applications - Development |
ISBN | 1-78216-751-X |
Formato | Materiale a stampa |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:What's so Awesome about Mongoid?; A practical approach using the Sodibee library system; Checking prerequisites; Ruby version; MongoDB version; Setting up Sodibee; Creating models; Testing the models; Introducing Moped; Dynamic attributes; Introducing Origin; Notice about Mongoid 2.x; Mongoid and MongoMapper; Summary; Chapter 2:Mongoid Document Model; The Mongoid document; Basic attributes; Arrays and hashes; Date and time attributes; Serialization with Mongoize
Field aliasesEmbedded documents; Localization; Mass assignment and security; Summary; Chapter 3:Persisting Documents; MongoDB persistence strategy; Binary JSON (BSON); Memory maps, delayed sync, and journals; Creating documents; Updating documents and attributes; Database locks and transactions; Applications and lock versioning; The MongoDB findAndModify method; Atomic attribute updates; Dynamic attributes; Nested attributes; Validations; Callbacks; Summary; Chapter 4:Mongoid Relations; Configuring relationships; Common options for all relations; :class_name; :inverse_of Relation-specific optionshas_one - the one-to-one relation; :as; :autosave; :autobuild; :dependent; :primary_key; :foreign_key; :validate; has_many - the many-to-one relation; :order; :before_add, :after_add, :before_remove, and :after_remove; The belongs_to relation; :index; :polymorphic; :touch; :counter_cache; has_and_belongs_to_many - the many-to-many relation; :inverse_of; Polymorphic relations; embeds_many - embedding many documents; :cascade_callbacks; :store_as; :cyclic; embeds_one - embed one document; embedded_in - resolving children; Embedded polymorphic relations; Summary Chapter 5:Mongoid QueriesOrigins of Origin; Query selectors; Overloading the Symbol class; Mongoid criteria; Queries on arrays and hashes; Scopes; Atomic modifiers; find_and_modify; Querying with indexed fields; Covered queries; The aggregation framework; Geolocation queries; Summary; Chapter 6:Performance Tuning; MongoDB environment; Indexes; Write concern; Compound index; Multikey index; Hashed index; Text index; IdentityMap; n+1 query problem and eager loading; MapReduce and the aggregation framework; Using the aggregation framework; Choosing between MapReduce and the aggregation framework Monitoring query performanceProfiling MongoDB; Statistical data; Hint and currentOp; Good practices and recommendations; Summary; Chapter 7:Mongoid Modules; Timestamping; Versioning; Paranoia; Acts as state machine (aasm); carrierwave; mongoid-audit; devise; Summary; Index |
Record Nr. | UNINA-9910825297903321 |
Rege Gautam | ||
Berminghim, England : , : Packt Publishing, , 2013 | ||
Materiale a stampa | ||
Lo trovi qui: Univ. Federico II | ||
|