Answer the question
In order to leave comments, you need to log in
Is CodeIgniter Dead?
Hello.
I've been doing web development since 2008, I've been using codeigniter since I was 11. Here not so long ago (April 2015) a new version, 3.0, was released. After reading the discussion on Habré https://habrahabr.ru/post/254603/ I got a little stupor. People write, for example, "For a good framework to come out of CI, you need to rewrite it from scratch." What is so bad about it? Small, smart, convenient, for downloading it does not require the installation of composers and anything like that. What is there in other frameworks that is not in the old CodeIgniter? Or is CI really dead?
Answer the question
In order to leave comments, you need to log in
TL;DR Yes, dead.
Yes, as it were, the very idea that the framework is a changeable part of the application is shit, as it leads to an uncontrolled dependence of the vendor's code on yours and vice versa.
It is smart just because it is small and miserable in terms of functionality. PHP is far from being a fast systems language, it's a fast decision language. If you want speed, look in the direction of java, c#, c++, golang, ..
At the expense of convenience: you are probably confusing it with the entry threshold. Touch Doctrine at your leisure, just touch it well and you will learn what the convenience of working with the database is, touch Monolog and find out what the convenience of working with logs is, touch Symfony (yes, you should smoke it normally), but it saves time tremendously.
Actually, what?)) Your application code somehow or other has dependencies, on the same CI, for example, what's wrong with the fact that dependencies will be driven by a proven and powerful system, with autoload generation and other goodies?
For starters, they have today and the future))
Symfony, in comparison with CI, has:
* Architecture and a powerful methodological base.
Yes, SOLID guys speak here, but in CI they can’t even in MVC (Model should not process user input, this is the task of the controller !!)
* DI container for a couple with a very flexible configuration system
no moment
* There is a de facto standard for many Symfony frameworks HttpFoundation
* A powerful component for writing console applications
* Security Component security system
* A large number of powerful bundles supported by the community
He's not dead because I'm a hater and like that. But because the ideas put into it are not relevant:
* A framework is a changeable part of an application. A framework is the code of another vendor, if you want to make changes - do a fork, but do not transfer your business logic to it. The task of a framework is to make a framework, and not to implement your business logic.
* speed at the expense of functionality. As I said above - he is
*short * promoting shit practices, try to follow the following code quality requirements if you do not agree.
And yes, support for PHP 5.2.4 is not an achievement, it's a 2007 freeze
Of course, he is alive, but not in the trend. To be more precise, this is a specific product, it is not suitable for quickly creating websites, rather it is for those who like to do everything themselves, control everything and not rush anywhere. Well ... speed is in trend. For my projects, I would choose him.
What did the composer not please you, it’s quite a convenient and useful tool
Now the trend is not only the speed of site development, but also quality, and quality is, first of all, code testability, its support, scalability. When you run into this then you run into things like SOLID, GRASP. So CI is just all mired in practices that are opposite to STUPID.
If the project is not complicated, CI is suitable, if it is more difficult, then CI is also possible, but you will have to pull a bunch of everything through composer, and then you will understand that you can take the same Laravel where everything is out of the box.
What is there in other frameworks that is not in the old CodeIgniter?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question