yiisoft / docs

Various Yii 3.0 related documentation
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
233 stars 69 forks source link

Do Yii3 would provide SPA turn key solutions? #90

Open ScottHuangZL opened 3 years ago

ScottHuangZL commented 3 years ago

Hi Yii Team,

I really like Yii1/2 which is enable people to build traditional web application easily and robust. We have plenty of widgets (or Kartik extensions) which were well designed and can use out of box.

SPA is more and more popular in these days. There are different approaches by different framework, such as .Net use Blazor. Or GoLang use REST+Frontend, or some people create "gin-vue-admin" to try auto generate code to easy the developments. (Some kind like Yii Gii).

The strength of Yii framework is help user to both write frontend & backend code at same framework with high productivity, the feeling is good. Or else, if we have to split as 2 set, then people have lots of other choices, such as use Go/.Net/Java for backend, and Vue(Quasar framework look good)/React/Angular for frontend. As you know PHP speed is slow from backend perspective, the conveniences are the most attracting features.

Do Yii3 plan provide SPA turn key solutions? Such as leverage Vue or React or jQuery/AJAX or whatever to enable users build single page application easily just like before we build traditional web with widgets?

Thanks for your consideration and support in advance.

Regards, Scott Huang

samdark commented 3 years ago

Do Yii3 plan provide SPA turn key solutions?

There's a possibility but right now we focus on the backend. After it's more or less released we'll see what we can do.

Overall I tend to either build PHP-only HTML-generating traditional apps or APIs consumed by client-side projects. Both these cases are more or less covered right now:

ScottHuangZL commented 3 years ago

Thanks for update, let's wait and see, thanks.