Yii Framework Forum: Yii, outdated and a bad choice - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii, outdated and a bad choice

#1 User is offline   Zorobabel 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 03-January 16

Posted 28 January 2017 - 02:12 AM

Plase read the the first answer and the interview, then share your comments. Thanks.

https://www.quora.co...eIgniter-or-Yii

PS: Sorry, I wrote a wrong title, it should be " Yii, outdated and a bad choice?"
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,184
  • Joined: 17-January 09
  • Location:Russia

Posted 28 January 2017 - 05:43 AM

I think that answer is very confusing. Every framework is a set of well thought compromises. Yii is not an exception. Sometimes a straightforward solution which is often considered a bad practice is the best solution because of various reasons such as performance, simplicity or final code syntax. This is especially true if the task solved is well known and solution isn't ever going to change. This is a case for all frameworks out there I've tried without exceptions.

Calling Yii outdated doesn't seem to be correct. Bruno Skvorc is referring to 2014 interview with Mark Safronov who indeed didn't like Yii much but not because it is outdated.

At the time of the interview, 2014, dependency container in Yii was weaker in its features and was not documented properly. Now both of these issues aren't actual. Well, at least I hope people are becoming aware of container after reading official guide.

Another issue he's mentioning is about not small enough methods in some cases so one needs to copy lots of code when overriding. This is being constantly improved with each release and I am sure that it's way better since 2014.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
2

#3 User is offline   Zorobabel 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 03-January 16

Posted 28 January 2017 - 09:36 AM

@samdark, thanks for taking the time to answer this topic.

I think Bruno's answer is very irresponsible and biased for newbies who want to start using a framework. No silver bullet. And if we talk about speed and performance, Yii is the best choice in full-stack category:

https://github.com/k...ework-benchmark
https://github.com/k...p-orm-benchmark
http://blog.a-way-ou...work-benchmark/
1

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,694
  • Joined: 10-October 10
  • Location:Denmark

Posted 28 January 2017 - 10:34 AM

Nothing is perfect :)

Besides the fallacy of reading outdated, and highly opinionated, web-content - I think the 'article' linked to falls into the category "why I prefer [language_1] over [language_2]" - we need to realize that there is no such thing as the perfect thing.

That said, Yii 2 is for me the closest thing to perfection. :)

It is small, flexible and easy to extend/override.
You can use full blown ActiveRecord, Query Builder or DAO. Or raw SQL.
Many people don't like that Yii uses array based configuration, but I think that's what makes it great :)
It is so easy to override/extend/customize everything, from components to controllers, modules and helpers.

I have been tempted to look into Symfony or Laravel or other frameworks, but I find that they either do too much or too little. That they force me to do things a certain way, or either leave too little or too much freedom.

I still haven't found something better than Yii 2 ;)

Edit:
CakePHP 3 is quite close, though.
"Less noise - more signal"
1

#5 User is offline   Zorobabel 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 03-January 16

Posted 28 January 2017 - 12:25 PM

@jacmoe, thanks for response.

Quote

Nothing is perfect :)

True, everything in life has trade-offs.

Quote

Besides the fallacy of reading outdated, and highly opinionated, web-content - I think the 'article' linked to falls into the category "why I prefer [language_1] over [language_2]" - we need to realize that there is no such thing as the perfect thing.

The answer and the artical are the typical rants Posted Image

Quote

That said, Yii 2 is for me the closest thing to perfection. :)

I agree!

Quote

It is small, flexible and easy to extend/override.
You can use full blown ActiveRecord, Query Builder or DAO. Or raw SQL.

I love this

Quote

Many people don't like that Yii uses array based configuration, but I think that's what makes it great :)

IMO, configuration via arrays is one the awesome things in Yii

Quote

It is so easy to override/extend/customize everything, from components to controllers, modules and helpers.

Again, true!

Quote

I have been tempted to look into Symfony or Laravel or other frameworks, but I find that they either do too much or too little. That they force me to do things a certain way, or either leave too little or too much freedom.

I think Yii is very balanced about this

Quote

I still haven't found something better than Yii 2 ;)

Yes!

Edit:

Quote

CakePHP 3 is quite close, though.

CakePHP is a good framework too
1

#6 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,694
  • Joined: 10-October 10
  • Location:Denmark

Posted 10 February 2017 - 09:33 PM

Trivia:
I actually switched from CakePHP to Yii in 2009 (IIRC) and haven't looked back. Yii proved to be faster and less resource hungry.
I don't think the difference is that big any more.
"Less noise - more signal"
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users