Welcome Guest, Not a member yet? Register   Sign In
include "" vs $this->load->library()
#4

[eluser]Dave Stewart[/eluser]
Hi xwero,

Thanks for that insight. Yes, as you said, using load->view() appears to be the more OO solution in most cases.
I think as I get more used to CI and probably start to do more projects using it, my own framework of functions and classes will most likely be integrated within my own application folder.

Regarding my own application folder, is it possible to create a global library folder outside both the "system/application/libraries" and "system/libraries" folder?

My reasoning being that it would be really useful to be able to have a single (global) folder for ALL my CI projects on localhost, which I can then just copy verbatim to any remote hosts I work on, rather than having to copy stuff over for EVERY single CI project I start.


I saw here that Elliott Haughin moved his application folder outside of system, but I can't get this to work without an error. Any ideas?


Cheers,
Dave


Messages In This Thread
include "" vs $this->load->library() - by El Forum - 06-25-2008, 04:04 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 04:26 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 04:34 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 05:09 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 06:05 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 06:15 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 06:51 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 07:01 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 07:06 AM
include "" vs $this->load->library() - by El Forum - 06-25-2008, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB