Our overall requirement is to do PC web in the early stage and mobile web in the later stage.
Should I use jquery bootstrap for the PC web separately and angularjs for the mobile terminal, or should I use angularjs directly?
Comprehensive consideration of performance (caching), security, overall development volume, maintainability, page SEO optimization, etc...
Please express your opinions.
过去多啦不再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