| | | |
| TODO - figure this out | | TODO - figure this out |
| | | |
| ** How much duplication was necessary ? (e.g. need | | ** How much duplication was necessary ? (e.g. need |
| to describe the models in the database as well as | | to describe the models in the database as well as |
| in code or xml ? / need to describe attributes of | | in code or xml ? / need to describe attributes of |
| models in models and views ?, etc.) ** | | models in models and views ?, etc.) ** |
| | | |
t | TODO
| t |
|
| | | Quite a bit in my opinion - although it might be p |
| | | ossible that it can be cut down a bit.. but .. jus |
| | | t following the tutorials.. this is my impression: |
| | |
|
| | |
|
| | | I needed to define my own SQL - and create the mod |
| | | els (perl code for DBIx::Class) by hand .. so i ha |
| | | d to define the tables, attributes and their types |
| | | twice.. (as i said, probably there is some schema |
| | | autogeneration for DBIx::Class, but the tutorial |
| | | says nothing about it) - I needed to tell the attr |
| | | ibutes a third time when creating my create and ed |
| | | it form (HTML::Widget) - there are helper methods |
| | | to create model instances from a form, and to fill |
| | | a form with values from a model instance... but n |
| | | o way (i found) to dynamically create a form based |
| | | on a model definition.. - Also .. what i did not |
| | | understand was that i had to add a custom filter f |
| | | or the TextField's so their content gets escaped.. |
| | | kind of useless imo ... why would anyone not want |
| | | it to be escaped ?
|
| | |
|
| | | |
| ** How much useless code (code which is the same f | | ** How much useless code (code which is the same f |
| or every application, view, model, ...) was requir | | or every application, view, model, ...) was requir |
| ed ** | | ed ** |
| | | |
| TODO - Too much for me .. i have to look deeper in | | TODO - Too much for me .. i have to look deeper in |
| to HTML::Widget and DBIx::Class to see how to make | | to HTML::Widget and DBIx::Class to see how to make |
| it more generic | | it more generic |
| | | |