User Tools

Site Tools


kodform4:ideas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
kodform4:ideas [d.m.Y H:i] – created kodmasinkodform4:ideas [d.m.Y H:i] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Here are some of my ideas. They are changing frequently.
 +
 +Fill free to add yours.
 +
 +===== Paging class =====
 +Probably with some kind of data_source classes to which will have same interface so that they could be easily rendered. For now I think that this should be implemented as separate lib.
 +
 +===== Attributes =====
 +Solution for adding display attributes. I think that best will be in form:
 +<code php>
 +$attribute->required->style = "color: red;";
 +$attribute->normal->style = "color: blue;";
 +$attribute->error->class = "error";
 +</code>
 +This solution is implemented in kodform4.
 +
 +===== XForms =====
 +Should have support for xforms but as separate classes or member function ( $form->displayX() ).