11 Replies - 1166 Views - Last Post: 16 December 2010 - 04:57 PM
Posted 13 December 2010 - 05:09 AM
because then i will have to learn how to use codeigniter and will take more time to understand it i have a brief understand of it, will it just be easier to do it without an MVC where will be the advantages of using it??
Replies To: CodeIgniter
Posted 13 December 2010 - 11:02 AM
Of course if you don't know at least some of the principles of MVC then building your site will be more difficult anyway you code it!
Posted 13 December 2010 - 02:48 PM
Posted 14 December 2010 - 11:39 AM
Posted 14 December 2010 - 12:13 PM
Now, on the other hand the MVC that I have been building requires more coding decisions to be made per page, however everything is layed out in a way that I find very easy to get along with (maybe it is just because I'm making it).
<additional, unnecessary infrmation>
The way I like my things layed out is as such:
- Actions (d)
-- // here is where the pages actual pages are located (Controllers)
- Classes (d)
-- // classes which are used across many pages (Models)
- Modules (d)
-- Enabled (d)
--- // enabled modules go here
-- Disabled (d)
--- // disabled modules go here
- Styles (d)
-- // the standard .css and images needed for the site skin
- Templates (d)
-- // this is template bits used for each page (Views)
Now, at the moment I have set things up slightly differently than the standard MVC in that you don't have to jump through hoops to load additional views. In fact they are all loaded at once (this could be problematic if the views got large).
Posted 14 December 2010 - 12:16 PM
Posted 14 December 2010 - 12:24 PM
Posted 14 December 2010 - 01:35 PM