[eluser]pgsjoe[/eluser]
I'm beginning development of my second site and one of the things I've been wondering, that I can't seem to find information on is how to have the site set up. So, figured I'd pose the question to all of you out there for some feedback.
Here are the problems I'm encountering.
1) I have an assets folder (containing css, js, flash, etc.), where do I put it? Views folder? Root? Also, how do I link to it?
2) Most sites generally have, what, maybe three different templates. An index and two different interior pages...usually. I feel like I would set up these templates inside of the views folder (views/templateA.php, views/templateB.php, views/templateC.php). But then, where would I store the content for each page. It doesn't need to be inside of a database, so where do I put it? Or, do I load each section of content as a completely different view? Or do I store it as XML.
3) I know I've seen 'em around before, but for thread/search purposes, is there a tried and true way that you've set up your .htaccess to remove the full codeIgniter from the URL structure?
4) Is it recommended, or advised against to set up folders inside of the views folder for different sections of the site. For instance, the one I'm working on now has the main content, then two products.
I guess just all in all, what is the best practice you've found for setting up your own site?