jops 306bb925bd code per studio 5 years ago
..
CartsController 306bb925bd code per studio 5 years ago
fonts 306bb925bd code per studio 5 years ago
images 306bb925bd code per studio 5 years ago
js 306bb925bd code per studio 5 years ago
AdminController.html 306bb925bd code per studio 5 years ago
AdminHelper.html 306bb925bd code per studio 5 years ago
ApplicationController.html 306bb925bd code per studio 5 years ago
ApplicationHelper.html 306bb925bd code per studio 5 years ago
Cart.html 306bb925bd code per studio 5 years ago
CartsController.html 306bb925bd code per studio 5 years ago
CartsHelper.html 306bb925bd code per studio 5 years ago
CurrentCart.html 306bb925bd code per studio 5 years ago
LineItem.html 306bb925bd code per studio 5 years ago
LineItemsController.html 306bb925bd code per studio 5 years ago
LineItemsHelper.html 306bb925bd code per studio 5 years ago
Order.html 306bb925bd code per studio 5 years ago
OrderNotifier.html 306bb925bd code per studio 5 years ago
OrdersController.html 306bb925bd code per studio 5 years ago
OrdersHelper.html 306bb925bd code per studio 5 years ago
Product.html 306bb925bd code per studio 5 years ago
ProductsController.html 306bb925bd code per studio 5 years ago
ProductsHelper.html 306bb925bd code per studio 5 years ago
README_rdoc.html 306bb925bd code per studio 5 years ago
SessionsController.html 306bb925bd code per studio 5 years ago
SessionsHelper.html 306bb925bd code per studio 5 years ago
StoreController.html 306bb925bd code per studio 5 years ago
StoreHelper.html 306bb925bd code per studio 5 years ago
User.html 306bb925bd code per studio 5 years ago
UsersController.html 306bb925bd code per studio 5 years ago
UsersHelper.html 306bb925bd code per studio 5 years ago
fonts.css 306bb925bd code per studio 5 years ago
index.html 306bb925bd code per studio 5 years ago
rdoc.css 306bb925bd code per studio 5 years ago
table_of_contents.html 306bb925bd code per studio 5 years ago

README_rdoc.html































aria-autocomplete="list" aria-controls="search-results"
type="text" name="search" placeholder="Search" spellcheck="false"
title="Type to search, Up and Down to navigate, Enter to load">


    aria-busy="false" aria-expanded="false"
    aria-atomic="false" class="initially-hidden">












Pages











The Depot Online Store



This application implements an online store, with a catalog, cart, and
orders.



It is divided into two main sections:



  • The buyer's side of the application manages the catalog, cart, and
    checkout. It is implementation spans in four models and associated
    controllers and views: Cart, href="LineItem.html">LineItem, Order, and href="Product.html">Product. Additionally, there is a href="StoreController.html">StoreController for the store front itself,
    and a SessionsController to manage
    sessions.



  • Only administrators can access stuff in the seller's side (product
    maintenance and order fulfillment). This is implemented by the href="SessionsController.html">SessionsController, is enforced by the
    href="ApplicationController.html#method-i-authorize">ApplicationController#authorize
    method, and assisted by the Users and Carts resources.




This code was produced as an example for the book href="http://www.pragprog.com/titles/rails4/agile-web-development-with-rails-4th-edition">Agile
Web Development with Rails. It should not be run as a real online
store.



Authors



* Sam Ruby, IBM
* Dave Thomas, The Pragmatic Programmers, LLC
* David Heinemeier Hansson, 37signals


Warranty



This code is provided for educational purposes only, and comes with
absolutely no warranty. It should not be used in live applications.





This code is Copyright © 2013 The Pragmatic Programmers, LLC.



It is released under the same license as Ruby.







Validate

Generated by RDoc 4.1.1.

Based on Darkfish by Michael Granger.