BlockFramework/DevNotes
BlockFramework / DevNotesa few development notes .. they probably don't make too much sense to anyone but me..
1. block usecases
- Navigation view (having a 'main' navigation for a website with configurable links)
- User block (displaying information about the logged user with a link to his profile/logout/etc.)
- wiki block - display the rendered content of one wiki snip.
-
'ToC' for the wiki
- 'on demand' blocks ? - this only needs to be displayed if we are in a wiki snip
- Administration block
2. requirements
- blocks must be configurable
- blocks can be displayed more than once on a site with different configuration
- blocks have to be grouped - "block sections" - e.g. sidebar left, sidebar right, dashboard
- personalization: blocks are configurable by a site admin and can (possibly) be customized by every user
3. dashboards
dashboards are basically a collection of blocks bound together on one site ..
there should be a configurable amount of dashboards ..
each dashboard has three columns - ie. three block sections.
4. block sections for sidebars have to be predefined
there should be at least two predefined block sections: left sidbar, right sidebar. this is to assure all themes/templates can at least count on one of those two things.
5. model draft
draft of all database models which are required
Dashboard
PageConfiguration
defines general configuration for a page - e.g. if the configuration instance can be customized by the users, etc.
- user_configurable (boolean, if True all users can customize the page)
- dashboard (None for sidebars, otherwise references to a dashboard)
PageConfigurationInstance
a configuration of a whole "page" - this can either be the two block regions for a site (sidebar_left, sidebar_right) or a dashboard.
It can either be a default configuration, or specific to a user or session.
- page configuration
- user (None for the "default" region,
BlockRegion
- name (e.g. 'sidebar_left' and 'sidebar_right' - or for dashboard: left, center, right)
- pageconfiguration - every region is part of a page configuration.
BlockInstanceConfiguration
Tags:
Last Modified: 2008-04-03 08:31:30 by Herbert Poul - [ Snip Changes ] [ Wiki History ]
0 Comments
No comments yet.
Please login to create a new thread.