Ruby on Rails Enterprise Application Development::
Plan, Program, Extend
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 3
Introduction
1: Introduction
2: The Initial Problem
3: Laying the Foundations
4: Working with Rails Free Chapter
5: Building the User Interface
6: Into Production
7: Improving the User Experience
8: Extending the Application
9: Advanced Deployment

10: Down the Track

Appendix A: Running Your Own Gem Server

Index

Latest Updates

Free Chapter:

Chapter 4: Working with Rails [ 1.7 MB PDF]

Code Download

Contact us

Chapter 3: Laying the Foundations

Any sustainable software development project needs good foundations. While it is possible to write a Ruby on Rails application with nothing more than Ruby, a few libraries, and a text editor; this approach does not lend itself well to a team project where multiple authors may be working on the same code base. In addition, deployment and maintenance of the application once it reaches production becomes problematic if there is no supporting infrastructure in place.

This chapter outlines how to lay some firm foundations for a sustainable Rails development project. The core of this is obviously the Rails stack itself: we'll see how to install and configure this in some detail. But you also need some good infrastructure under this to ease development, deployment, and maintenance. Rails developers have faced the same issues all web developers face, and have integrated Rails with a variety of supporting technologies; things like database servers, graphics generation libraries, IDEs, version control systems, and web servers. Throughout the chapter, we'll encounter a few of the technologies closest to the heart of Rails, which can readily be used to support your development work.

Chapter 3: Laying the Foundations

  • Supporting Rails Development
  • Addressing the Challenges
  • Setting Up a Rails Stack
    • Installing a Rails Stack Using a Bundle
  • Installing a Custom Rails Stack
    • Installing Ruby and Rubygems
      • Ruby on Windows
      • Ruby on Linux
      • Ruby on Mac OS X
    • Installing Rails
      • A Note on Rails Documentation
    • Other Libraries
      • Capistrano for Easier Deployment
      • Mongrel: A Better Way to Run Rails Applications
    • Choosing a Database Platform
      • Installing MySQL
      • Checking Your MySQL Installation
      • MySQL GUI Tools
      • Ruby-MySQL: Making Ruby and MySQL Work Better Together
    • Installing an IDE
      • Eclipse
      • EasyEclipse
    • Instructions for Masochists
    • In the Back Rooms at Acme…
  • Setting Up a Team Server
      • Quick Gem Installation
    • Remote Access via SSH
      • Adding Users
    • Version Control with Subversion
      • Subversion Standard Practices
      • Setting Up a Subversion Repository
      • Setting Up a Project in Subversion
      • Browsing Subversion from Eclipse
      • Other Subversion Clients
    • Using Other People's Servers
    • Back at Acme
  • Summary
   

 

Paperback 528 pages
Released: October 2007
ISBN: 1847190855
ISBN 13: 978-1-847190-85-7

     

 




View the book details
on PacktPub.com

 


 

  This website is owned and maintained by Packt Publishing Ltd, 2007. All rights reserved. Terms and Conditions