
This time, I am not going to share a tutorial with you. Instead, I would like to share a resource with you which may help you have a kick-ass beginning on the way of your web application development. So, today, there will be no code examples to share. I am happy to announce the release of ‘CodeIgniterPlus,’ a Codeigniter bundle project integrated with several popular open-source libraries and bound by an organized structure and best practices for building web applications from medium to large scale. This project is very easy to adapt as it’s in raw format instead of having heavy custom rules. Rather then, it adds a few rules that will help you keep your application source code in an organized way and, in several cases, reduce the amount of code you need to write. It’s not intended for Codeigniter beginners. If you are a beginner, you should first get familiar with Codeigniter and then come back here. You can start with my article on Codeigntier tutorial for beginners .
The CodeIgniterPlus Project:
This open-source project is hosted on Github on the following URL:
https://github.com/ranacseruet/codeigniterplus
Haven’t you used git yet? Why don’t you get started with the world’s most growing distributed version-controlling system? To do so, you can start with my other tutorial on getting started with git. However, as an alternative, without doing git clone or so, you can download the latest version as well:
https://github.com/ranacseruet/codeigniterplus/tags
Getting Started With CodeIgniterPlus:
I tried to document the basic points of this project on the documentation file(readme.md). Please read this carefully on the project page.
This includes the listing of other open-source libraries which are integrated into this project(you better get familiar with them first 😉 ). Also, list the core features you will enjoy on this project. You will also receive instructions on how to install this on your local system and get this up and running. You should be able to see a home screen like as follows:
Features Of CodeIgniterPlus:
Besides the listing of features on project documentation, I will like to explain few exciting parts of the project that may interests you:
- Composer Support(New): You can add any third-party libraries, supported via composer packagelist, the most powerful php package manager ever, into your codeigniter application.
- Bower Support(New): You can now install front-end dependencies using the Bower package manager, the most powerful front-end package manager.
- Integrated Authentication: Authentication is one of the most common features of a web application nowadays. So, I added the ‘dx_auth’ plugin for Codeigniter to this project and enhanced its coded functionality at the database layer(with doctrine) and view layer(with smarty). It includes ready-made registration, login, and forget/reset password features. So you won’t have to worry about implementing this functionality at all.
- Separate Base Controllers Based On Role: There are three different base controller on this project, to isolate the basic functionality of front end, registered user and administrators. So, if you are having your heads up concerning registered users, you just have to dig on that base controller(User_Controller), not the others.
- Best practices: This project also focuses on maintaining the Codeigniter best practices , I mentioned before. So, hopefully, as you use this, you will understand in more depth, how its making your day 😉 .
- There is no need to specify a script/style/view for a page. As this maintains organized directory structures, there is a ready generalization, which will automatically include your views/script file and style/CSS file for a specific controller function.
- Load JavaScript asynchronously: This project also focuses on the performance of your application. Nowadays, JavaScript is used a lot, which causes slow initial page loading. Here, in this project, a basic structure for JavaScript loading in asynchronous mode is given that you can follow for the rest of your project.
- Feel The Power of ORM: If you are not familiar with doctrine ORM, you should start by using doctrine with Codeigniter tutorial. As there are some functionality implemented here, you will feel how easy/efficient this is.
- Integrated CRUD Functionality for models: My another doctrine model class for codeigniter, which is being integrated here to give you ready-made crud functionality for new models.
Your Feedback And Contribution:
I am looking forward to hear back from my beloved visitors about this codeigniter bundle project. You can send your valuable suggestions/comments/feedback on the project here by commenting, which will be very helpful to me in improving it day by day. Also, as a developer you can also contribute by post an issue on Github, add some features and send me pull request, suggest me or do optimization on existing features etc. Also, if you are not clear about any specific part or feature, you are welcome to ask your question here. Happy Coding 🙂
Discover more from CODESAMPLEZ.COM
Subscribe to get the latest posts sent to your email.
Hi
I am trying to contact you regarding codeigniterplus but the contact section of your blog I don’t think is working fine and there is a problem with your facebook account too.
I think that Codeigniterplus looks great but instead of blueprintcss you should try to integrate it with twitter bootstrap as it is more popular and easy to use and also more modern css framework. Also, instead of adding the libraries as third parties (which is not wrong) but I think that a better aproach is to use sparks: http://getsparks.org/ a codeigniter package management.
I also get this error message:
Message: Creating default object from empty value
Filename: core/MY_Controller.php
Line Number: 60
Thanks for notifying about the contact form! I have fixed it. I have recived a similar request to use bootstrap on github. I also liked your idea of spark. You can additionally post on issues page about it:
https://github.com/ranacseruet/codeigniterplus/issues?page=1&state=open
I will try my best to checkout them and do the enhancements. If you want, you are also welcome to contribute as well.
Regarding your error message, can you please give me what php version you are using? It is compatible for php 5.3 . I didn’t check for 5.4 compatibility yet.
Hi Rana,
Nice work. This is something necessary and it can cut down lot of unnecessary wasted time for many.
Could you please also add sparks to ur minimum set. (or a similar package management library.)
Also I strongly suggest you add a donate button to ur website, so people can donate.
You could write a clear manual on configuring, FAQ, etc., which you can provide for a cost along with suport. This can save time to many people and cost would not be a factor.
Totally Hardcore!!!
Thank you for this great tool ! I’ll try it.
Hello Mr Rana. Thanks for your thought and innovation of CodeIgniterPlus. I would like to know if CodeIgniterPlus have multiupload feature too. If not please add this feature. If you have time. please add plupload for multiupload that would fall back to original upload lib for single files.
Hai Rana Really a great tool thanks for your sharing……
This is great tutorial on CI plus package I can use on my codeigniter framework based website. Thanks.
Thank you for this great Code, where is the file for the database (SQL)
Great tutorial ,I am new on codeigniter, could you give me the easy way to run your code, and i don`t see where is the file for database (SQL).
thanks
Alain Serge says
September 22, 2015 at 7:54 pm
Great tutorial ,I am new on codeigniter, could you give me the easy way to run your code, and i don`t see where is the file for database (SQL).
thanks
This is just awesome Rana vai. Will be great if you integrate it with integrate it with bootstrap.
By the way thanks for this projects.