@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:
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
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:
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).
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.