![]() |
Best place for external data files - 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: Best place for external data files (/showthread.php?tid=6458) |
Best place for external data files - El Forum - 02-28-2008 [eluser]Unknown[/eluser] Search in the forums didn't give me any results for this. This is a question for best practice: Where would be the best place to put external data files like csv-files I want to use in my application. Put it in Code: assets->data->mydata.csv Code: system->application->models->MyModel->mydata.csv Looking forward to your suggestions Best place for external data files - El Forum - 02-28-2008 [eluser]xwero[/eluser] I think the first solution is the most logical. Specifying the directory will limit the use and could lead to copying the file because you need it in another model. I would store the data files in the application/data directory |