General plan about Yii2

@samdark: well I think a lot of the flexibility can be hidden by conventions by a layer on top of Symfony2. though of course not everything and it might indeed mean that some novice Yii user will not easily understand how to hack around in the guts of things, but I am not sure if they successfully do this today (without running the big risk of adding some serious security and reliability issues). I emailed Qiang today and he said you guys might look into using some Symfony2 components.

There are two components I think you guys should look at especially:

  1. HttpFoundation

If you implement this then it will be really easy to integrate Yii to applications with Symfony2, phpBB4, Midgard CMS and Drupal 8 applications as they all know how to create and consume Requests and Responses from the HttpFoundation

  1. HttpKernel

Adding this component will give your application very HTTP aware architecture that enables all sorts of goodness that is described here:

If you are interested and have a few minutes you might want to skim this blog post:

http://fabien.potencier.org/article/49/what-is-symfony2

Amazing! :D

Personally, I like consistency and I don’t like mixing components from different frameworks. I wouldn’t like raw Symfony2 components inside Yii, just like I always hoped in native Yii components for things like feeds (rss, atom etc.) instead of relying on shreds of the Zend framework (it’s not so nice to include a framework as a “library” of another framework).

Why not ?

As long as the library you’re including is modular.

DRY.

If I have to use another framework, I just use that framework instead of Yii. Consistency and deduplication.

I found that using Yii with Zend Framework as a vendor for Mail, PDF and some API stuff is a very nice thing.

Why would Yii want to write an own Mailing Component from scratch, there are enough good ones out there…

CeBe: totally my opinion. And it also means that each one of us can have it our way.

However: don’t argue with Ekerazha. He’s quite the troll. ;)

I’ve already replied to this: consistency (exceptions management, coding style etc.) and deduplication. Dedicated libraries are borderline, but including a full featured framework into another framework is just aberrant.

Dude, I’m the user number 37 here, surely a newcomer like you can’t call me “troll”, espacially when the quality of your arguments is usually at level zero (the message above confirms this for the umpteenth time). ;) Kiss.

my proposal was to actually build Yii2 on top of Symfony2 as a set of Bundles (Symfony2 lingo for Plugins) that add the rapid development toolchain that Yii provides while leveraging all the features of the Symfony2 foundation.

at any rate it seems like the core Yii dev indeed rather consider potentially reusing some Symfony2 components as part of developing their very own framework. if this should be possible without making the results feel like a mix and match, since Symfony2 components are totally standalone. aka using one does not mean you have to use another. while they still have a common design philosophy, so yes ideally these philosophies will match that of Yii2.

anyway … we will see where things go

ekerazha, jacmoe,

Don’t start it please, guys ;)

Hi Guys!

There is an estimated date for the alpha release of Yii2?

Yes there is.

Check this thread for some info - http://www.yiiframework.com/forum/index.php/topic/29293-

Thank you Mdomba. Maybe the Yii core team needs to update the download page, now we can read:

"Note: We are currently actively developing Yii 2.0. The earliest possible 2.0 alpha release may be in March 2012, but we cannot guarantee it."

And as I can seen Yii 2.0 alpha is far from being released, and now we are in the middle of March.