简体   繁体   English

HTML,Angular Js和Css用于电子商务网站开发

[英]HTML, Angular Js and Css for ecommerce website development

Currently we are developing a ecommerce webapplications in asp.net and now we are planning to move to new architecture for a better performance and it should support hybrid mobile app using cordova. 当前,我们正在asp.net中开发一个电子商务Web应用程序,现在,我们正计划迁移到新的体系结构以获得更好的性能,它应该支持使用cordova的混合移动应用程序。

We are planning to develop Ui with HTML, Angular Js and Css and Asp.net MVC WebAPIs for server side. 我们计划在服务器端使用HTML,Angular Js和Css以及Asp.net MVC WebAPI开发Ui。

We have done lot of R & D and discussing about architecture. 我们已经进行了大量的研发工作,并讨论了架构。 We thought this is the right place to get the right answer. 我们认为这是获得正确答案的正确地方。

Please clarify below points 请澄清以下几点

1) In ecom, we need maintain a basket details before login and the same basket to be available to the user after login. 1)在ecom中,我们需要在登录前维护购物篮详细信息,并在登录后为用户提供相同的购物篮。 So how do we maintain the basket as a session concept in asp.net 那么我们如何在asp.net中将篮子作为会话概念进行维护

2) In ecom, We have 30 to 40 pages will be there. 2)在ecom中,我们将有30至40页。 so how do we incorporate the same with Angular as we know that angular suitable for single page applications 所以我们如何将Angular与之合并,因为我们知道Angular适合单页应用程序

3) Do we require more javascript expertise in development team. 3)我们是否需要开发团队中更多的javascript专业知识?

4) How do we maintain the security about the loggedin user information. 4)我们如何维护登录用户信息的安全性。 5) How do we solve issues with angular js like cross site scripting, hacking, session fixation etc... 5)我们如何解决角度js的问题,例如跨站点脚本,黑客,会话固定等...

1) I don't know how much you need to know, but about the session, asp.net accept casting in sessions, like Session["basket"] as BasketViewModel or something like that. 1)我不知道您需要知道多少,但是关于会话,asp.net接受在会话中进行强制转换,例如Session [“ basket”]作为BasketViewModel或类似的东西。 So if you put your basket information in a Session and you can retrieve it later as I said before. 因此,如果您将购物篮信息放入“会话”中,然后可以像我之前所说的那样稍后进行检索。

2)It depends how you plain to structure your application, if you want to create the system complete SPA, you can use routes and partials presents in angular. 2)这取决于您如何简单地构造应用程序,如果要创建系统完整的SPA,则可以使用成角度的路径和局部显示。

3)AngularJs needs a good understanding in JS, specially if you want to develop a ecommerce. 3)AngularJs需要对JS有很好的理解,特别是如果您想开发电子商务。

4)Most people like to use Token authentication when dealing with SPA application. 4)大多数人喜欢在处理SPA应用程序时使用令牌认证。 if you look for AngularJS Token Authentication you going to find a lot of resource about it and how it works. 如果您寻找AngularJS令牌认证,则会发现很多有关它的信息以及它的工作方式。

5)Angular comes with a library called sanitize, that helps in some of this issues...since it's a client side app, the heavy part about security is placed on the restapi... 5)Angular附带了一个名为sanitize的库,它可以解决某些问题……由于它是一个客户端应用程序,因此有关安全性的大部分内容都放在了restapi上……

hope it helps 希望能帮助到你

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM