I want to develop a new application (like ERP) with own custom gii, multisite (one app, but multisite depending on the user/company. ex: s1.example.com/company1/, s1.example.com/company2/ or user1.example.com, user2.example.com). Currently i’m familiar with Yii1. No problem with timeline. So, which one is better Yii1 or Yii2? and why? thanks
I’d say now is a good time to start a new project with Yii 2, especially if you don’t have tight time constraints. It’s in beta, so the developers are unlikely to introduce breaking changes. You can also expect the framework to be supported for much longer than Yii 1.1.x.
The different application templates and the use of new PHP features such as namespacing mean that you can produce better structured code more easily.