jops 306bb925bd code per studio | há 5 anos atrás | |
---|---|---|
.. | ||
CartsController | há 5 anos atrás | |
fonts | há 5 anos atrás | |
images | há 5 anos atrás | |
js | há 5 anos atrás | |
AdminController.html | há 5 anos atrás | |
AdminHelper.html | há 5 anos atrás | |
ApplicationController.html | há 5 anos atrás | |
ApplicationHelper.html | há 5 anos atrás | |
Cart.html | há 5 anos atrás | |
CartsController.html | há 5 anos atrás | |
CartsHelper.html | há 5 anos atrás | |
CurrentCart.html | há 5 anos atrás | |
LineItem.html | há 5 anos atrás | |
LineItemsController.html | há 5 anos atrás | |
LineItemsHelper.html | há 5 anos atrás | |
Order.html | há 5 anos atrás | |
OrderNotifier.html | há 5 anos atrás | |
OrdersController.html | há 5 anos atrás | |
OrdersHelper.html | há 5 anos atrás | |
Product.html | há 5 anos atrás | |
ProductsController.html | há 5 anos atrás | |
ProductsHelper.html | há 5 anos atrás | |
README_rdoc.html | há 5 anos atrás | |
SessionsController.html | há 5 anos atrás | |
SessionsHelper.html | há 5 anos atrás | |
StoreController.html | há 5 anos atrás | |
StoreHelper.html | há 5 anos atrás | |
User.html | há 5 anos atrás | |
UsersController.html | há 5 anos atrás | |
UsersHelper.html | há 5 anos atrás | |
fonts.css | há 5 anos atrás | |
index.html | há 5 anos atrás | |
rdoc.css | há 5 anos atrás | |
table_of_contents.html | há 5 anos atrás |
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.
* Sam Ruby, IBM
* Dave Thomas, The Pragmatic Programmers, LLC
* David Heinemeier Hansson, 37signals
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.
Generated by RDoc 4.1.1.
Based on Darkfish by Michael Granger.