Beginning Ruby on Rails E-Commerce

Beginning Ruby on Rails E-Commerce

4.11 - 1251 ratings - Source

Beginning Ruby on Rails E-Commerce: From Novice to Professional is the first book of its kind to guide you through producing e-commerce applications with Rails, the stacked web framework taking the world by storm. The book dives right into the process of creating a production-level web application using agile methodologies and test-driven development combined with Rails best practices. Youa€™ll take advantage of the latest crop of Rails plug-ins and helpers that will radically improve your programming schedule. Youa€™ll also create a real application step-by-step, plus the book is driven by real-world cases throughout. You will begin by learning how to install Rails and quickly create a product catalog interfaced with your choice of database technologies. Then youa€™ll discover how to build modern, Ajax-powered shopping carts and add useful features like customer feedback modules. Next youa€™ll learn how to integrate your application with open source packages like the Ferret full-text search engine, and how to interface with back-end electronic payment systems. Youa€™ll also learn how to make your application work flawlessly with existing production systems using web services, and then ultimately deploy and tune your application for production use.Wea#39;ll do that after we add the new tables and create the Book model. To start, create the migration file for adding the books table to the database schema: $ script/generate migration create_books_and_authors_books exists ... rb Open db /migrate/003_create_books_and_authors_books . rb in your editor and add the code in Listing 3-1 to it. ... :integer, :null =agt; false end say_with_time a#39;Adding foreign keysa#39; do # Add foreign key reference to books_authors table execute a#39; ALTER TABLEanbsp;...

Title:Beginning Ruby on Rails E-Commerce
Author:Jarkko Laine, Christian Hellsten
Publisher:Apress - 2006-11-08


You Must CONTINUE and create a free account to access unlimited downloads & streaming