Cargando…

Ruby on Rails enterprise application development : plan, program, extend : building a complete Ruby on Rails business application from start to finish /

"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-...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Smith, Elliot, Nichols, Rob (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Pub., 2007.
Colección:From technologies to solutions.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Table of Contents; Preface; Introduction; Why this Book?; Why Develop?; Why a Client/Server based Web Application?; But why Ruby on Rails?; Rails Handles Menial Tasks; Clear Code; Text Based File; Open Source; Plentiful Documentation; Built-in Safe Test Environment; Ruby on Rails on Detail; Summary; The Initial Problem; A Normal Day in the Office; Examining the Data; Data Objects; Database Table Design Rules; Separating the Data; Naming Conventions; Use Meaningful Names; Use a Consistent Naming Convention; Ruby on Rails Naming Conventions; Constants and Classes; Variables
  • Methods and PropertiesSpecial Method and Property Suffixes; Reserved Words; Back to the Data; Review the Result; Project Preparation Steps; How Good is the Source Data?; Tracking Who does What; No Log-On and No Authentication; Simple Password Access; User Log-On; Recording Access History; Access Control for Rory's Application; Data Validation; The Minimum Required Data is Entered; Each Record can be Uniquely Identified; Identify Fields that Need to Have a Particular Format; References to Data in Other Tables Point to Actual Data; Rory's data; Person; Company; Address; Summary
  • Laying the FoundationsSupporting 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
  • EasyEclipseInstructions 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; Working with Rails; The World According to Rails; Model-View-Controller Architecture; Convention over Configuration; Rails and MVC; Setting Up a New Rails Application
  • Using Mongrel to Serve Your ApplicationConnecting Rails to a Database; Creating a Database and System Account; Setting Up a Database Connection; Configuring the Rails Environments; Testing the Database Connection; Troubleshooting a MySQL Connection; ActiveRecord, Migrations, and Models; Model == Table; Which Comes First: The Model or The Table?; Building a Model with Migrations; Converting a Data Structure into a Migration; Defining Columns in Migrations; Other Operations Available in a Migration; Running a Migration; Rolling Back to a Previous Version of the Database; The Scaffold