Why do I need to use php frameworks, using codeigniter as an example
It was inspired by yesterday’s conversation in ace with one under-programmer. Upon learning 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 it is not from a great mind! Take Windows programmers, for example, why does someone advise them not to write in pure Pascal, instead of Delphi, and how did it happen that si-speakers use visual studio? Today I will tell you about the benefits of php frameworks, using the example of my favorite codeigniter, highlight the main advantages of this programming method, tell how easy it is to learn, and show where to read more.
In the life of every programmer, there comes a moment 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 a thread from my friends a link to my last project, and say “ Look, what kind of CNC I implemented in the project ”, because this CNC implemented codeigniter for me, but I saved a couple of three hours, a lot of nerves, and confident in the quality of the implementation. So what good are the frameworks in general, and codeigniter in particular?
Of course, this is not all advantages, it is so, what immediately came to mind. The above list can be expressed in three words: Speed, convenience, quality.
Many programmers are afraid of everything new, because mastering a new technology takes time, it’s better to be old, but familiar than new, unknown and not always the best. I will say right away that codeigniter is better, and it took me no more than a day to learn it. Here, it should be noted that we are talking about codeigniter, because it takes much longer to learn zend. Transferring my Cms to codeigniter took me only a couple of days, and this, of course, was worth it!
“N u and cho? He completely did not open the topic! Not a line of code! Not a single concrete example! Cho for the fuck! I’ll go to Google, a breakdown in more detail, for codeigniter ... "
And if these are your thoughts, then I have achieved my goal. The purpose of this article was not to teach you how to program in 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 smartly.
Your voff.
Before you start
- Attention! It is important to understand that codeigniter makes life easier only for those programmers who know php at a good level! If you are just starting to program, then while you study ...
- Codeigniter implements only the basic functions, for example, working with the database, CNC, paging records, calendar output, 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 ... to the extent possible ...
Why use codeigniter.
In the life of every programmer, there comes a moment 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 a thread from my friends a link to my last project, and say “ Look, what kind of CNC I implemented in the project ”, because this CNC implemented codeigniter for me, but I saved a couple of three hours, a lot of nerves, and confident in the quality of the implementation. So what good are the frameworks in general, and codeigniter in particular?
- Allows you not to bother with trifles, and focus on the logic of the project.
- Saves a ton of time
- All your projects will have the same file structures, which eliminates 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 competently than you would implement them yourself.
- Extensibility. If you need an implementation of some function, and you are too lazy to write it yourself, it is very likely that you will find the right plug-in for codeigniter on the Internet. Also, if you have your own implementation of the function you need that you constantly use in your projects, nothing prevents you from designing it as a plug-in (Helper).
Of course, this is not all advantages, it is so, what immediately came to mind. The above list can be expressed in three words: Speed, convenience, quality.
Switching to codeigniter
Many programmers are afraid of everything new, because mastering a new technology takes time, it’s better to be old, but familiar than new, unknown and not always the best. I will say right away that codeigniter is better, and it took me no more than a day to learn it. Here, it should be noted that we are talking about codeigniter, because it takes much longer to learn zend. Transferring my Cms to codeigniter took me only a couple of days, and this, of course, was worth it!
Conclusion
“N u and cho? He completely did not open the topic! Not a line of code! Not a single concrete example! Cho for the fuck! I’ll go to Google, a breakdown in more detail, for codeigniter ... "
And if these are your thoughts, then I have achieved my goal. The purpose of this article was not to teach you how to program in 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 smartly.
Your voff.