Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [front-end]

The tag has no usage guidance.

0
votes
0answers
13 views

Approach in upgrading/re-working front-end workflow and dependencies

I am in the process of upgrading/re-working our front-end workflow and dependencies (largely driven by the deprecated Bower). I have moved from Bower to Yarn and also introduced Webpack Encore (https:...
4
votes
2answers
126 views

Clearing up misconceptions about a Flask backend and client-side rendering

I am building a website and along the way I have come across a lot of things I didn't know about and was hoping to get some help in understanding some of them. I started building a website using ...
9
votes
4answers
788 views

Why is XSLT so rarely used on the web? [closed]

XSLT is a mature, widely accepted standard. It can be used in browsers (even in old IE) and on the server side (nginx has an XSLT module, which can be used from programming languages, of course). Its ...
2
votes
1answer
67 views

Is there a durable strategy for building front-end application

In the JEE World, we were used to write front-end application with Struts, JSP, JSF. But now, we are following the trend of modern front-end applications with modern technologies (Angular, React, etc....
10
votes
1answer
262 views

Redundant code sent down the pipe with Micro-frontends

My understanding of Micro-frontends is that the key problem they solve is in helping enterprises have multiple, possible disparate teams, work on individual components/small-apps that will be used to ...
3
votes
2answers
116 views

How can I avoid using global variables in simple Javascript SPA?

To learn Javascript I am building a simple Single-Page Application. It is a basic slideshow app that needs only to process some basic settings and execute some behaviors. The basic structure of my ...
0
votes
1answer
39 views

Best practices for maintaining data contracts with different ends of the system

I am currently researching best practices for data contracts between components in our system. Right now we've stuck to using Word documents and JIRA tickets when the contract changes. The data ...
0
votes
1answer
55 views

How to handle “Other” option in a list of options?

This is almost everywhere. For example, I need to pick a fruit from a list of fruits from a dropdown. And the last option on that dropdown is "Other", by selecting that another text field appears to ...
1
vote
1answer
618 views

Why is one way data flow (eg. React, Vue, Angular) faster than two way data binding with dirty checking?

I understand that two way data binding can be expensive and slow. For example, imagine a toy grocery list app that lets you list grocery items and their prices, and shows you the sum of the prices (...
0
votes
1answer
142 views

Make Docker-based SPA configurable

I have a single page app (Vue JS) that is built and released as docker image. The docker image is based on the official Nginx Docker image and serves the SPA as static content. Until now, there was ...
0
votes
2answers
1k views

Ways to authenticate and redirect with decoupled front-end web application

I have a coupled web application (frontend and api backend served from the same application). It's worked well for our needs but I've been curious about the differences that would go into having a ...
0
votes
5answers
387 views

Frontend and backend developer working on a project - who starts the tasks first?

Even though it depends on the context, I was wondering: during a project that requires a frontend and a backend developer, who most often starts with the tasks first? This assumes the web design is ...
3
votes
0answers
301 views

Microservices and Modular based front end

I'm a software developer, and the kind of developer we call "front end developer". I'm working on stuff like Angular JS, Angular 2 and others. I wanted to know how we can organize our front end code ...
0
votes
2answers
168 views

CSS Methodologies for a Few Classes

We've been using BEM for several Drupal CMS projects quite successfully. This means we've been following a frontend-first approach where frontend developers specify the HTML, which is then implemented ...
0
votes
0answers
26 views

Front end application design, split Auth and Account to diffrent modules

I'm currently a part of a team that rewrites an entire application using Angular5, RXjS and state management. our biggest struggle at the moment is to figure out if we should split the Account and the ...
-3
votes
1answer
136 views

Where is better to calculate the total sum, back end or front end?

If I have a list of products and I need the total price of those products. Where is better to calculate the total sum, back end or front end? Front end React Back end PHP Table that shows Invoices ...
0
votes
2answers
137 views

Is it acceptable to break MVC by storing data in the DOM in order to reduce load on the Database Server, ever?

I am currently using NodeJS & Express to load webpages which contain element content that is rendered via a query to MongoDB. A GET request will create Button elements, binding the MongoDB _id ...
1
vote
1answer
36 views

One resource per business object or many resources for many purposes?

I'm developing a JavaScript UI client and my back-end developer refuses to pass me the data in a form that I don't have to transform afterwards. So, I'm currently working on a mapper that contains a ...
0
votes
1answer
37 views

SOA with dynamic forms

When building a Service Oriented Architecture (because the services will be used by automated systems or other consumers), how can I go about creating a simple, dynamic form-based web frontend for ...
2
votes
1answer
226 views

How do I design a backend API with a different query range?

If I have a blog system, there is now a query that is given a range and then gets the number of new blogs in that range. The range may be: one day one week a month six months a year How do I design ...
8
votes
3answers
1k views

Why does “front-end” only pertain to web development?

As a WPF developer, I was confused when I discovered that I'm not considered front-end because my platform isn't web, even though I clearly deal with user interaction and the front end of an ...
0
votes
1answer
293 views

REST API implementation for graph data - Where to calculate graph units

We have a graph that shows bandwidth usage over time. The bandwidth is returned from the server in bytes. We need to decide which units to show in the graph in case there are several different ...
0
votes
0answers
170 views

How to embed WebView in Native app like Quora & Instagram did to their timelines?

I heard that Quora and Instagram's feeds are built on top of WebView component, how exactly do I build something like that ? Here are few ideas I believe are how they work Create and host an ...
1
vote
2answers
632 views

What other approaches are there to break circular dependency in MVC?

I'm attempting to build a web front-end based on the MVC pattern, as opposed to based on the libraries involved (e.g. React.js). I'm using constructor-based dependency injection and interfaces to de-...
0
votes
1answer
80 views

What is separating code by type vs. by function in called? [closed]

In for example web-frontend development, there are two main ways to structure a project: client -js -component_1.js -component_2.js -html -component_1.html -component_2.html -css -...
0
votes
1answer
76 views

Is RSS generation from MySQL server an ideal method for Facebook-like user feed in a website?

Researching this topic took me a long time, mainly because of my lack of knowledge of how RSS actually works, I understand that generating RSS is basically generating an XML file with multiple items ...
0
votes
2answers
130 views

How to create a learning environment for frontend developers if you don't use modern js platforms [closed]

We have a lot of frontend developers leaving the company because they want to work with react, angular, npm and what not. We use some corporate cms platforms and these javascript platforms don't ...
2
votes
3answers
141 views

Add extra HTML classes for frontend-tests?

Imagine a structure like this, a list with products. <div class="container"> <div class="teaser"> <img src="..."> <p>Product 1</p> </div> ...
1
vote
6answers
497 views

Inter-language Communication

If you have a program that has a front-end and a back-end written in two different languages, how do those two systems communicate with each other? I have no professional experience in programming, I'...
3
votes
1answer
1k views

Architecture for real-time application, avoiding duplicate messages for queues with no active consumers

I am designing the architecture of an application which has your typical backend and frontend components. The frontend application must be semi real-time. For this requirement, the backend is pushing ...
-1
votes
2answers
202 views

Front end engineering : Best way to implement a step by step check out cart

I have implemented a checkout cart like this : Navigation rules are as follows : User can move to next step only on completing the current step. But he is free to click on the previous tab and edit ...
1
vote
2answers
333 views

Hardcoding on frontend

I have an API which returns a list of articles. An article can have three status: Approved, Pending and Rejected. Now the front-end needs to hit the API in following scenarios: Get all the articles ...
3
votes
2answers
327 views

How would you optimize the rendering of 10,000 elements on a webpage?

I'm a full stack web developer, I've been looking for a job lately as a junior since I don't have experience with working for companies, but I've done some projects in the past from design to ...
4
votes
3answers
615 views

Best practices for front-end project with many views

We are a small front-end dev-team working with 18 months of experience and recently we got in touch with a first major project, ie. a medium complexity back-office web app, but with lots and lots of ...
3
votes
3answers
3k views

Microservice at a frontend level

I'm a software developer, and the kind of developer we call "front end developer". I'm working on stuff like Angular, React, Vuejs and many others. I wanted to know how we can organize our front end ...
4
votes
2answers
854 views

How to define and share a JSON schema between the front-end and back-end of an application?

We have a mobile app that accepts input into some fields, formalises them as a JSON document and then sends it to the back-end for processing. We want to agree on a schema for this document that can ...
17
votes
3answers
9k views

Is it normal design to completely decouple backend and frontend web applications and allow them to communicate with (JSON) REST API?

I am creating new business web application and I want to achieve: Use the best technologies from their respective realms. I want reliable backend framework with solid ORM. And I want the most ...
3
votes
2answers
700 views

How to structure an App one back-end & Multiples front-end

I have a big challenge to solve where I have some ideas but I don't know what would be the best solution. Basically I have to develop an application where I have to develop a back-end(web service) ...
-3
votes
1answer
2k views

What is best one between JSF and angular for java hibernate,spring,strut application?

I want to develop application using java frameworks(spring,hibernate,strut). This application has large complex operations.I want to know what is the best between JSF and angular? As well as i want ...
1
vote
0answers
140 views

Putting NoSQL DB schemas on front-end, safely

We are using Firebase which is probably similar to MongoDB in that it stores arbitrary JSON structures. We are also using Node.js and so the library in question could in theory be used both backend ...
57
votes
8answers
7k views

Should a developer do UI mockups if there are no designers in the project?

I'm working with a small team that creates a proprietary web application and UX isn't much of a priority since our own people will be the ones operating it, but we do try to make their jobs easier. ...
2
votes
1answer
563 views

How to decouple UI states?

I have written a new shiny Todo service with my favorite front-end and back-end framework. To minimize coupling I return data in some standard format like JSON or Protobuf and leave it up to the ...
0
votes
3answers
166 views

Should REST APIs contain the ability to dispatch email?

When building a service that uses both a back-end REST API, and (a) front-end application(s), is it proper to build into that API the ability to dispatch email? Take Twitter for example; for those ...
-1
votes
3answers
851 views

What is a correct way to exchange information between “frontend” and “backend”? [closed]

I am not so experienced in client-server applications and I could not find exactly answer to my question anywhere in google. I am developing part of application on server side and my collegue who ...
20
votes
2answers
20k views

Methods of separating front and back-end with full stack javascript?

Suppose I have a front-end which is mostly a single-page application written using angular, grunt, and bower. And suppose I have a backend, which is mostly just a REST API sitting on top of an ORM, ...
3
votes
1answer
819 views

Is having only static pages calling the backend a good idea?

I'm new to web applications development, specially when it comes to frontend, but as I understood, a typical structure for a big application would have a frontend php (or equivalent) layer calling the ...
3
votes
3answers
497 views

Web Services vs Server Side Methods

With all the front end development frameworks now available. I'd like to know if the generally accepted protocol is for a back end service to simply provide web services for the front end to consume? ...
1
vote
2answers
889 views

What are the advantages of a 'traditional' 'backend' architecture for a standard CRUD app? [closed]

In the past few years, 'client-side' web applications have become popular. A common approach nowadays is to have the backend as thin as possible, mostly exposing an API for the client-side Javascript ...
8
votes
1answer
1k views

Version control of a website : dev/production front-end files

I'm trying to think of a better way to version control our website projects. Keep in mind I'm only a front-end dev so I don't have a profound knowledge of VCS. Workflows are changing, and past ...
1
vote
1answer
445 views

How do webpack and gulp complement each other?

I've started with TypeScript 2.5 years ago with Visual Studio and ASP.Net MVC. VS Web Essentials would compile ts files on save and the WebOptimizer library would bundle them together at runtime in a ...