V
V
Vasily2016-11-05 14:30:32
JavaScript
Vasily, 2016-11-05 14:30:32

Why is AngularJS not used when creating online stores?

I recently started learning AngularJS and decided to create a graduation project on creating an online store using this framework. Searching the Internet, I did not find a single store using this technology. I understand that this technology is not intended for this, but it is better for a thesis. As a back-end, I will be using php. I am interested in what problems can arise when creating such a site, and how is it tied to the AngularJS architecture?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dmitriy, 2016-11-05
Demyanuk @WELES333

there are options when a standard multi-page site is made for the public part of the site, and a one-page site is molded for the admin panel on the same angularJS. But there are some disadvantages here,
1. The same functionality cannot be used for the admin panel and for the public you will have to write different widgets, different work schemes, this will double and complicate the work of simple things.
2. As a rule, they use the admin panel according to the principle that we have it and work with it, the simpler the better. From practice, it very rarely happens when a table or form is not satisfied, in terms of speed of work, design. In 95%, all developments revolve around the public part. Therefore, I would not do an angular for the admin panel, it is not necessary and expensive.
If a web application is being developed without SEO, then it makes sense to get confused with angularJS

_
_ _, 2016-11-05
@AMar4enko

Because online stores are nowhere without SEO, and for full-fledged SEO optimization, you need the page to return filled immediately from the server. All the stories about Google being able to execute JS on the page are talking in favor of the poor - it can do it, but no one knows exactly how it does it, and no one will rely on blind luck in terms of SEO, because this is money.
It is possible to render an Angular 1.x application on the server, but it is a huge crutch, the reliability of which leaves much to be desired.
That's why everything is done the old fashioned way. Of course, Angular can be used in some parts of the store, for example, in the shopping cart or admin panel, plus to add some interactivity to the static from the server.
If you still want Angular, then you need version 2. But I'll make a reservation right away - Angular Universal (a project for server rendering) is not an official part of Ng2, at least not yet.
You'll need skills in NodeJS and Express plus a little ingenuity.

N
Nicholas, 2016-11-05
@healqq

For online stores, there are already many ready-made CMS / templates with ready-made admin panels, accounting for everything your heart desires and more. Writing your own functionality that duplicates this data is a rather time-consuming task that will not give real profit.
So the reasons are purely financial, there are no technical problems.

S
sim3x, 2016-11-05
@sim3x

False
https://github.com/angular/angular.js/wiki/Project...
https://www.paytm.com - Indian Marketplace
www.kanui.com.br - Brazilian E-commerce
The problem is that search engines can't render js and you have to render a version for them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question