Welcome Guest, Not a member yet? Register   Sign In
Best practice question
#1

[eluser]mihaibaboi[/eluser]
Hello,

I have this curiosity about something I've seen on the web. I've been watching different tutorials on the web, especially the ones by Jeffrey Way (hope I spelled the name right) over at net.tutsplus.com

I saw that every time he does a fresh install of CodeIgniter, he takes the application folder out of the system folder and I never understood why. Is there some real advantage to this technique, or is it just preference. Why would I want to do this, or avoid doing it?

Thanks
#2

[eluser]jrtashjian[/eluser]
It's usually by preference. However, if you want to run multiple applications off of the same CodeIgniter system directory, you would have to move it out.
#3

[eluser]wiredesignz[/eluser]
If you like to apply CodeIgniter updates, then you won't overwrite your application with the CI default. Not that there are that many updates to worry about. Wink
#4

[eluser]jrtashjian[/eluser]
^ ZING!
#5

[eluser]mihaibaboi[/eluser]
[quote author="jrtashjian" date="1289888356"]However, if you want to run multiple applications off of the same CodeIgniter system directory, you would have to move it out.[/quote]

Very good point about multiple applications running off the same system folder, I didn't think of that.

[quote author="wiredesignz" date="1289888531"]If you like to apply CodeIgniter updates, then you won't overwrite your application with the CI default. Not that there are that many updates to worry about. Wink[/quote]

I thought of that, but I don't think that's a problem. It would be, if you use a repository and update automatically, but if you download the archive from the website, you could just delete the default application folder before overwriting.
#6

[eluser]pbreit[/eluser]
And in CodeIgniter 2.0, the /application folder is not in the /system folder.
#7

[eluser]mihaibaboi[/eluser]
[quote author="pbreit" date="1289954961"]And in CodeIgniter 2.0, the /application folder is not in the /system folder.[/quote]

I actually noticed that in the repository, but I didn't know if it was going to be like that in the final release.




Theme © iAndrew 2016 - Forum software by © MyBB