Live data from Hacker News

Yii Framework 2.0.0 GA

yiiframework.com

1–10 of 55 posts

Re: Yii Framework 2.0.0 GA

#2
Out of all the PHP frameworks I've used (CakePHP, Kohana, Laravel, Symfony) I have to say Yii is the one of the best.

It's hard to describe why, I think mostly because it feels like it was built and designed by one person who had a lot of experience with other frameworks and knew PHP inside and out.

Re: Yii Framework 2.0.0 GA

#3
post #2

Out of all the PHP frameworks I've used (CakePHP, Kohana, Laravel, Symfony) I have to say Yii is the one of the best. It's hard to describe why, I think mostly because it feels like it was built and designed by one person who had a lot of experience with other frameworks and knew PHP inside and out.

I agree. The only issue I had with it is that it returns records in an array instead of a Rowset object like Zend Framework. But it contains much less of the verbosity than Zend and is much easier to use and separates things like validation and authorization in a much more elegant way.

Re: Yii Framework 2.0.0 GA

#6
I'm a Yii fan but it takes some time learning the "yii" way of doing things i.e. structure, naming conventions. I decided to move on though because the community and module ecosystem are small.

Re: Yii Framework 2.0.0 GA

#7
I have a lot of fondness for Yii as it introduced me to MVC and moved me from a designer into a developer. When I went on to learn Ruby and Rails everything seemed to click together and I recognised quite a lot of what Yii had taken from Rails.

That said, I get the sweats when I have to wade into an old Yii-powered app that I wrote. Entirely faults of PHP (lack of symbols, array(...) declarations, semicolon-itis) and my lack of experience back then (no testing, fat controllers). I do miss the simplicity of deploying a Yii app, and its speed compared to Rails. The creator, Qiang, is a PHP whizz.

Re: Yii Framework 2.0.0 GA

#8
post #7

I have a lot of fondness for Yii as it introduced me to MVC and moved me from a designer into a developer. When I went on to learn Ruby and Rails everything seemed to click together and I recognised quite a lot of what Yii had taken from Rails. That said, I get the sweats when I have to wade into an old Yii-powered app that I wrote. Entirely faults of PHP (lack of symbols, array(...) declarations, semicolon-itis) and…

>Entirely faults of PHP (lack of symbols, array(...) declarations, semicolon-itis)

Sorry, but those are entirely trivial syntactic issues, and not very interesting at that either...

Re: Yii Framework 2.0.0 GA

#9
post #4

vs. Laravel? anyone?

I would also here some experts opinions on this. How do they compare on a higher level. Say a RESTful API with JSON+HAL, HATEOAS approach, Versioning, etc. the full thing for a bigger usecase like Twitter, Tumblr, Facebook, etc.

Re: Yii Framework 2.0.0 GA

#10
post #4

vs. Laravel? anyone?

A matter of taste. Try both and see which one you like best for yourself.

Agreed. They are both solid frameworks and I've used both fairly heavily. I personally find Laravel more 'natural'. I have to refer back to the documentation in Yii far more often.
Post reply on HN