CodeIgniter Forums
File organization/convention - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: File organization/convention (/thread-28212.html)



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

[eluser]Unknown[/eluser]
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.

Thanks!!


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

[eluser]nelson.wells[/eluser]
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.