Résumé
Rails is large, powerful, and new. How do you use it effectively? How do you harness the power? And, most important, how do you get high quality, real-world applications written?
From the latest Ajax effects to time-saving automation tips for your development process, Rails Recipes will show you how the experts have already solved the problems you have.
- Use generators to automate repetitive coding tasks.
- Create sophisticated role-based authentication schemes.
- Add live search and live preview to your site.
- Run tests when anyone checks code in.
- How to create tagged data the right way.
- and many, many more...
Owning Rails Recipes is like having the best Rails programmers sitting next to you while you code.
L'auteur - Chad Fowler
Chad Fowler has been a software developer and manager for some of the world's largest corporations. He recently lived and worked in India, setting up and leading an offshore software development center. He is cofounder of Ruby Central, Inc., a non-profit corporation responsible for the annual International Ruby Conference and the International Rails Conference, and is a leading contributor in the Ruby community. Chad is a contributor and editor for numerous books and is author of the recently released My Job Went to India: 52 Ways to Save Your Job.
Sommaire
- User interface recipes
- In-place form editing
- Making your own JavaScript helper
- Showing a live preview
- Autocomplete a text field
- Creating a drag-and-drop sortable list
- Update multiple elements with one Ajax request
- Lightning-fast JavaScript autocompletion
- Cheap & easy theme support
- Trim static pages with Ajax
- Smart pluralization
- Debugging Ajax
- Creating a custom form builder
- Make pretty graphs
- Database recipes
- Rails without a database
- Connecting to multiple databases
- Integrating with legacy databases
- DRY up your database configuration
- Self-referential many-to-many relationships
- Tagging your content
- Versioning your models
- Converting to migration-based schemas
- Many-to-many relationships with extra data
- Polymorphic associations - hasömany : whatevers
- Add behavior to active record associations
- Dynamically configure your database
- Use active record outside of Rails
- Perform calculations on your model data
- DRY up active record code with scoping
- Make dumb data smart with composedöof()
- Safety use models in migrations
- Controller recipes
- Authenticating your users
- Authorizing users with roles
- Cleaning up controllers with postback actions
- Monitor expiring sessions
- Rendering comma-separated values from your actions
- Make your URLs meaningful (and pretty)
- Stub out authentication
- Convert to active record sessions
- Write code that writes code
- Manage a static site with Rails
- Testing recipes
- Creating dynamic text fixtures
- Extracting text fixtures from live data
- Testing across multiple controllers
- Write tests for your helpers
- Big-picture recipes
- Automating development with your own generators
- Continuously integrate your code base
- Getting notified of unhandled exceptions
- Creating your own rake tasks
- Dealing with time zones
- Living on the edge (of Rails development)
- Syndicate your site with RSS
- Making your own Rails plugins
- Secret URLs
- Quickly inspect your sessions' contents
- Sharing models between your applications
- Generate documentation for your application
- Processing uploaded images
- Easily group lists of things
- Keeping track of who did what
- Distributing your application as one directory tree
- Adding support for localization
- The console is your friend
- Automatically save a draft of a form
- Validating non-active record objects
- Easy HTML whitelists
- Adding simple Web services to your actions
- Email receipes
- Send gracefully degrading rich-content emails
- Testing incoming email
- Sending email with attachments
- Handling bounced email
- Appendix
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Pragmatic Bookshelf |
Auteur(s) | Chad Fowler |
Collection | The Facets of Ruby |
Parution | 27/09/2006 |
Nb. de pages | 344 |
Format | 19 x 22,5 |
Couverture | Broché |
Poids | 730g |
Intérieur | Noir et Blanc |
EAN13 | 9780977616602 |
ISBN13 | 978-0-9776166-0-2 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Systèmes d'exploitation Macintosh Mac OS X
- Informatique Développement d'applications Technologies objet Programmation objet
- Informatique Développement d'applications Langages
- Informatique Développement d'applications Langages Ruby
- Informatique Développement d'applications Outils de développement