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 ...
4
votes
4
answers
843
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 ...
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 ...
0
votes
1
answer
99
views
Alternative ways to transfer records from one environment to another
I'm working on an application which has a feature of syncing records between two environments. For example, a record A is created in environment A. After a user verifies it, the user can use the sync ...
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 ...
0
votes
0
answers
54
views
How to Web Distribution like Firebase App Distribution?
I am looking for a way to let Web QA tester to test website with specific version. So, Web QA tester can say things like "this X is broken since version A.B.C".
The current test/release ...
1
vote
4
answers
490
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
0
answers
406
views
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 ...
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
2
answers
1k
views
How to separate UI and business logic when they are intertwined by design
I am refactoring a legacy codebase of an Angular SPA.
The central entity of the app is the chat room, and there is a plethora of ways on how to enter a chat from different views all across the app. ...
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 ...
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 ...
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' ...
1
vote
1
answer
985
views
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 ...
-2
votes
1
answer
58
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 ...
-1
votes
1
answer
577
views
Angular how to organize code in component and service
I have an Angular componente with two childs that requieres to share some data extracted from a http request. A service perform all the http request, and the parent component gets that data and ...
3
votes
1
answer
473
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
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. ...
-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';
...
-1
votes
1
answer
215
views
Angular: send form or object?
My question is about clean code or best practice. I have a big formGroup and in my opinion its more difficult to map the form to an object than to send the form to the backend.
best regards
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 ...
1
vote
0
answers
869
views
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. ...
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: ...
0
votes
1
answer
2k
views
Test driven development on front end?
When reading through internet, I've seen people are really into testing the front end applications. Some of them also say that they will never hire someone on front end who doesn't have testing ...
-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
1
answer
425
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
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
122
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
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 ...
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 ...
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 ...
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 ...
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 ...
2
votes
1
answer
511
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 ...
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
votes
1
answer
62
views
Can Ionic apps be easily ported as a Web Application?
I am newbie to angular and Ionic world and trying to figure out the right stack to get started with my requirement to develop a hybrid mobile app.
I understand that Ionic is a wrapper around other ...
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 ...
1
vote
1
answer
2k
views
Node and Angular two separate applications or a single application?
I am a java developer. Since one of our developers are leaving I was handed over a project he was maintaining. He says it is a node + angular js project. But as per my understanding, backend should be ...
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 ...
1
vote
0
answers
241
views
How to avoid coupling of domain objects with UI data in a store-based Angular app?
The state of my TypeScript/Angular app contains objects from the UI layer and from the business domain layer. I'm exploring store-based solutions (eg ngrx, ngxs) to keep this state in memory.
As ...