File organization/convention - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: File organization/convention (/showthread.php?tid=28212) |
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. |