Added by Aristide R. ZOUNGRANA, last edited by Aristide R. ZOUNGRANA on Oct 23, 2008  (view change) show comment

Labels

 
Under Construction

This proposal is under construction and is not ready for review.

Zend Framework: Zend_DataGrid Component Proposal

Proposed Component Name Zend_DataGrid
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_DataGrid
Proposers Aristide R. ZOUNGRANA
Mihai BOJIN
Zend Liaison TBD
Revision 1.0 - 11 September 2008: Initial Draft. (wiki revision: 11)

Table of Contents

1. Overview

Zend_DataGrid is a component that displays the values of a data source in a table where each column represents a field and each row represents a record. The DataGrid component supports the following features:
Binding to data source controls, such as Zend_Db_Select, Zend_Db_Table, XML, CSV, RSS...Build-in columns capabilities (text, hyperlink, checkbox, radiobox, tree, template columns...).Built-in sorting capabilities.Built-in paging capabilities.Built-in row selection capabilities.Programmatic access to the DataGrid object model to dynamically set properties...Customizable appearance through styles.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will provide extensibility to create automatically Html Table.
  • This component will provide XHTML valid output.

4. Dependencies on Other Framework Components

  • Zend_Exception
  • Zend_Paginator
  • Zend_Form_Element_*
  • Zend_View_Helper_*
  • Zend_Config_*

5. Theory of Operation

The component will displays grid in HTML, XML... formats with few renderers

6. Milestones / Tasks

  • Milestone 1: Initial class design
  • Milestone 2: Create prototype
  • Milestone 3: Finish proposal and submit for community review
  • Milestone 4: Create code-covering unit tests
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_DataGrid
  • Zend_DataGrid_Exception
  • Zend_DataGrid_Column
  • Zend_DataGrid_DisplayGroup
  • Zend_DataGrid_Column_Button
  • Zend_DataGrid_Column_Checkbox
  • Zend_DataGrid_Column_DropDownList
  • Zend_DataGrid_Column_EditCommand
  • Zend_DataGrid_Column_HyperLink
  • Zend_DataGrid_Column_Image
  • Zend_DataGrid_Column_Literal
  • Zend_DataGrid_Column_Radiobox
  • Zend_DataGrid_Column_Template
  • Zend_DataGrid_Column_Exception
  • Zend_DataGrid_Renderer_Abstract
  • Zend_DataGrid_Renderer_Xhtml
  • Zend_DataGrid_Renderer_CVS
  • Zend_DataGrid_Renderer_Exception
  • Zend_DataGrid_Datasource_Abstract
  • Zend_DataGrid_Datasource_Array
  • Zend_DataGrid_Datasource_DbSelect
  • Zend_DataGrid_Datasource_DbTable
  • Zend_DataGrid_Datasource_Xml
  • Zend_DataGrid_Datasource_Exception
  • Zend_View_Helper_Datagrid

8. Use Cases

 

9. Class Skeletons

The design of columns