Questions tagged [angular]

40 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…
human17
  • 425
4
votes
4 answers

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 pipeline in azure which builds both front end and…
3
votes
1 answer

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 include MkDocs / Read the Docs in the…
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.…
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…
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
  • 443
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
  • 153
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…
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:…
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

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
  • 147
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
2 answers

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 should have DTO to match exact response structure…
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…
1
vote
0 answers

Angular standalone components architecture

I am trying to understand the benefits/gains of using standalone components in a real project that my team and myself included are working on, and from my very humble point of view, I just can't see much and I would like to hear feedback about…
1
2 3