Ruby on Rails Enterprise Application Development: Plan, Program, Extend

Building a complete Ruby on Rails business application from start to finish

Ruby on Rails Enterprise Application Development: Plan, Program, Extend

Elliot Smith, Rob Nichols

1 customer reviews
Building a complete Ruby on Rails business application from start to finish
Mapt Subscription
FREE
$30.00/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$21.00
$49.99
$29.99 p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Ruby on Rails Enterprise Application Development: Plan, Program, Extend Book Cover
Ruby on Rails Enterprise Application Development: Plan, Program, Extend
$ 29.99
$ 21.00
Ruby on Rails Web Mashup Projects Book Cover
Ruby on Rails Web Mashup Projects
$ 26.99
$ 18.90
Buy 2 for $35.00
Save $21.98
Add to Cart

Book Details

ISBN 139781847190857
Paperback528 pages

Book Description

All businesses have processes that can be automated via computer applications, thereby reducing costs and simplifying everyday operations. This book demonstrates that a modern web application framework makes an ideal platform for such applications. It shows how the attributes that make the Rails framework so successful for Internet applications also provide great benefit within a business intranet. These attributes include easy roll-out and update of applications, centralized processing and data handling, simple maintenance, straightforward code development, and scalability.

Ruby on Rails is an open-source web application framework ideally suited to building business applications, accelerating and simplifying the creation of database-driven websites. Often shortened to Rails or RoR, it provides a stack of tools to rapidly build web applications based on the Model-View-Controller design pattern.

This book covers topics such as installing Ruby, Rubygems, and Rails on Windows, Linux, and Mac OS X; choosing and installing a database; installing an IDE for Rails development; setting up a Subversion repository to manage your code; creating a new Rails application; understanding Rails models; understanding controllers and views; improving user interfaces with Ajax; using Rails plugins to manage file uploads; using Capistrano to manage application deployment; techniques for scaling Rails applications, such as caching and using Apache to proxy through to the Mongrel server. The example application is straightforward to develop, easy to roll out, and simple to maintain.

Table of Contents

What You Will Learn

  • Creating a new Rails application
  • Installing an IDE for Rails
  • Connecting Rails to a database
  • Utilizing Rails' Model-View-Controller components
  • Setting up Mongrel with Apache
  • Adding Ajax to your Rails application
  • Backing up Rails applications
  • Adding an authentication system to your application
  • Optimizing Rails applications using caching
  • Scaling up your Rails production infrastructure using Apache, Mongrel, and load balancing

Chapter 1 provides an overview of the book. You will learn why Ruby on Rails should be used in preference to the multitude of other programming and scripting frameworks for developing database-driven web applications.

In Chapter 2, you will learn about some of the conventions used in Rails, and the Rails framework will be introduced. We describe some methods of controlling and logging user access and discuss their merits and limitations. We also discuss data validation and user input control via form design in this chapter.

Chapter 3 outlines how to lay some firm foundations for a sustainable Rails development project. The core of this is obviously the Rails stack itself. You will learn how to install and configure this in some detail. The chapter recommends a few of the technologies closest to the heart of Rails, which can readily be used to support your development work.

Chapter 4 will help you build from an idea and an expectant Rails installation to a fully-fledged data model, populated from an external data source, with full validation and unit test suite. This chapter also provides examples of how to integrate the application with external data sources, and how to share code development across a team.

Chapter 5 describes how to build a web interface on top of the models developed earlier. You will learn about creating a controller from scratch, how to add style sheets, writing complex controller actions to update multiple models simultaneously, and using pagination.

Chapter 6 describes how to set up a Rails production environment. In particular, it covers the decisions you will need to make to successfully get your business application up and running. Some coverage of error handling is presented, and we describe some systems that will make it easier to back up and restore your application.

Chapter 7 concentrates on the tools you can use to improve the user experience. These include providing links into the application, providing search tools, enhancements to the user interface, and providing help to the users.

Chapter 8 aims at showing more of the depth and usefulness of Rails, while at the same time demonstrating how to extend an existing application with new functionality.

Chapter 9 discusses advanced deployment of your application. You will learn how to deploy your application with Capistrano. You will also learn about troubleshooting deployment and optimizing your Rails applications.

Chapter 10 covers how you can improve your Rails skills further, and suggests alternative skills that complement Ruby on Rails, thereby broadening your skill set.

Authors

Table of Contents

Book Details

ISBN 139781847190857
Paperback528 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Ruby on Rails Web Mashup Projects Book Cover
Ruby on Rails Web Mashup Projects
$ 26.99
$ 18.90
Cloning Internet Applications with Ruby Book Cover
Cloning Internet Applications with Ruby
$ 23.99
$ 16.80
Building Dynamic Web 2.0 Websites with Ruby on Rails Book Cover
Building Dynamic Web 2.0 Websites with Ruby on Rails
$ 20.99
$ 14.70
Ruby and MongoDB Web Development Beginner's Guide Book Cover
Ruby and MongoDB Web Development Beginner's Guide
$ 26.99
$ 18.90
Agile Project Management with GreenHopper 6 Blueprints Book Cover
Agile Project Management with GreenHopper 6 Blueprints
$ 19.99
$ 14.00
Object-Oriented Programming with PHP5 Book Cover
Object-Oriented Programming with PHP5
$ 23.99
$ 16.80