Cover image for Building Dynamic Web 2.0 Websites with Ruby on Rails.
Building Dynamic Web 2.0 Websites with Ruby on Rails.
Title:
Building Dynamic Web 2.0 Websites with Ruby on Rails.
Author:
Rajshekhar, A P.
ISBN:
9781847193421
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (226 pages)
Contents:
Building Dynamic Web 2.0 Websites with Ruby on Rails -- Table of Contents -- Building Dynamic Web 2.0 Websites with Ruby on Rails -- Credits -- About the Author -- About the Reviewer -- Preface -- What This Book Covers -- What You Need for This Book -- Conventions -- Reader Feedback -- Customer Support -- Downloading the Example Code for the Book -- Errata -- Questions -- 1. Getting Started with Ruby and RoR -- Ruby and RoR-The Next Level in Dynamic Web Development -- Ruby -- Ruby on Rails (RoR) -- Philosophy -- Features -- Installing and Configuring Ruby and RoR -- Manual Installation -- Downloading and Installing Ruby -- Updating Gem -- Installing RoR -- One-Click RoR Installation -- Download and Unzip the Instant Rails -- Configure Instant Rails Installation -- Testing the Installation -- Ruby -- RoR -- Summary -- 2. Getting to Know Ruby and RoR -- Ruby-the Basics -- Classes, Attributes, Methods, and Objects -- Classes -- Attributes -- Methods -- Objects -- Inheritance -- Modules -- Data Types -- Number -- Float -- String -- Blocks and Iterators -- Blocks -- Iterators -- Exception Handling -- Data Structures -- Arrays -- Hashes -- RoR-Concepts and Components -- RoR is a Ruby-Based Framework -- RoR Implements MVC Pattern -- Active Record -- Action View -- Action Controller -- Hello World-the RoR Way -- Setting up the Application Structure -- Adding the First Controller Class -- Defining the Action Method -- Adding the View Template -- Testing the Application -- Summary -- 3. TaleWiki-The Basic Setup -- Understanding the Requirements -- System Requirements -- Module-Specific Requirements -- Managing the Stories -- Designing the Database -- Understanding the Conventions -- Designing the E-R Model -- Defining the Schema -- Creating the Tables -- TaleWiki-Developing the Tale Management Module -- Creating the Application Structure.

Generating the Scaffolds -- Customizing the Model -- Relationship Mapping -- Data Validation -- Customizing the Controller -- Refining the View -- Refining the New Tale Template -- Refining the Edit Tale Template -- Testing the Application -- Summary -- 4. Managing the Users -- Understanding the Requirements -- Managing the User -- Managing Roles -- Designing the Tables -- Designing the E-R Model -- Deriving the Schema -- Creating the Tables -- Developing the User Management -- Developing the Role Management -- Generating the Scaffolds -- Modifying the Model -- Customizing the Controller -- Refining the View -- Developing the User Management Functionality -- Generating the Scaffold -- Modifying the Model -- Assigning Default Role to a User -- Adding Display Action Method to the Controller -- Refining the View -- Adding the Assign Method to the Controller -- Testing the Functionalities -- Summary -- 5. Gathering User Comments -- Understanding the Requirements -- Login Management -- Managing the Comments -- Designing the Database -- Designing the E-R Model -- Deriving the Schema -- Creating the Tables -- Developing the Login Management Module -- Creating the Login Page -- Implementing the Authenticate method -- Model -- Controller -- Setting up the Session -- Applying Authorization -- Tying Up the Loose Ends -- Developing the Comment Management Module -- Generating the Scaffold -- Modifying the Model -- Refining the View -- Customizing the Controller -- Testing the Module -- Summary -- 6. Setting up the Template -- Understanding Migration -- Generating Migration Classes -- Editing the Generated Classes -- Running the Migration -- Customizing the Template -- Defining the Layout -- Customizing the Layout of the Login Page -- Defining the Master Layout -- Defining and Applying the Master Layout -- Setting up the Navigation -- Testing the Application.

Summary -- 7. Tagging the Tales -- Understanding the Requirements -- Developing the Tag management Module -- Selecting a Plug-in for Tag Management -- Installing the Plug-in -- Setting up Tables Required by the Plug-in -- Developing the Tag Management Module -- Adding a Tag -- Visualizing the Tag Cloud -- Searching By Tag -- Testing the Modifications -- Summary -- 8. Enhancing User Experience with Ajax -- Understanding the Requirements -- Implementing Ajax -- What is Ajax? -- How Ajax and RoR are Related -- Implementing the Live Search -- Specify the Location to Display the Result -- Use the observe_field Helper -- Modify the Action Method -- Implementing the In-line Editing -- Marking the Fields for In-line Editing -- Set up the Controller -- Testing the Modifications -- Summary -- 9. Developing the Interface for Administration -- Understanding the Requirements -- Implementing the Functionalities -- Modification of the Deletion of Tales -- Providing Access to All the Functionalities of the Comment Management Module -- Implementing Auto-Complete for the User name -- Implementing Search -- Testing the Modifications -- Summary -- 10. Deploying the TaleWiki -- Understanding the Production Environment -- Development Mode -- Test Mode -- Production Mode -- Changing to the Production Environment -- Migrating to the Production Database -- Configuring Mongrel -- Points to Consider -- Summary -- Index.
Abstract:
Create database-driven dynamic websites with this open-source web application framework.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: