Questions tagged [angular]
The angular tag has no summary.
40 questions
9
votes
4
answers
4k
views
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 ...
4
votes
4
answers
863
views
Is it okay to deploy both front end and backend everytime if they are in a single repository
I have a project with .net core web api backend and angular as front end.
I have single repository for both the projects with front end and backend in their own separate folders.
I have written ...
3
votes
2
answers
371
views
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 ...
3
votes
1
answer
6k
views
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 ...
3
votes
1
answer
427
views
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 ...
3
votes
1
answer
478
views
Managing Documentation / Source Control for a Full-Stack Application Across Multiple Repos
TL;DR
I have a moderately sized/complexity web application (Angular 11) in one repo and a standalone REST API (.NET Core 3 / C#) in another repo, and am trying to figure out the most efficient way to ...
2
votes
2
answers
547
views
Should base class include unused properties of sub class?
I was looking at the angular documentation and noticed this code:
export class QuestionBase<T> {
value: T;
key: string;
label: string;
required: boolean;
order: number;
controlType: ...
2
votes
2
answers
3k
views
Should I strictly use both DTOs and models in Angular project in order to follow best practice?
I was reading these best practices for Angular project specifically for understanding models and DTOs.
What I have understood in general from different resources and the above one also is that
We ...
2
votes
1
answer
1k
views
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. ...
2
votes
1
answer
125
views
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
...
2
votes
1
answer
726
views
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 ...
2
votes
1
answer
512
views
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 ...
2
votes
0
answers
71
views
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' ...
1
vote
4
answers
492
views
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'...
1
vote
2
answers
2k
views
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 ...