search

Home  >  Q&A  >  body text

angular.js - 服务器端不用view层,全部用api返回json,交给前端angularjs渲染,是否适合做电商网站?

我们的整体需求是打算前期做pc端web,后期做移动端web。
是分开pc的web用jquery + bootstrap,移动端用angularjs,还是直接上angularjs呢?
综合考虑性能(缓存)、安全性、整体的开发量、可维护性、页面SEO优化等等……
请各位大神各抒己见。

世界只因有你世界只因有你2742 days ago637

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