Welcome Guest, Not a member yet? Register   Sign In
Getting feet wet-- couple of "best practice" questions
#13

[eluser]mddd[/eluser]
@Fumigator:
If you use urls like css/mycss.css then yes that is a problem because a file that is accessible from / will not be accessible from /mycontroller/mymethod.
I always use "semi relative" paths. Like /css/mycss. They are easy to type and read in your view and have no problems if you change domains or subdomains.
I know, it is a bit less flexible because you can't put the whole CI structure in a folder but it it very rare that I want to do that.


Messages In This Thread
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-08-2010, 01:24 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-08-2010, 02:35 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-08-2010, 04:13 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-09-2010, 12:40 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-09-2010, 07:11 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-09-2010, 07:48 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-12-2010, 02:17 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-12-2010, 02:37 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-12-2010, 03:28 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-13-2010, 07:11 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-13-2010, 11:10 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-13-2010, 11:49 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-14-2010, 12:37 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-19-2010, 03:48 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-20-2010, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB