Skip to main content
5 votes
Accepted

IEC 62304, Are Software Frameworks (Spring/JEE/Angular/React) considered SOUP?

Keep in mind that I'm not familiar explicitly with IEC 62304 (it's for medical device software and I've never worked with medical devices), I am familiar with similar standards, such as ISO 9001 and ...
Thomas Owens's user avatar
  • 85.9k
5 votes
Accepted

Why JS MVC frameworks prefer data binding to UI element reference?

The purpose of data binding is to decouple the view from the model. Neither the model nor the view should know about each other. Data binding is the glue that connects the model to the view and ...
Robert Harvey's user avatar
4 votes

Django - separation from the frontend (Templates)

So you need to show different states of your application -- a landing page, a list of cars, a single car's details, a procedure with a set of forms and prices etc for when you actually buy the car, et ...
RemcoGerlich's user avatar
  • 3,330
4 votes

Why was Google Maps built using canvas? If it was built today, would it have rather used react/angular? Why (not)?

Any map based application will use Canvas, SVG or WebGL for actually drawing the map and it is orthogonal to using Angular or even page being SPA at all. Look at frameworks like https://openlayers.org/...
user158037's user avatar
4 votes
Accepted

How do functional programming advocates use a framework like React or Angular?

In my previous role we were using mostly pure functions in React. Remember that React is a "library for building user interfaces". Often I see React projects where components are very object-oriented ...
Samuel's user avatar
  • 9,247
4 votes

Is it best practice to only use still-supported languages when developing apps?

When you are at the beginning of a project, without too much existing code the initially chosen framework is already declared as deprecated the framework has a designated successor which is known ...
Doc Brown's user avatar
  • 220k
3 votes

Achieving server-side rendering of data coming from a PHP API

AngularJS has support for server-side rendering by using a Node.js server, see their documentation on it: https://angular.io/guide/universal. This guide describes Angular Universal, a technology that ...
Jade Ellis's user avatar
3 votes
Accepted

Angular 5- Where should logout code sit?

The documentation is pretty explicit about that: https://angular.io/guide/architecture-services A component should not need to define things like how to fetch data from the server, validate user ...
Maurice Döpke's user avatar
3 votes
Accepted

Strategy for Chrome timing out on a Database cleanup job which takes a long time

For such long-running tasks, delegate them to a background task. Then you could have 2 API endpoints, one to start the long-running task and a second one to request its current status. For example, ...
Bart van Ingen Schenau's user avatar
3 votes

Angular and desktop

The Angular framework can be combined with Electron or Ionic to build desktop applications because both Electron and Ionic include the NodeJS framework which gives you the ability to access your ...
tale852150's user avatar
3 votes
Accepted

Is it best practice to only use still-supported languages when developing apps?

At some point you will have to change the app. Or your successor. Discuss it with the bill payer obviously, but the best time to make the change is right now when you still know what the web app does. ...
gnasher729's user avatar
  • 49.4k
2 votes

angularJS code sharing across hybrid Ionic app and regular mobile website

You can build a shared kernel which contains some atomics Components (https://docs.angularjs.org/guide/component) / Services. Web app, android app, ios app, supervision app ... all will use ...
Kenny's user avatar
  • 21
2 votes

Should I be using both AngularJS and ASP.NET MVC?

3 years later, use ASP.NET Web API to serve up your data and Angular (js or newer) to structure your app on the client side. If you're making a static site then just use ASP.NET MVC.
user441521's user avatar
2 votes

Where to put the Angular app in a ASP.NET Web API solution?

I've found this seeder project https://github.com/damienbod/AngularWebpackVisualStudio/ which allows you to develop and host the client and server in a single Visual Studio (2017) project. I agree ...
Chet's user avatar
  • 21
2 votes

In a JavaScript method signature what is meant by a return type of `typeof blahBlahBlah`?

The typeof operator in TypeScript type annotations is not similar to the regular JavaScript typeof operator. Typescript reuse the keyword, but gives it a different meaning. In type annotations, typeof ...
JacquesB's user avatar
  • 62.3k
2 votes
Accepted

Refresh tokens by example using Angular and Spring Boot

It sounds like you're reinventing the wheel a bit here. JWT authentication has a well-documented "protocol" already defined for this. When the user initially logs in, you provide both a ...
Dom's user avatar
  • 570
2 votes

What are architectural approaches for converting large multipage apps to use new JavaScript frameworks?

I was looking to redesign The first question, which comes to my mind is: why? What is the concrete pain, you are suffering? As long as you could not clearly answer this question, I do not see any ...
Thomas Junk's user avatar
  • 9,623
2 votes

Is it better choice to use both AngularJS and ASP.Net MVC for developing ecommerce website?

I would use something other than ASP.NET and Angular.js in my Opinion. But filtering data can be server based or client based. If you want high performance reactivity, I would recommend Vue.JS It's ...
Jhon's user avatar
  • 21
2 votes
Accepted

Node and Angular two separate applications or a single application?

Its fairly normal to have your webpages and js served by the same webapplication which also hosts your api code. This simple approach has some upsides. You dont have to do anything special with cross ...
Ewan's user avatar
  • 84.4k
2 votes

Implementing Business Logic in Architecture

So it sounds like you want to implement some sort of access control. You suggest to give each user one specific type and then creating a module per type that has the features that type needs. While ...
Jory Geerts's user avatar
  • 1,681
2 votes

Is it best practice to only use still-supported languages when developing apps?

The reason it isn't a super obvious yes in my mind is that obviously angularJS has been a widely used language for a long time and I would imagine its present functionality/version is pretty stable so ...
meriton's user avatar
  • 4,368
1 vote

Angular header/footer, Component or Module

so for those parts you'd create Components. These components have templates that contain the HTML for the component. So for example, if in your header you want to display a title. Then the template ...
stevo's user avatar
  • 193
1 vote

How to architect a very big web application using server and / or client rendering?

After reading articles like “What should be in a Single Page Application?” and much others I’m pretty convinced that build a very large spa (even with lazy loading) is not good a solution for big ...
Daniel Santos's user avatar
1 vote

For what reasons would you use AngularJS expression (&) binding instead of using events?

AngularJS & binding is [expected to be]¹ very simple to understand, especially for a JavaScript developer. In JavaScript, callbacks are used a lot. They are used so much, that it can be very ...
Arseni Mourzenko's user avatar
1 vote

Stateful Single Page Application with ASP.NET Core

These days the trend is to store the state on the client. This makes most sense when writing a fat client because we can store state where the logic is. The server calls will also be simpler because ...
Esben Skov Pedersen's user avatar
1 vote

Different type of MEAN Stack Architectures

MEAN stands for MongoDB, Express, Angular and Node, which gives us the following: The top using only Node, Express and MongoDB isn't a MEAN application because it doesn't use Angular. The middle is a ...
Benny Skogberg's user avatar
1 vote

Angular View Model Validation

I think "model validation" as you describe it could work, but realistically would require you write a ton of custom code, if I'm understanding it correctly. I have seen many people make the mistake ...
J. Lenthe's user avatar
  • 395
1 vote

Securing a REST API based on authentication with external site

This is a very old question, but I thought of giving it a bit of attention, since there are a couple of solutions for this problem and one of the simplest ones is to use a JWT or other kind of signed ...
Ricardo Souza's user avatar
1 vote

Displaying complex objects in AngularJS

CacheFactory would be the most portable and easiest to debug: function sharedCache($cacheFactory) { var sharedCache = $cacheFactory.get('sharedCache') ? $cacheFactory.get('sharedCache') : $...
1 vote

Separating AngularJs and Django into individual Apps?

You can separate the Front-end and Back-end application, actually that's good practice from my view. But you can serve both application in single ip address and different port nos in Apache/Nginx. The ...
Sakthi Panneerselvam's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible