Timeline for In MVC, can/should basic data retrieval from the Model be done in the View?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 1, 2013 at 10:40 | comment | added | Adam Westbrook | Good points, you're right this is based on CI, though I removed some of the specific syntax for clarity. I've got into the habit of 'autoloading' pretty much everything for largely time and DRY reasons, seemed a bit mad to have a lot of the same load->model in most controllers and methods. Not using a proper autoload function is one of the things I most dislike about CI's backwards compatibility, but that's a whole other discussion... | |
| Jan 31, 2013 at 20:15 | history | answered | msanford | CC BY-SA 3.0 |