将 angular js 与 magento 一起使用有什么好处吗?
Is there any advantage of using angular js with magento?
Angular js 在市场上是新的,所以使用 angular js 和 magento 有什么好处?
如果是,那么有人知道我们如何在一个项目中同时使用两者吗?
Angular 在市场上不是新的,它已经很旧了。无论如何,使用 Angular(或其他客户端框架)的好处是您的商店可以快得多 - 无需每次点击都刷新页面,您可以使用 Angular 加载 data/templates .例如,使用 REST API。意思是:你只加载你需要的,服务器可以处理更多的用户。
已经有很多关于这个主题的资源,这里是一个小列表:
- https://github.com/Wildhoney/Magento-on-Angular
- http://www.webspeaks.in/2014/03/integrating-angular-js-with-magento.html
- https://firebearstudio.com/blog/moa-magento-on-angular.html
- http://www.neevtech.com/blog/2013/04/12/lightning-fast-magento-store-with-json-angularjs-and-magento-j-a-m/
- https://www.reddit.com/r/Magento/comments/33mcgq/we_did_it_we_converted_our_magento_site_to_a/
通读所有这些链接,您就会知道它为什么好以及如何实现。
Angular js 在市场上是新的,所以使用 angular js 和 magento 有什么好处?
如果是,那么有人知道我们如何在一个项目中同时使用两者吗?
Angular 在市场上不是新的,它已经很旧了。无论如何,使用 Angular(或其他客户端框架)的好处是您的商店可以快得多 - 无需每次点击都刷新页面,您可以使用 Angular 加载 data/templates .例如,使用 REST API。意思是:你只加载你需要的,服务器可以处理更多的用户。
已经有很多关于这个主题的资源,这里是一个小列表:
- https://github.com/Wildhoney/Magento-on-Angular
- http://www.webspeaks.in/2014/03/integrating-angular-js-with-magento.html
- https://firebearstudio.com/blog/moa-magento-on-angular.html
- http://www.neevtech.com/blog/2013/04/12/lightning-fast-magento-store-with-json-angularjs-and-magento-j-a-m/
- https://www.reddit.com/r/Magento/comments/33mcgq/we_did_it_we_converted_our_magento_site_to_a/
通读所有这些链接,您就会知道它为什么好以及如何实现。