• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting with CodeIgniter setup: suggestions & best practices

#51
[eluser]Jelmer[/eluser]
Quote:- If you start a new project from scratch what is the best : starting with CI 1.7 or version 2.0 I don’t want to migrate in few weeks / month when my project will be finish !!
Did you even read the original posts? It's covered the very first heading in there!

Quote:- Second question relating with css and I can add javascript
Do a forum search on "asset management", there's many solutions that might help you.
In general I'd suggest adding dirs like "css" and "images" in the same directory as the index.php, and then you can use CI's HTML helper for instance like this:
Code:
echo img('images/picture.jpg');
echo link_tag('css/mystyles.css');


Messages In This Thread
Starting with CodeIgniter setup: suggestions & best practices - by El Forum - 10-07-2010, 02:35 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.