Foreword | p. xiii |
Acknowledgments | p. xvii |
Preface | p. xix |
Security & E-commerce Recipes | p. 1 |
Implement Enterprise-wide Security | p. 3 |
Protect Information with Symmetric Ciphers | p. 5 |
Protect Secrets with Asymmetric Ciphers | p. 11 |
Verify Data Integrity with Signatures | p. 15 |
Generate Real Random Numbers | p. 19 |
Create Strong and Convenient Passwords | p. 23 |
Store Passwords Securely | p. 29 |
Reanimate Good Old Basic Authentication | p. 33 |
Implement a Single Sign-on System with OpenID | p. 37 |
Authenticate with LDAP | p. 45 |
Process E-commerce Payments | p. 49 |
Charge Credit Cards with ActiveMerchant | p. 51 |
Integrate ActiveMerchant with Rails | p. 57 |
Transfer Money with PayPal | p. 65 |
Databases & XML Recipes | p. 75 |
Get the Most Out of Databases | p. 77 |
Execute Stored Procedures | p. 79 |
Feed Rails Databases from the Outside | p. 87 |
Access Databases from Different Vendors Simultaneously | p. 95 |
Manage Data with Subversion | p. 101 |
Tame File and Data Formats | p. 107 |
Manipulate CSV with Ruby | p. 109 |
Read and Write Fixed-Length Records | p. 115 |
Harness JSON in Ruby | p. 123 |
Master Binary Data | p. 127 |
Process XML Documents the Ruby Way | p. 133 |
XML Data Binding on Steroids | p. 135 |
Use XML Files as Models | p. 139 |
Handle Large XML Documents | p. 147 |
High-Performance Parsing | p. 153 |
Work with HTML and Microformats | p. 159 |
Build Plain-Vanilla XML Documents | p. 167 |
Build Arbitrary XML Documents | p. 169 |
Networking & Messaging Recipes | p. 173 |
Perform Basic Networking Tasks with Ease | p. 175 |
Harness the Power of Sockets | p. 177 |
Find Solutions Quickly with open-uri | p. 183 |
Get the Most Out of HTTP | p. 187 |
Scrape Screens with WWW::Mechanize | p. 193 |
Use and Build Web Services | p. 199 |
Publish Resources with REST | p. 201 |
Use REST Services | p. 209 |
Build Your Own SOAP Services | p. 215 |
Use SOAP Services with WSDL | p. 219 |
Talk to Message Brokers | p. 223 |
Transfer Messages with Files | p. 225 |
Create a Messaging Infrastructure | p. 233 |
Integrate with JMS | p. 243 |
Connect to Message Queues with ActiveMessaging | p. 249 |
Integration & Administration Recipes | p. 257 |
Speak Foreign Languages | p. 259 |
Embed C and C++ | p. 261 |
Mix Java and Ruby Code | p. 269 |
Use RMI Services | p. 275 |
Mix Ruby and .NET with IronRuby | p. 279 |
Maintain and Administer Your Applications | p. 289 |
Turn Your Code into Daemons and Services | p. 291 |
Monitor Your Applications with Monit | p. 301 |
Let god Take Care of Your System | p. 307 |
Create Plug-ins for Common Tasks | p. 313 |
Avoid Code Duplication with Generators | p. 319 |
Test the Easy Way | p. 323 |
Improve Your Testing with RSpec | p. 325 |
Integrate RSpec with Rails | p. 333 |
Create Mock Objects with RSpec | p. 337 |
Prototype Services with Sinatra | p. 345 |
Get Documentation Nearly for Free | p. 355 |
Generate Documentation Automatically | p. 357 |
Annotate Your Models Automatically | p. 365 |
Create Great Reports | p. 369 |
Bibliography | p. 379 |
Index | p. 381 |
Table of Contents provided by Ingram. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.