Pro Active Recordhelps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. ActiveRecord, part of the magic that makes the Rails framework so powerful and easy to use, is the model element of the Rails Model-View-Controller framework. It's an object-relational mapping library enabling you to interact with databases from both Ruby and Rails applications. Because ActiveRecord is configured with default assumptions that mesh perfectly with the Rails framework, Rails developers often find they hardly need think about it at all. However, if you are developing in Ruby without Rails, or are deploying against legacy databases designed without Rails in mind, or you just want to take advantage of database-specific features such as large objects and stored procedures, you need the in-depth knowledge of ActiveRecord found in this book. In Pro Active Record, authorsKevin Marshall,Chad Pytel, andJon Yurekwalk you through every step from the basics of getting and installing the ActiveRecord library to working with legacy schema to using features specific to each of todays most popular database engines, including Oracle, MS SQL, MySQL, and more! You'll come to a deep understanding of ActiveRecord that will enable you to truly exploit all that Ruby, Rails, and your chosen database platform have to offer. Table of Contents Introducing Active Record Active Record and SQL Setting Up Your Database Core Features of Active Record Bonus Features Active Record Testing and Debugging Working with Legacy Schema Active Record and the Real World

Détails sur le produit

Reliure : Paperback

304 pages

Dimensions : 2.3cmx17.5cmx23.1cm

Poids : 589.7g

Editeur :ApressParu le : 14 septembre 2007

ISBN :1590598474

EAN13 : 9781590598474

Langue : Anglais

D'autres livres de Chad Pytel

The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems As developers worldwide have adopted the powerful Ruby on Rails web framework, many have fallen victim to common mistakes that reduce code quality, performance, reliability, stability, scalability, and maintainability....

Pro Active Recordhelps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. ActiveRecord, part of the magic that makes the Rails framework so powerful and easy to use, is the model element of the Rails Model-View-Controller framework. It's an object-relational mapping library enabling you to interact with databases from both Ruby and Rails applications. Because ActiveRecord is configured with default assumptions that mesh perfectly with the Rails framework, Rails developers often find they hardly need think about it at all. However, if you are developing in Ruby without Rails, or are deploying against legacy databases designed without Rails in mind, or you just want to take advantage of database-specific features such as large objects and stored procedures, you need the in-depth knowledge of ActiveRecord found in this book. In Pro Active Record, authorsKevin Marshall,Chad Pytel, andJon Yurekwalk you through every step from the basics of getting and installing the ActiveRecord library to working with legacy schema to using features specific to each of todays most popular database engines, including Oracle, MS SQL, MySQL, and more! You'll come to a deep understanding of ActiveRecord that will enable you to truly exploit all that Ruby, Rails, and your chosen database platform have to offer. Table of Contents Introducing Active Record Active Record and SQL Setting Up Your Database Core Features of Active Record Bonus Features Active Record Testing and Debugging Working with Legacy Schema Active Record and the Real World