1 option
Advanced rails / Brad Ediger.
- Format:
- Book
- Author/Creator:
- Ediger, Brad.
- Language:
- English
- Subjects (All):
- Ruby on rails (Electronic resource).
- Internet programming.
- Object-oriented programming (Computer science).
- Physical Description:
- 1 online resource (368 p.)
- Edition:
- First edition.
- Place of Publication:
- 2008.
- Beijing ; Sebastopol, California : O'Reilly, 2008.
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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
- 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
- Notes:
- Description based upon print version of record.
- Includes bibliographical references and index.
- Description based on online resource; title from PDF title page (ebrary, viewed October 5, 2013).
- ISBN:
- 9780596519728
- 0596519729
- 9780596555085
- 0596555083
- OCLC:
- 609841111
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.