我们的整体需求是打算前期做pc端web,后期做移动端web。
是分开pc的web用jquery + bootstrap,移动端用angularjs,还是直接上angularjs呢?
综合考虑性能(缓存)、安全性、整体的开发量、可维护性、页面SEO优化等等……
请各位大神各抒己见。
过去多啦不再A梦2017-05-15 16:55:24
Let’s separate PC and mobile terminals.
The PC version should continue to render templates on the backend, otherwise it would be a tragedy if Baidu can’t even search it.
The mobile version is angular
PHPz2017-05-15 16:55:24
I am currently using angularjs+sass (using bootstrap mix-ins and variables) to make the mobile version. In fact, the mobile version considers less SEO issues and is more suitable than the PC.
It is very convenient to bind pure interfaces with angularjs, similar to SPA mode. If you use traditional js to write, you may have a lot of dom pages, but the performance is not very good