Ebooks

Advanced Rails Recipes~tqw~ darksiderg


  • Rate this torrent +  |  -

Torrent info

Name:Advanced Rails Recipes~tqw~ darksiderg torrent

Total Size: 2.35 MB

Seeds: 1

Leechers: 1

Downloaded: 13

Torrent added: 2009-08-20 18:52:03

Share:Bookmark and Share



Torrent Files List


Advanced Rails Recipes~tqw~ darksiderg (Size: 2.35 MB) (Files: 3)

 tracked_by_h33t_com.txt

0.02 KB

 Advanced Rails Recipes~tqw~_darksiderg.pdf

2.35 MB

 Advanced Rails Recipes~tqw~_darksiderg.nfo

6.67 KB
 

Torrent description

*******************************************************************************
Advanced Rails Recipes
*******************************************************************************

-------------------------------------------------------------------------------
General Information
-------------------------------------------------------------------------------
Type.................: Ebook
Part Size............: 2,460,386 bytes




-------------------------------------------------------------------------------
Post Information
-------------------------------------------------------------------------------
Posted by............: ~tqw~

-------------------------------------------------------------------------------
Release Notes
-------------------------------------------------------------------------------
From the author of the indispensable "Rails Recipes," and with the help of a new
master Rails chef in the kitchen, here are 72 new ways to kick your Ruby on
Rails apps up a notch. "More Rails Recipes" is a collection of practical recipes
for dressing up your web application with little fuss. You'll learn how the pros
have solved the tough problems using the most cutting-edge Rails techniques so
you can deliver your stunning web app quicker and easier. Developers by the
thousands are coming to Rails-the benefits are clear, both to individuals and
their organizations. But how can a developer be expected to write idiomatic,
effective Rails code when the technology is so new? The answer is to work
alongside masters, people who've been there from the start (and who have the
scars to prove it). And, what better way to learn from their experience than to
look at their code and read their explanations of why it's written that way? And
even better imagine if that code can be lifted and placed right into your own
application. This is better than just cut-and-paste: the recipe format means
you'll understand the code, and be able to modify it to suit your needs. And the
list of recipes is so broad that you're bound to find tips and techniques where
you'll say "Oh! That's how they do that," or, "I didn't know you could do that
in Rails." With "More Rails Recipes," a following up to the popular original
"Rails Recipes," you can cook up a storm.

Table Of Contents

Part I—REST and Routes Recipes 13
1. Create a RESTful Resource 14
2. Add Your Own RESTful Actions 20
3. Nest Resources to Scope Access 24
4. Toggle Attributes with Ajax 30
5. Authenticate REST Clients 33
6. Respond to Custom Formats 39
7. Catch All 404s 43
Part II—Database Recipes 46
8. Add Foreign Key Constraints 47
9. Write Custom Validations 51
10. Take Advantage of Master/Slave Databases 54
11. Siphon Off SQL Queries 57
12. Use Fixtures for Canned Datasets 61
Part III—User-Interface Recipes 64
13. Handle Multiple Models in One Form 65
14. Replace In-View Raw JavaScript 72
15. Validate Required Form Fields Inline 74
16. Create Multistep Wizards 78
17. Customize Error Messages 87
18. Upload Images with Thumbnails 89
19. Decouple JavaScript with Low Pro 99
20. Format Dates and Times 106
21. Support an iPhone Interface 109
Part IV—Search Recipes 115
22. Improve SEO with Dynamic Metatags 116
23. Build a Site Map 119
24. Find Stuff (Quick and Dirty) 124
25. Search Text with Ferret 127
26. Ultra-Search with Sphinx 132
27. Solr-Power Your Search 140
Part V—Design Recipes 151
28. Freshen Up Your Models with Scope 152
29. Create Meaningful Relationships Through Proxies 157
30. Keep Forms DRY and Flexible 160
31. Prevent Train Wrecks 166
32. Simplify Controllers with a Presenter 169
Part VI—Integration Recipes 174
33. Process Credit Card Payments 175
34. Play Nice with Facebook 187
35. Mark Locations on a Google Map 189
36. Tunnel Back to Your Application 196
Part VII—Console Snacks 200
37. Write Console Methods 201
38. Log to the Console 203
39. Play in the Sandbox 205
40. Access Helpers 206
41. Shortcut the Console 207
Part VIII—Asynchronous-Processing Recipes 209
42. Send Lightweight Messages 210
43. Off-Load Long-Running Tasks to BackgrounDRb 214
44. Process Asynchronous, State-Based Workflows 222
Part IX—E-mail Recipes 228
45. Validate E-mail Addresses 229
46. Receive E-mail Reliably via POP or IMAP 232
47. Send E-mail via Gmail 238
48. Keep E-mail Addresses Up-to-Date 239
Part X—Testing Recipes 244
49. Maintain Fixtures Without Frustration 245
50. Describe Behavior from the Outside In with RSpec 249
51. Test First with Shoulda 256
52. Write Domain-Specific RSpec Matchers 261
53. Write Custom Testing Tasks 265
54. Test JavaScript with Selenium 267
55. Mock Models with FlexMock 272
56. Track Test Coverage with rcov 276
57. Automatically Validate HTML 279
58. Mock with a Safety Net 282
59. Drive a Feature Top-Down with Integration Tests 284
Part XI—Performance and Scalability Recipes 288
60. Cache Data Easily 289
61. Look Up Constant Data Efficiently 293
62. Profile in the Browser 299
63. Cache Up with the Big Guys 303
64. Dynamically Update Cached Pages 310
65. Use DTrace for Profiling 313
Part XII—Security Recipes 320
66. Constrain Access to Sensitive Data 321
67. Encrypt Sensitive Data 323
68. Flip On SSL 329
Part XIII—Deployment and Capistrano Recipes 333
69. Upload Custom Maintenance Pages 334
70. Generate Custom Error (404 and 500) Pages 338
71. Write Config Files on the Fly 342
72. Create New Environments 344
73. Run Multistage Deployments 347
74. Safeguard the Launch Codes 350
75. Automate Periodic Tasks 351
76. Preserve Files Between Deployments 356
77. Segregate Page Cache Storage with Nginx 358
78. Load Balance Around Your Mongrels’ Health 362
79. Respond to Remote Capistrano Prompts 368
80. Monitor (and Repair) Processes with Monit 370
Part XIV—Big-Picture Recipes 373
81. Manage Plug-in Versions 374
82. Fail Early 377
83. Give Users Their Own Subdomain 379
84. Customize and Analyze Log Files 384
A Bibliography 389
Index 390

Product Details

* ISBN: 0978739221
* ISBN-13: 9780978739225
* Format: Paperback, 420pp
* Publisher: Pragmatic Bookshelf
* Pub. Date: May 2008

-------------------------------------------------------------------------------
Install Notes
-------------------------------------------------------------------------------
PDF Reader

related torrents

Torrent name

Size

Main Menu