Questions tagged [angular]
The angular tag has no summary.
40 questions
0
votes
1
answer
166
views
How do I encapsulate domain logic and preserve state in DDD+Clean Architecture?
(For context I am developing in Angular)
Historically my applications have tended towards the layered architecture that the Angular fraemwork leads you into.
However I feel that the next application I ...
0
votes
0
answers
48
views
Identify user session for dynamic client interaction between a Cloud application and an Angular/Pyramid application
I’m writing a web application with an Angular client and a Pyramid/Python server. I need to dynamically interface with an external cloud application, with two requirements:
When the end user approves ...
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 ...
1
vote
4
answers
491
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'...
0
votes
2
answers
1k
views
Best practice for storing a static pdf file in a web app
I've to store a static pdf with an user guide of my application.
I'm using Spring boot and Angular 12, what is the best way to store it?
Put the file on resource folder of Spring boot?
Put the file ...
0
votes
0
answers
219
views
What is the right way to update claims in identity-server 4 from Angular
I have a multitenant application where a user can belong to multiple tenants. I'm using Identity-Server 4 for the authentication.
I have two applications Angular and API. When a user is not ...
2
votes
0
answers
70
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' ...
-2
votes
1
answer
59
views
Does Angular (or other frontend framework with auto UI update) break Single Source Of Truth since using function within template should be avoid?
I know when building an Angular app (or other frontend framework with auto UI update by change detection), using function in a template is not recommended since it will result in the function being ...
3
votes
1
answer
474
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 ...
-3
votes
1
answer
496
views
React one-way data binding vs Angular two-way data binding
After hours of reading blog posts, I understand that React has one-way data binding, and Angular has two-way. But I don't actually know what that means....
React
import { useState } from 'react';
...
0
votes
1
answer
45
views
menu content link in Backend VS menu content link in UI
Goal:
Have a common and same menu content link (for instance Home, about, consumer product, support) when you are using Angular, NativeScript and Android.
Background:
The menu contain seven different ...
2
votes
2
answers
546
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: ...
-1
votes
2
answers
308
views
Should Developers Conduct Sanity Testing in Public Dev Environment, if they Tested Locally and Wrote Unit Tests?
Should Developers conduct Sanity Testing in Dev Public Server, before sending code over to QA team?
We are developing a Property Application. Our company utilizes C# .Net Core with Angular, and ...
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 ...
2
votes
1
answer
725
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 ...
1
vote
0
answers
173
views
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 ...
1
vote
0
answers
84
views
Angular integration with back-end
We're developing a big project for our company, and they asked us to use Angular even though none of the devs have any considerable experience with it. The back-end is C#/.NET Core with ABP.
My ...
1
vote
0
answers
142
views
What to do about compilation errors if ignoring them makes the app run fine?
Updating the libraries in my Angular 8/Electron app produced compilations errors eg, in Electron's menu.ts file, Also, a few of the project external libraries contain @ts-ignore lines, suppressing ...
1
vote
0
answers
147
views
Angular 8: Mixing Business and Presentation logic
I was reading about the history of Microsoft and Webforms. How people strayed away from Webforms because it mixes business logic with display/presentation logic. So when reading Angular 8, and seeing ...
0
votes
1
answer
485
views
Any possible downsides to namespacing actions for stores
For libraries like NGRX - Actions or NGXS - Actions when creating an action you create an interface or class like so:
bar-action.ts
export class Foo {
static type: string = 'bar-foo';
}
// etc ...