Flexy Ideas for changes and enhancements

Ideas for Template engine

Datagrids:



<span datagrid:pager="somevar">pager goes here</span>
<table datagrid:grid="somevar" datagrid:max="20" datagrid:httprequest="/wiki.php/datarequest/staff.html" border="1">
<tr>
<td><a href=/wiki.php/somepage.html?sort=Name&order=desc">Name</a></td>
<td>Age</td>
</tr>
<tr>
<td><a href="{ baseURL }/somepage/">{ datagrid.name }</a></td>
<td>{ datagrid.getAge() }</td>
</tr>
</table>

Rendered

pager goes here
Name Age
{ datagrid.name } { datagrid.getAge() }

Questions?

  • How is this rendered - how much is PHP side, how much should be Javascript side?
  • Look / feel should be done by CSS
  • Should it use httpxmlrequest?
    • This seems the way to go... - but makes the whole interface very complex (eg. a data provider etc. is required..)
  • Sorting
    • send request down the line..
  • Paging..
    • how much could this be styled??
  • How much work should the datagrid do?
    • full interaction with get/post?? - bit of a no-no?
    • how much backend config is required??




Add a comment (requires javascript!)

Name
Email
Homepage
Comment
 

Edit Document | Create Page:
Contact me at alan@akbkhome.com