AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability and reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications.
0
votes
0answers
3 views
What design pattern to use in Angular SPA?
I am working on a large SPA and using Leaflet API for plotting maps.
The directive/controller method has been increased to 300 LOC. But,
I am unable to break it into services in factory primarily ...
0
votes
1answer
61 views
Front end engineering : Best way to implement a step by step check out cart
I have implemented a checkout cart like this :
Navigation rules are as follows :
User can move to next step only on completing the current step.
But he is free to click on the previous tab and edit ...
-3
votes
0answers
28 views
Communication between multiple client (UI) micro-apps (micro-services)
I am to convert the monolithic client(UI) application for our project to multiple micro apps.
The basic necessity of doing this is to ensure that a change in a particular micro-service will not ...
-3
votes
0answers
38 views
Building micro-services for Front-end (AngularJS)
I planning learning about micro-services as I want to build Micro-services for front end.
On several blogs, GitHub posts, I see that micro-services are mostly used for Backend servers.
However, I ...
0
votes
1answer
36 views
Stateful Single Page Application with ASP.NET Core
I'm building a simple shopping cart using Angular and ASP.NET Core with. There is no login require and user can always checkout and make payment as a guest. The front end would be built with Angular, ...
0
votes
1answer
55 views
Design Patterns for drawing a custom graph in a webapp
I am building a web application which is meant to help display prices of products. The web-app is centered around showing prices in a custom bar chart. I am thinking it should be composed of a Model ...
6
votes
4answers
389 views
Better ways than traditional polling methods
I'm currently in a AngularJS/Javascript environment.
Currently the application using the polling method (i.e, to retrieve new data from server in a fixed amount of seconds).
This is quite taxing ...
0
votes
0answers
22 views
How to make my E2E tests verify results of an action?
I'm working on a project with an AngularJS app that talks to a RESTful API. We've just started writing E2E tests for the app in Protractor. I'm fairly comfortable with unit testing but new to end-to-...
0
votes
1answer
44 views
AngularJS - is there a good reason why unit testing of angularJS controller should still be written alongside with e2e tests?
Given the official tutorial of angularJS,
https://docs.angularjs.org/tutorial/step_07#testing
It is apparent that it only tests the controller's states (e.g. its model) when events happen (e.g. ...
0
votes
1answer
520 views
Single page app vs multi page application?
My experience has been using the hybrid approach per use case demand:
Where content on same page needs to be updated, we used AJAX/SPA approach
But when the page has a completely different layout/...
0
votes
0answers
95 views
Does Angular2 or Angular4 offer an app state and middleware promise like React / Redux?
I used Angular 1 and React / Redux, and one thing I like about React / Redux is that there is a definite app state, and a middleware that can convert a promise into real data.
In Angular 1, we often ...
3
votes
1answer
168 views
Is it true that for both React or Angular, they are also both “convention over configuration”?
In the Ruby on Rails communication, it is often said that RoR is "convention over configuration".
Can you say for React / Redux / Flux and AngularJS, Angular2, they are also "convention over ...
0
votes
0answers
57 views
What are architectural approaches for converting large multipage apps to use new JavaScript frameworks?
We have many siloed legacy multipage applications. For example, a personal information collection application may contain four or five HTML4 form based applications. The backend is based on Spring ...
3
votes
1answer
93 views
Does AngularJS or Angular 2 provide something similar to the Redux middleware so that AJAX data appear immediately available?
I am learning React / Redux, and one feature I like is, when you fire off an Action, you actually provide a request as the "result" or what is called the payload in Redux, and the Redux middleware won'...
0
votes
1answer
63 views
Automatically update and test npm dependencies
I would like to automate the following sequence of events;
A new version of Angular is released on Github
'Something' triggers causing all our angular applications to update their npm dependencies ...
3
votes
1answer
116 views
Communication between Angular directives and their parent controller
I'm trying to provide a convention, or standard, for a parent controller to communicate with a directive in Angular.
Basically the directive will have a "settings" object containing callbacks and ...
-2
votes
3answers
156 views
what is better way to architecture project
I am pretty new to angular.js world. I wanted to know best architecture for my solution. I have 4 projects in my solution. First is angular.js app solution which has below structure. Is this correct ...
-1
votes
1answer
151 views
I'm building an app with Node, Express, and MongoDB. Is AngularJS necessary?
Node, Express, and MongoDB are really connected so I can understand why they are frequently used together. For a web app of medium complexity, can I get away with only using HTML/CSS and EJS for the ...
0
votes
0answers
70 views
Angular and desktop
I'm reading about Angular on their website here: https://angular.io/features.html, and I see the following:
Cross Platform
Progressive web apps - Use modern web platform capabilities to ...
0
votes
1answer
75 views
Should client-side model contain foreign keys to extract data already on client
I'm currently building the front-end of an application using AngularJS. I don't have a whole lot of knowledge about the back-end, but some of the data I'm being served by the back-end developer is ...
1
vote
0answers
54 views
Best way to handle access to web dashboard displayed on “dumb” screen
My web application has a dashboard page written in angularjs that is intended to be displayed on a screen in a room as a way of monitoring the information therein.
It's a dumb screen connected up to ...
0
votes
0answers
156 views
Is this flux design for angular good?
I am currently on an angular 1.x project, and we are about to add user interactions that will cause data changes.
We already identified some flows in our app that seem like flux might resolve, so we ...
0
votes
0answers
32 views
How to implement forms with almost same fieldsets used in two pages?
I use AngularJS 1.5.
In my app I have a registration page(controller1 + template1) with form1. After registration user can change his data on his personal pages form2(controller2 + template2).
The ...
0
votes
1answer
67 views
How should I prepare my SVG for production? [closed]
I have a project in Angular1.x using a lot of SVG files.
I have no idea what to do to SVG files to prepare them for production.
I don't want my page to invoke 50 calls to different SVG files. So ...
5
votes
1answer
249 views
Order and filter Server-Sent-Events in angular.js eventsource
I have a Client in AngularJS where I consume multiple SSE (Server-Sent-Events) in Java from the Server Side (there are multiple endpoints in different web servers in the backend). Diagram link
I ...
0
votes
0answers
129 views
How to use two dependent APIs in one application
I spent the last hour reading meta if my question fits better to SoftwareEngineering or StackOverflow. I ended up that this is the place.
I am on start of developing a website (and then a mobile app) ...
6
votes
2answers
572 views
RESTful API communication between multiple web servers
I'm trying to understand RESTful communication, but I still have a few doubts.
I have a main web application (on the right side of the Architecture) made in AngularJS, which shows data coming from ...
-2
votes
2answers
240 views
Understanding Backend
I recently got into website development and am in the process of making my first website using Angular 2 right now. I already created websites in the past using basic HTML and PHP but that was nothing ...
0
votes
0answers
56 views
managing complex web forms
I work on an application, the core of which is a very complex set of web forms. The source of this complexity
scale, some forms contain about 50 pages, which up to 30 questions on each page
complex ...
0
votes
1answer
87 views
Understanding webpack and other module loaders
I am a bit confused regarding module loaders Like I am using webpack which load modules as chunks but it is only while developing When the code gets minified it will be a single file for all scripts ...
0
votes
1answer
192 views
Best way to rewrite an mvc application to an angular architecture
We have an mvc application that we would like to gradually move to an angular platform. It is a wizard style app with 6-8 pages.
We currently have a classic mvc layout. We would like to move to an ...
0
votes
0answers
37 views
Redirect user to application based on role
I've asked this here rather than stack overflow as it is more of a concept question, rather than a coding bug/error.
I've inherited an old MVC4 project. We want to slowly start to retire it, and ...
0
votes
2answers
82 views
AngularJS controller definition
I'm beginning using AngularJS (v1) framework, and after browsing good practices I found those examples (from this page https://github.com/johnpapa/angular-styleguide/tree/master/a1), like :
/* ...
-3
votes
1answer
155 views
What is best one between JSF and angular for java hibernate,spring,strut application?
I want to develop application using java frameworks(spring,hibernate,strut). This application has large complex operations.I want to know what is the best between JSF and angular? As well as i want ...
0
votes
0answers
364 views
Best Approach for Multilanguage Website - ASP.NET MVC Routing vs AngularJS Routing Translation
So I am building my website with the option for changing language on the entire website, now it came up the question to my mind.. should this be done my the server (using in my case ASP.NET MVC) ? I ...
1
vote
2answers
90 views
How can I tell when the Angular2 online documentation (or any website) changes?
I'm trying to keep up-to-date with the latest-greatest from Angular2, in part by carefully reading the official online documentation. Is there a way to be notified or at least to figure out relatively ...
0
votes
1answer
46 views
REST API crossresource operations structure
I'm wondering what's best practice in next use case:
I'have a view that displays data for 3 resources User, Company, and CompanyType (chosen in select, can be added dinamicaly so it's not enum).
What ...
2
votes
1answer
145 views
In a JavaScript method signature what is meant by a return type of `typeof blahBlahBlah`?
I've seen an API list methods with both of the following signatures:
methodA(...) : ReturnType
methodB(...) : typeof ReturnType
I understand the first but not the second.
My question comes ...
0
votes
1answer
24 views
How should I balance memory with network latency on a paginated table?
A web application I'm working on has a tool that queries a database and returns up to several thousand rows. When considering pagination, at what point does it make more sense to get the entire result ...
0
votes
0answers
29 views
Socket.io takes time to load up, what to do while the page is connecting…?
For a real-time forum app I'm working on currently.
It takes about 1-5 seconds for the sockets on my node.js server to connect and deliver the first payload, which is some database results from mongo....
2
votes
0answers
48 views
How to wireup the Edit Functionality of a Entity and make REST API when it contains Dropdown Values
I am having a scenario wherein we have a Product Entity or a Front End Module which can be Added, Edited and Deleted.
Now Product ( when added or edited) can contain a Dropdown called as ...
0
votes
0answers
81 views
Dashboard architecture with many widgets
I work on a web application, a dashboard that displays account movements for a client or a group of clients between two dates
and many widgets of computed data based on these movements. For example, ...
0
votes
0answers
351 views
How to design the state tree using redux?
In the last days I have searched for a documenation on how and when is it best to use redux and how to design the state tree.
My research ended in the conclution that there is no one currect answer.
...
0
votes
1answer
493 views
When do I use square brackets around routerLink in Angular2?
In Angular 2 (currently 2.0.0-rc.6), routerLink is used as a directive to indicate a path we wish to follow in our routing, e.g. in response to clicking a link.
However, in the documentation both of ...
5
votes
1answer
207 views
Globally interesting state in angularjs
I've created maybe five services like RoleService, AuthService, etc. Each of them has some state (e.g., RoleService.role, AuthService.isLoggedIn) affecting a lot of controllers and some other services ...
0
votes
2answers
471 views
Scalable Angular SPA Architecture
I am developing an Angular SPA and I am currently in the design phase. I have created a sample architecture which I am planing to use in my SPA but I would get some feedback because I want the ...
0
votes
0answers
185 views
Difference between .net mvc model binding and angular js model binding
I am very new in angular js.I am confused what is the 2 way data binding in angularjs.
Suppose In my mvc4 application i have bind the model with the view and user changes the value of a textbox which ...
4
votes
0answers
2k views
Composing large Angular 2 app with multiple small apps within
After long 3 months of debate and research in choosing between React (with Redux) and Angular 2, front-end team in my company has concluded to go with Angular 2 (given that it is more suited for our ...
0
votes
1answer
227 views
Populate User info between services on microservices architecture
I'm working on a microservices architecture which contains a couple a REST API as a services and a SPA as an interface. In addition, there are an "special" (is not speacial at all, it just special ...
2
votes
0answers
350 views
Different type of MEAN Stack Architectures
I am reading a book (Getting MEAN by Simon Holmes) about MEAN Stack which talks about different architectures that can be used while developing an app in MEAN Stack and I got a little confused with ...