Questions tagged [angular]
36 questions
9
votes
4 answers
Functional programming - what to learn and who uses it
I'm a .Net and Angular developer who's been working with OO languages throughout my education and work history. Lately I've been thinking about spending some time with one of the functional programming languages, namely Haskell, to try and get a…

Web Dev
- 425
- 5
- 10
3
votes
1 answer
What do you unit test in your angular applications?
I am currently working in a team, which, when I joined them did not do any sort of unit or integration testing.
Over the last 2 years I have bit by bit pushed dotnet unit testing to a point where it is now considered part of day to day workflow.…

Web Dev
- 425
- 5
- 10
3
votes
2 answers
How can I protect the user password?
I am creating a MEAN stack application.
I have noticed by chance that whenever I send the credentials of the user to the backend, I can "fish" it from the network option on the browser (F12). See image?
What is the fastest and simplest way to…

Jorge Guerra Pires
- 157
- 6
3
votes
1 answer
Typescript and Angular 6 - Mapping Service Results to Data Transfer Objects
I think I am just look for a bit of code review advice. It might possibly be a methodology question?
Essentially when I am pulling data (usually from a REST request), I generate a service, then inject HTTPclient of Angular common so I can use a…

MZawg
- 403
- 4
- 9
2
votes
0 answers
Software design for an Angular highlight&comment tool
We're building a new feature for an online editor that the user will not edit the document, but will be able to highlight & propose edits on the document. Very similar to google documents' commenting feature, rather than a typical editor. The…

Bora
- 143
- 4
2
votes
1 answer
Are ViewModels within an NgRX store an anti-pattern?
I have a complex Angular app which has a large number of UI components. I have a central NgRX store. I have a 'pure' data model in the store which gets updated via the backend and via user input. Whenever the central store is updated I build several…

Journeyman
- 337
- 3
- 7
2
votes
2 answers
Should base class include unused properties of sub class?
I was looking at the angular documentation and noticed this code:
export class QuestionBase {
value: T;
key: string;
label: string;
required: boolean;
order: number;
controlType: string;
type: string;
options: {key: string, value:…

p32094
- 177
- 1
- 6
2
votes
1 answer
Angular Folder directory approach
I know the proper folder structure for an Angular application should be like this:
/app
/core module
/components
/services
/feature module
/components
/services
/models
/shared
/components
…
user282705
2
votes
1 answer
Web application demo mode or Introduction mode
I have a web-app with multiple functionalities and each functionality has multiple workflow/process. For example, Workflow A has Steps A => Step F, Workflow B has Steps A1 => Steps G1 and many more workflows. I hope I am able to explain my…

sd1517
- 151
- 5
1
vote
4 answers
Is it best practice to only use still-supported languages when developing apps?
I am looking to create a multi-page web app. I had begun the construction of this web app in angularJS when I realized this was no longer being supported. I am early enough in development that it isn't catastrophically bad to change my…

Runeaway3
- 173
- 5
1
vote
2 answers
Semantic versioning for SPA applications with a RESTful backend
I am building an Angular web application with a RESTful backend. I plan on using semantic versioning to differentiate between different releases. I've already read a bit about how to implement semantic versioning for web applications but I'm still…

Maurice
- 133
- 7
1
vote
1 answer
Angular 11 NgRx state management handling subscribe and unsubscribe in most effective way
Why I'm writing this question is to get more information and to gain more knowledge for state management and best practices.
I have been using NgRx as state management on my angular 11 project everything was fine at least I thought like…

Ibrahim S. Gerbiqi
- 111
- 1
1
vote
0 answers
Migration from monolithic Spring MVC, JSP, JQuery, Bootstrap frontend to micro-frontend
We are trying to migrate from a monolithic application to a micro-services one. On the backend we did a lot of work and now we start splitting it into REST micro-services with a well defined JSON API. Also we have an Auth service and a gateway.
But…

Daniel
- 19
- 1
1
vote
1 answer
Exchange data between python and angular with flask
I am trying to determine which is the best arquitecture to my application, I am planning to use python, mysql, angular and flask as an intermediate between python and angular.
I have all the shots of basketball matches of different seasons whith the…

agm
- 137
- 2
1
vote
0 answers
Does the React (and Vue.js) frameworks support extensibility?
Please forgive me if I am mixing up the terminology here, I'm a bit unfamiliar with it. I wanted to find a way to support extensibility in a web application; I wanted a web application that was similar to Microsoft Azure DevOps, where in the web…

michael
- 119
- 1