[eluser]pokerking[/eluser]
1. Root directory is my website:
2. System directory level.
3. There is application level
4. My application level.
Too many layers...
Every time i look at the directoyry structure in Eclipse , i could n't find which file i was working...mainly because duplicating directory structure in application level and system level confuses me. System level is support is enough and there i sno need to duplicate in application level same directory structure.
So i removed all application level directories of CI and replace all views with smarty templates. it will take care of html template caching
A good framework will give option ...i see every framework comes with its own template view crap. Zend frame work view is also crap. Smarty does adequate job for me.
I have my own mem cache for object level caching and i use my own DB mapping.
So i scrapped application level CI directory structure because it is duplicating directory structure.
I don't like to hack stuff but i want to keep my development separate from all framework codes. Framework has to sit on top of my application and provide basic infrastructure services.
CI is too binding... only routing is simple and transparent in CI. Also benchmark class is helpful.
I also want to have Global output class. Mainly for debugging as some of my output can be json or something else. So i want to add up all output in low level layers and encode it before send it to browser. At presnt $this->output available only to controller. And i do not do anything in controller except routing further down.
Anyway .... i doubt anyone use multiple application with system directory structure.
This is what i like the directory structure to be.
SYSTEM
ALL CI directories including config , libraries
APPLICATION ( NO CI files in APPLICATION DIRECTORY )
app1
have its own custom set of directories.
app2
app3
That is what i would do . I do not like to mix framework code with my application business flow. That way i can take it and run to another framework or create my own if this break.