Sample pyramid + formalchemy application as it evolved.
Our starting point
- Enumerating models only once in model/meta.py
- edit and saveedit handlers merged
- Added a mechanism to define model-specific grids and fieldsets
- Wrong implementation of edit and delete links by adding fields to the grid
- This approach will be abandoned
- Using custom templates to implement the edit and delete links
- So far the application only worked if the models have the primary key named id
- Here we make a new table (NonId) with a different primary key just to see what it causes
- Changed the routes, the primary key is not a part of the route but a request parameter instead
- Added functions to parse and generate the primary key to request parameters mapping
- Defined a custom context factory to fetch data for given request params
- The views have been significantly simplified by this
- Moved from urldispatch to traversal
- Implemented pager and filter in traversal
- Localization of both formalchemy messages and our own messages must work
- Added support for pluralization, pluralization example.
- Defined a custom validator.
- A lot of cleanup.
- Views now accept parameters context and request instead of just request.
- Implemented a class based view for object listing, paging and filtering.