It was inspired by yesterday's night talk in the ace with one non-programmer. Having learned that I use codeigniter in my projects, he doubted my professionalism ... And, as I understand it, this is not only his opinion, many do not recognize the framework, and I will tell you that this is not from a great mind! Take, for example, windows programmers, why does someone advise them not to write on pure Pascal, instead of Delphi, and how did it happen that si-shniki use visual studio? Today I will tell you about the benefits of the php framework, using the example of my favorite codeigniter, highlight the main advantages of this programming method, tell you how easy it is to learn, and show you where to read more.
Before you start
- Attention! It is important to understand that codeigniter makes life easier only for those programmers who know php very well! If you are just starting to program, while you learn ...
- Codeigniter implements only basic functions, such as working with a database, CNC, paginated output of records, output of a calendar, upload files ... That is, the most common, most of the functions you still have to write yourself.
- Codeigniter does not do your job for you, it only helps you ... as far as possible ...
Why use codeigniter.
In every programmer's life, there comes a time when speed and quality of development come to the fore. This means that the programmer has become a professional. That is, I can’t give anyone the thread from friends a link to my last project, and say “
Look, what kind of CNC I implemented in the project ”, because this CNC implemented for me codeigniter, but I saved a couple of three hours, a lot of nerves, and confident in the quality of implementation. So what's good about framework in general, and codeigniter in particular?
- Allows you not to bother with the little things, and focus on the logic of the project.
- Saves a lot of time
- All your projects will have the same structures in the files, which rejects questions like: “Damn, where did I put the config for the database, half a year ago, when I wrote this fucking script ?!”
- Many functions in it are implemented more intelligently than you would implement them yourself.
- Extensibility If you need an implementation of some kind of function, and you are too lazy to write it yourself, it is highly likely that you will find the necessary plugin for codeigniter in the Internet. Also, if you have your own implementation of the function you need, which you constantly use in your projects, nothing prevents you from arranging it as a plugin (Helper).
')
Of course, this is not all virtues, this is so, what immediately came to mind. Express the above list in three words:
Speed, convenience, quality.Switch to codeigniter
Many programmers are afraid of everything new, because mastering a new technology takes time, better old, but familiar, than new, unknown and not always the best. I will say right away that the codeigniter is better, and it took me no more than a day to study it. Here, it should be noted that we are talking about the codeigniter, because the development of zend'a will take much more time. The transfer to my Cms codeigniter took me only a couple of days, and that, of course, was worth it!
Conclusion
“H
y and cho? He absolutely did not reveal the topic! Not a line of code! No specific example! What for! I'll go to Google, try more in detail, cho for codeigniter ... "
And if it's your thoughts, then I got my way. The purpose of this article was not to teach you to program on codeigniter, I just wanted to interest you, tell you about this technology, and other sites will teach you:
http://code-igniter.ru/ - CodeIgniter in Russian.
http://codeigniter.com - Official site.
Program intelligently.
Your voff.