CodeIgniter Forums
File organization/convention - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived General Discussion (
+--- Thread: File organization/convention (/thread-28212.html)

File organization/convention - El Forum - 03-04-2010

Hi all!

I am new to CI..

I wanted to know where should I put the following directories - does CI have any conventions?

The directories I wanted to use in my application are css, javascript, image etc.. in which location should I make those directories, inside the view folder?

Any suggestion will be really appreciated.


File organization/convention - El Forum - 03-05-2010

You can basically put them where ever you want, but may I suggest looking at the assets helper in the Wiki? It basically gives you a folder to organize all your images, css, and javascript, and it makes them easy to load. It gives you the ability to load other types of assets, as well.