| | | |
| The Bar and Comment models contain a 'editdate' an | | The Bar and Comment models contain a 'editdate' an |
| d 'postdate' field.. it would have been nice if i | | d 'postdate' field.. it would have been nice if i |
| could have some sort of 'pre save' hook to set it | | could have some sort of 'pre save' hook to set it |
| in the model once.. instead of in the Controller . | | in the model once.. instead of in the Controller . |
| . | | . |
| | | |
| But i haven't searched long enough for a solution | | But i haven't searched long enough for a solution |
| ... probably there is one ... somewhere.. | | ... probably there is one ... somewhere.. |
| | | |
t | | t | ## Separation
|
| | |
|
| | | The whole "business logic" seems to go into the Co |
| | | ntroller, none of my code went into the model or v |
| | | iew .. (and the DB objects were just a perl repres |
| | | entation of the SQL schema)
|
| | |
|
| # Basic Steps | | # Basic Steps |
| | | |
| (as outlined in the tutorial.. which i basicaly fo | | (as outlined in the tutorial.. which i basicaly fo |
| llowed 1:1) | | llowed 1:1) |
| | | |
| - Create the project structure using a script | | - Create the project structure using a script |