Education (depraced!) > Next-Generation Web Frameworks in Python
Next-Generation Web Frameworks in PythonDate: 12 July 2011 | Posted by: pool |
![]() chm | 1.32 Mb | O'Reilly The code in this Short Cut is based on a simple application: a system to catalog a collection of wine. The basics of wine can be easily represented through a relational database, and the requirements of such a system are those of any content-based application: create, read, update, and delete operations (CRUD), search, and browse. A quick specification of the application would look like this: - The system should model the main characteristics of a wine: its name, price, producer, region, and one or more grapes used in its production. - The user should be able to retrieve wines by various fields: search by title, list recently added items, browse by related fields (e.g., show all wines made with Chardonnay). - The system should allow only admin-level users to add wines to the database, but allow public visitors to rate or add comments on a wine. In some cases we will show an entire feature set. More often we will demonstrate just some of these features, to contrast their implementation in one framework with their implementation in another. See full article |