Welcome Guest, Not a member yet? Register   Sign In
Is CodeIgniter right for me?
#1

Hi there,
Greetings to all as this is my first post.
I am a complete novice at this business of frameworks.
I would like to start learning and using CodeIgniter as I have read many positive reviews about it.
Though I have developed applications using php but none have utilised the MVC principles.
I have tried to learn programming by myself using examples and snippets of codes, and always try to adhere to best practice.
I would appreciate if seasoned CI developers answer a very fundamental question for me:
The question is about re-using libraries, classes, functions, etc., in a modular framework environment.
[which I suppose could be applicable to all PHP frameworks, not necessarily to CI]
Let's say that you are developing a project that needs a good search function in it.
Now you come across an open-source application and/or you have purchased an application that has got that 'desirable' search facility built in it.
Can I re-use that in my project? 

Thank you in advance for any helpful suggestion and/or advice.
Reply
#2

Yes you can, take a look at the CodeIgniter 4 User Guide on Autoloading, Modules and Libraries.

Autoload look at the psr4 and classmap.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

Hi there,
Thank you for your kind reply.
By the way, why this post is still not publicly visible/not moderated as yet?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB