Advanced rails / Brad Ediger.

Author
Ediger, Brad [Browse]
Format
Book
Language
English
Εdition
First edition.
Published/​Created
Beijing ; Sebastopol, California : O'Reilly, 2008.
Description
1 online resource (368 p.)

Details

Subject(s)
Summary note
Ready to go to the next level with Rails? From examining the parts of Ruby that make this framework possible to deploying large Rails applications, Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more. Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. Advanced Rails pays particular attention to building applications that scale -- whethe
Notes
Description based upon print version of record.
Bibliographic references
Includes bibliographical references and index.
Source of description
Description based on online resource; title from PDF title page (ebrary, viewed October 5, 2013).
Language note
English
Contents
  • Advanced Rails; Conventions Used in This Book; Using Code Examples; How to Contact Us; Safari® Books Online; Acknowledgments; 1. Foundational Techniques; Caveats; Bottom-Up Programming; Ruby Foundations; Method Lookup; Class inheritance; Class instantiation; Including modules; The singleton class; Singleton classes of class objects; Method missing; Metaid; Variable Lookup; Blocks, Methods, and Procs; Closures; Metaprogramming Techniques; Generative Programming: Writing Code On-the-Fly; Continuations; Bindings; Introspection and ObjectSpace: Examining Data and Methods at Runtime
  • Delegation with Proxy ClassesMonkeypatching; Disadvantages of monkeypatching; Adding Functionality to Existing Methods; Aspect-oriented programming; Method chaining; Modulization; Functional Programming; Enumerable; Filters; Transformers; Aggregators; Other; Enumerator; Examples; Rails Routing Code; Further Reading; 2. ActiveSupport and RailTies; Dir; Enumerable; File; Hash; Kernel; Module; Proc; String; How to Read Code; Reading the Call Stack; Debugging Ruby and Rails; Where to Start; Start at the top; Read the Tests; Stay Current; ActiveSupport; Deprecation; Inflector; JSON; Whiny Nil
  • Core ExtensionsGrouping; Option processing; Random selection; Blank; Class Attribute Accessors; Class Inheritable Attributes; Date and Time; Conversions from Numeric; Time calculations; Enumerable; Exception; File; Float; Hash; Option processing; HashWithIndifferentAccess; Integer; Kernel; Reporting; Module; Delegation; Introspection; Numeric Conversions; Object; Miscellaneous methods; Range; String; String i18n; Miscellaneous methods; Symbol#to_proc; TimeZone; RailTies; Application Initialization in 20 Easy Steps; Request Dispatch; Further Reading; 3. Rails Plugins; Installing Rails Plugins
  • PistonDecentralized version control; Writing Plugins; Plugin Examples; SSL Requirement; HTTP Authentication; Testing Plugins; Further Reading; 4. Database; MySQL; SQLite; Microsoft SQL Server; Oracle; Large/Binary Objects; MySQL; Oracle; Filesystem Storage; Sending Data with X-Sendfile; Serving Static Files; Managing Uploads in Rails; Rolling your own; Upload progress; Advanced Database Features; Constraints; Composite Keys; Triggers, Rules, and Stored Procedures; Examples; Data partitioning; Connecting to Multiple Databases; Caching; Load Balancing and High Availability; MySQL cluster
  • PostgreSQLMaster-slave replication: Slony-I; Multimaster replication: PGCluster; Oracle; Microsoft SQL Server; LDAP; Authenticating with LDAP; Further Reading; 5. Security; Don&t Trust the Client; Hidden form fields; Client-side validation; Cookies; Double-check everything; Secure Fallback; Avoid Security Through Obscurity; Secure Your Error Messages; Whitelist, Don&t Blacklist; Web Issues; Cross-Site Scripting; Whitelisting; Cross-Site Request Forgery; Canonicalization: What&s in a Name?; SQL Injection; Ruby&s Environment; Object Tainting; Further Reading; 6. Performance
  • Black-box analysis with httperf
ISBN
  • 0-596-51972-9
  • 0-596-55508-3
OCLC
609841111
Statement on language in description
Princeton University Library aims to describe library materials in a manner that is respectful to the individuals and communities who create, use, and are represented in the collections we manage. Read more...
Other views
Staff view

Supplementary Information

Other versions