Rails Cookbook

Rails Cookbook
Author :
Publisher : "O'Reilly Media, Inc."
Total Pages : 547
Release :
ISBN-10 : 9780596554644
ISBN-13 : 0596554648
Rating : 4/5 (44 Downloads)

Synopsis Rails Cookbook by : Rob Orsini

Rails Cookbook is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services. With applications that are code light, feature-full and built to scale quickly, Rails has revolutionized web development. The Rails Cookbook addresses scores of real-world challenges; each one includes a tested solution, plus a discussion of how and why it works, so that you can adapt the techniques to similar situations. Topics include: Modeling data with the ActiveRecord library Setting up views with ActionView and RHTML templates Building your application's logic into ActionController Testing and debugging your Rails application Building responsive web applications using JavaScript and Ajax Ensuring that your application is security and performs well Deploying your application with Mongrel and Apache Using Capistrano to automate deployment Using the many Rails plugins Working with graphics Whether you're new to Rails or an experienced developer, you'll discover ways to test, debug and secure your applications, incorporate Ajax, use caching to improve performance, and put your application into production. Want to get ahead of the Web 2.0 curve? This valuable cookbook will save you hundreds of hours when developing applications with Rails.

Rails Cookbook

Rails Cookbook
Author :
Publisher : "O'Reilly Media, Inc."
Total Pages : 544
Release :
ISBN-10 : 9780596513832
ISBN-13 : 0596513836
Rating : 4/5 (32 Downloads)

Synopsis Rails Cookbook by : Rob Orsini

Rails is one of the leading frameworks for developing the new generation of Web 2.0 applications using the increasingly popular Ruby scripting language. This text is for all web developers, regardless of experience, who want to learn about Rails applications.

Ruby Cookbook

Ruby Cookbook
Author :
Publisher : "O'Reilly Media, Inc."
Total Pages : 990
Release :
ISBN-10 : 9781449373696
ISBN-13 : 1449373690
Rating : 4/5 (96 Downloads)

Synopsis Ruby Cookbook by : Lucas Carlson

Why spend time on coding problems that others have already solved when you could be making real progress on your Ruby project? This updated cookbook provides more than 350 recipes for solving common problems, on topics ranging from basic data structures, classes, and objects, to web development, distributed programming, and multithreading. Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. You’ll find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference. With Ruby Cookbook, you’ll not only save time, but keep your brain percolating with new ideas as well. Recipes cover: Data structures including strings, numbers, date and time, arrays, hashes, files and directories Using Ruby’s code blocks, also known as closures OOP features such as classes, methods, objects, and modules XML and HTML, databases and persistence, and graphics and other formats Web development with Rails and Sinatra Internet services, web services, and distributed programming Software testing, debugging, packaging, and distributing Multitasking, multithreading, and extending Ruby with other languages

Advanced Rails Recipes

Advanced Rails Recipes
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 0
Release :
ISBN-10 : 0978739221
ISBN-13 : 9780978739225
Rating : 4/5 (21 Downloads)

Synopsis Advanced Rails Recipes by : Mike Clark

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 one's Ruby on Rails apps up a notch--a collection of practical recipes for dressing up one's Wzeb application with little fuss.

JRuby Cookbook

JRuby Cookbook
Author :
Publisher : "O'Reilly Media, Inc."
Total Pages : 226
Release :
ISBN-10 : 9780596554118
ISBN-13 : 0596554117
Rating : 4/5 (18 Downloads)

Synopsis JRuby Cookbook by : Justin Edelson

If you're interested in JRuby, you probably don't need a tutorial on Ruby, Rails, or Java -- you just need to know how to get things done. This Cookbook offers practical solutions for using the Java implementation of the Ruby language, with targeted recipes for deploying Rails web applications on Java servers, integrating JRuby code with Java technologies, developing JRuby desktop applications with Java toolkits, and more. Using numerous reusable code samples, JRuby Cookbook shows you how to: Install and update JRuby on Windows, Mac OS X, and Linux, and IDEs such as NetBeans and Eclipse Package and deploy Rails apps on Java Servlet containers and Java EE application servers, including JBoss, Tomcat, and GlassFish Integrate Ruby and Rails applications with popular Java EE technologies such as JMS, JMX, JPA, Spring, and Hibernate Develop desktop and client applications with cross-platform Java UI technologies and toolkits such as Swing, SWT, and Java 2D Maximize the flexibility of your testing and build environment, using both existing Java-based tools such as Ant and Maven and newer Ruby-based tools such as Rake, Raven, and Buildr The JRuby interpreter combines Ruby's simplicity and ease of use with Java's extensive libraries and technologies, a potent blend that opens new possibilities for Ruby, Rails, and Java. This Cookbook helps you take full advantage of JRuby's potential. "The JRuby Cookbook is an excellent book for any polyglot who is trying to bridge the gap between Java and Ruby. It provides solutions to specific problems developers face in both their development and testing environments, along with the applications they're building."-- Bob McWhirter, Research & Prototyping, Red Hat Middleware

Enterprise Rails

Enterprise Rails
Author :
Publisher : "O'Reilly Media, Inc."
Total Pages : 354
Release :
ISBN-10 : 9780596554088
ISBN-13 : 0596554087
Rating : 4/5 (88 Downloads)

Synopsis Enterprise Rails by : Dan Chak

What does it take to develop an enterprise application with Rails? Enterprise Rails introduces several time-tested software engineering principles to prepare you for the challenge of building a high-performance, scalable website with global reach. You'll learn how to design a solid architecture that ties the many parts of an enterprise website together, including the database, your servers and clients, and other services as well. Many Rails developers think that planning for scale is unnecessary. But there's nothing worse than an application that fails because it can't handle sudden success. Throughout this book, you'll work on an example enterprise project to learn first-hand what's involved in architecting serious web applications. With this book, you will: Tour an ideal enterprise systems layout: how Rails fits in, and which elements don't rely on Rails Learn to structure a Rails 2.0 application for complex websites Discover how plugins can support reusable code and improve application clarity Build a solid data model -- a fortress -- that protects your data from corruption Base an ActiveRecord model on a database view, and build support for multiple table inheritance Explore service-oriented architecture and web services with XML-RPC and REST See how caching can be a dependable way to improve performance Building for scale requires more work up front, but you'll have a flexible website that can be extended easily when your needs change. Enterprise Rails teaches you how to architect scalable Rails applications from the ground up. "Enterprise Rails is indispensable for anyone planning to build enterprise web services. It's one thing to get your service off the ground with a framework like Rails, but quite another to construct a system that will hold up at enterprise scale. The secret is to make good architectural choices from the beginning. Chak shows you how to make those choices. Ignore his advice at your peril."-- Hal Abelson, Prof. of Computer Science and Engineering, MIT

Rails AntiPatterns

Rails AntiPatterns
Author :
Publisher : Addison-Wesley Professional
Total Pages : 347
Release :
ISBN-10 : 9780132660068
ISBN-13 : 0132660067
Rating : 4/5 (68 Downloads)

Synopsis Rails AntiPatterns by : Chad Pytel

The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems As developers worldwide have adopted the powerful Ruby on Rails web framework, many have fallen victim to common mistakes that reduce code quality, performance, reliability, stability, scalability, and maintainability. RailsTM AntiPatterns identifies these widespread Rails code and design problems, explains why they’re bad and why they happen—and shows exactly what to do instead. The book is organized into concise, modular chapters—each outlines a single common AntiPattern and offers detailed, cookbook-style code solutions that were previously difficult or impossible to find. Leading Rails developers Chad Pytel and Tammer Saleh also offer specific guidance for refactoring existing bad code or design to reflect sound object-oriented principles and established Rails best practices. With their help, developers, architects, and testers can dramatically improve new and existing applications, avoid future problems, and establish superior Rails coding standards throughout their organizations. This book will help you understand, avoid, and solve problems with Model layer code, from general object-oriented programming violations to complex SQL and excessive redundancy Domain modeling, including schema and database issues such as normalization and serialization View layer tools and conventions Controller-layer code, including RESTful code Service-related APIs, including timeouts, exceptions, backgrounding, and response codes Third-party code, including plug-ins and gems Testing, from test suites to test-driven development processes Scaling and deployment Database issues, including migrations and validations System design for “graceful degradation” in the real world

Practical Object-oriented Design in Ruby

Practical Object-oriented Design in Ruby
Author :
Publisher : Pearson Education
Total Pages : 272
Release :
ISBN-10 : 9780321721334
ISBN-13 : 0321721330
Rating : 4/5 (34 Downloads)

Synopsis Practical Object-oriented Design in Ruby by : Sandi Metz

The Complete Guide to Writing More Maintainable, Manageable, Pleasing, and Powerful Ruby Applications Ruby's widely admired ease of use has a downside: Too many Ruby and Rails applications have been created without concern for their long-term maintenance or evolution. The Web is awash in Ruby code that is now virtually impossible to change or extend. This text helps you solve that problem by using powerful real-world object-oriented design techniques, which it thoroughly explains using simple and practical Ruby examples. This book focuses squarely on object-oriented Ruby application design. Practical Object-Oriented Design in Ruby will guide you to superior outcomes, whatever your previous Ruby experience. Novice Ruby programmers will find specific rules to live by; intermediate Ruby programmers will find valuable principles they can flexibly interpret and apply; and advanced Ruby programmers will find a common language they can use to lead development and guide their colleagues. This guide will help you Understand how object-oriented programming can help you craft Ruby code that is easier to maintain and upgrade Decide what belongs in a single Ruby class Avoid entangling objects that should be kept separate Define flexible interfaces among objects Reduce programming overhead costs with duck typing Successfully apply inheritance Build objects via composition Design cost-effective tests Solve common problems associated with poorly designed Ruby code

Professional Ruby on Rails

Professional Ruby on Rails
Author :
Publisher : John Wiley & Sons
Total Pages : 482
Release :
ISBN-10 : 9780470223888
ISBN-13 : 047022388X
Rating : 4/5 (88 Downloads)

Synopsis Professional Ruby on Rails by : Noel Rappin

Provides information on the capabilities and subsystems of Ruby on Rails for the design and development of complex Web applications.

Crafting Rails 4 Applications

Crafting Rails 4 Applications
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 269
Release :
ISBN-10 : 9781680503302
ISBN-13 : 1680503308
Rating : 4/5 (02 Downloads)

Synopsis Crafting Rails 4 Applications by : Jose Valim

Get ready to see Rails as you've never seen it before. Learn how to extend the framework, change its behavior, and replace whole components to bend it to your will. Eight different test-driven tutorials will help you understand Rails' inner workings and prepare you to tackle complicated projects with solutions that are well-tested, modular, and easy to maintain. This second edition of the bestselling Crafting Rails Applications has been updated to Rails 4 and discusses new topics such as streaming, mountable engines, and thread safety. Rails is one of the most extensible frameworks out there. This pioneering book deep-dives into the Rails plugin APIs and shows you, the intermediate Rails developer, how to use them to write better web applications and make your day-to-day work with Rails more productive. Rails Core developer Jose Valim guides you through eight different tutorials, each using test-driven development to build a new Rails plugin or application that solves common problems with these APIs. You'll learn how the Rails rendering stack works and customize it to read templates from the database while you discover how to mimic Active Record behavior, such as validations, in any other object. You'll find out how Rails integrates with Rack, the different ways to stream data from your web application, and how to mix Rails engines and Sinatra applications into your Rails apps, so you can choose the most appropriate tool for the job. In addition, you'll improve your productivity by customizing generators and responders. This book will help you understand Rails' inner workings, including generators, template handlers, internationalization, routing, and responders. With the knowledge you'll gain, you'll create well-tested, modular, and robust solutions for your next project.