search

Home  >  Q&A  >  body text

angular.js - The server side does not use the view layer, and all APIs are used to return json, which is handed over to the front-end angularjs for rendering. Is it suitable for an e-commerce website?

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.

世界只因有你世界只因有你2780 days ago665

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-05-15 16:55:24

    seoShould be a problem~

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再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

    reply
    0
  • PHPz

    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

    reply
    0
  • Cancelreply