R
R
Relike2015-04-06 13:55:01
Yii
Relike, 2015-04-06 13:55:01

Is it worth switching from CodeIgniter to modern frameworks?

Hello. I have a problem. I develop on CodeIgniter and then one more experienced developer on the forum said to me: "Drop it, CI is outdated." And really, is it worth switching from CI to Laravel5 or Yii2?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
E
evnuh, 2015-04-06
@Relike

I advise the author of the question to carefully read all the answers and find at least one objective minus of CI (not subjective) from those mentioned. (including asking them from your adviser, who advised you to leave CI)
- "Do you stupidly write methods for working with the database in the Model"? Are you seriously? And that's it? Excuse me, what do you want? Wanted automatic binding to fields from the database? I doubt that there will be an application that would not need filtering / transforming fields and properly expanding relationships between tables without manual code. Show me models in Yii for an average site size, there are even more crutches for filtering and converting fields for the database than you would write in manual code in CI.
Well, yes, I rarely meet a PHP framework programmer who would understand how it works and use all the advantages of the framework exactly as the author of the framework intended. The comments above confirm this, judging by the fact that they have all the code in the controllers. Their hands are crooked, and not "the framework does not help at all."
CI is extremely simple, it is the very "framework" that does not think out for you, but allows you to implement everything yourself. Hence its speed, ease of learning and extremely understandable code.
Well, plus to everything - it is absolutely not outdated. Two weeks ago, version 3 was released, commits every day. Or are you so afraid of the lack of namespaces and PSR?

6
65536, 2015-04-06
@65536

let me post one quote about frameworks (sorry, not about everything):
"About 4 years ago, in a similar post, I already made an easy comparison of frameworks. Let's continue the tradition, fucker . However, now I have matured and I can swear a lot. 2) Kohana
3. I used to praise him, now he's dead too. It just started to stink, but he's still a cunt.
3) Yii. I still use it. I've been working with him for 4 years now. Bad code style in the framework code itself.--A bunch of js libraries that are not needed in the core itself.--Tight developers, it would be possible to update more often.
Otherwise, it's normal. A sane extension has finally appeared for mongo - mongoYii.
4) Yii 2. It seems like they did some work on the bugs. PSR is bullshit. But at this rate, I'd sooner be covered in cadaveric worms than it would release.
5) Zend. As was incoherent enterprise shit, and remained.
6) Symfony. As he was a monstrous self-generated shit, he remained. But for the Twig template engine, I would lick Fabien. For some reason I like him. template engine.
7) Laravel. Everything is good, very promising. But, fuck, the lack of validation mechanisms in models is a fucking shit. Light hash with code style.
8)FuelPHP. It seemed like everything should have been fine, but things slowed down. The same bullshit with validation as in Laravel. Were they all screwed up there? But with naming things are even worse here. A complete mess of CamelCase and undescore makes me mourn as a perfectionist. So hard to spend one couple of days on refactoring?
9) Phalcon. The main generator of malaffe among phpshniks in 2013. An interesting idea, good speed, but there are a few "buts": - You can forget about small projects on shared hosting. Only own servers, only hardcore! –– I often use Go to Declaration in the IDE, for example. Where should he go with Phalcon? in dll? I saw that some Developer Tools appeared, but it only seems to be for PhpStorm. So it's still stupid bullshit. ––And subjectively: it's kind of…rail or something, as if it lacks flexibility. Maybe I misunderstood, I do not rule it out at all.
10)Lithium. This is complete bullshit. Brainfuck among PHP frameworks. Trash and sodomy. Chad and fumes. Drug addiction and epilepsy. Fuck and pussy. It's like owning an antique Alfa Romeo on the salary of a mall security guard. It just needs to be embraced."

S
Sergey Gladkovskiy, 2015-04-06
@SMGladkovskiy

Yes. :)
At least for the sake of finding out how php lives now, what are the trends and trends. Well, learn about the magic that envelops it all (hello, laravel!).

R
Rikcon, 2015-04-06
@Rikcon

Of course it is, it is hopelessly outdated.
I also wrote a couple of projects for hire + finished about 3.
Nothing interesting, you do everything absolutely by hand, the framework practically does not help in any way.
Take the same models, which are essentially just a class in which we write our methods.

F
FanatPHP, 2015-04-06
@FanatPHP

Rumors that CI is hopelessly outdated are hopelessly outdated.
Just a few days ago, version 3.0 was released

M
Maxim Grechushnikov, 2015-04-06
@maxyc_webber

yii2

R
redalert096, 2015-06-19
@redalert096

C is popular in the west, seems to be the second most popular after lara. I think he is better than Lara in fact, just less advertised.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question