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 [web-development]

Web development is a broad term for the work involved in developing a web site for the World Wide Web or an intranet.

4
votes
1answer
684 views

Separating AngularJs and Django into individual Apps?

I am building a web application using AngularJs and our web server is built in Python Django Rest Framework. I would like to have the two projects separated and not coupled. In my current setup the ...
1
vote
1answer
33 views

Correct way to serve file that's in node_modules

Say I have this structure: project/ node_modules/ xxx/ asset.js index.html app.js and in app.js I have: const express = require('express'); const app = express();...
4
votes
0answers
2k views

Connecting with OAuth, dealing with logout and browser sessions

I work on a open-source web application (Moodle) which connects to a number of external services such as Google Drive, Dropbox etc. to allow users to exchange files with these services. Primarily we ...
3
votes
0answers
221 views

Web framework architecture with non-blocking I/O

There's been a lot of news in the enterprise world lately, specially in the web, and I've decided to build a small web framework on top of Netty to learn more about asynchronous programming and event-...
2
votes
0answers
22 views

Correct event managment architecture in web application

My team and I are working on a large web application, and I've noticed that we're working in a way which I believe is an incorrect usage of flux (probably from lack of understanding). We're using ...
2
votes
0answers
239 views

Where do I put WebSocket handling code following the MVP pattern?

I am currently working on a Web Application. One of the objectives is to use the MVP (Model View Presentation) Design Pattern. We would like to use WebSockets to communicate between client and the ...
2
votes
0answers
555 views

Web application logging strategy

Basically: I am creating an enterprise web application. I would like to do extensive logging of both client and server activity, with all logs ultimately stored on the server. I have found many ...
2
votes
0answers
124 views

Should I strictly follow restful guidelines

I have the following resources in my Asp.net web API: route: consisting of the following relevant properties arrival_location_id leaving_location_id and location: id name coordinates The thing is,...
2
votes
0answers
75 views

One vagrant file (/var/www/VagrantFile) for multiple apps

I manage multiple apps in my dev: /var/www/ qa jt auth We have a QA vagrant which runs QA app in its own vagrant. My understanding was that each app would run its own VM but this would ...
2
votes
0answers
82 views

Designing a web based smart card publisher

I'm working on an application that's supposed to have a web based GUI where you can insert some data. That data will be saved in persistent storage and a hex number generated and stored alongside. ...
2
votes
0answers
492 views

Building a generalized notification system: passive vs. active

Recently, I've tried my hand at building a notification system, but I quickly found that notifications are tricky things, especially in the context of building a general model. The diversity of what ...
2
votes
0answers
621 views

how to import large amounts of data without locking sqlite database

Background Information I have a web app that provides the user with the usual CRUD functionality for "widgets" let's say. But I also have give them the option of creating widgets in bulk via ...
1
vote
0answers
54 views

Separating WebRTC Signal Server and Media (SFU) server

I'm working on a WebRTC VOIP product. I am not using peer-to-peer connections, but instead having clients connect to a SFU which distributes audio to everyone involved in a call. From my ...
1
vote
0answers
55 views

how to provide search feature on website with ASP.net application

I have an old website (https://www.recordsforliving.com/) with a search feature. Up until recently, it was running on Windows 2012 server, and used Microsoft Index Server, and ... OleDbConnection ...
1
vote
0answers
56 views

What is the best apporach to a customizable theming in SPA Architecture

I'm interested in developing single-paged application and there are few question I need to get clarified before moving on. One of them is customizable theming implementations. As for traditional web ...
1
vote
0answers
44 views

Using fixtures to maintain static database assets

I have a pattern that's something like this: Create a database model UsagePlan which stores how many usage tokens a paid customer receives in exchange for its respective monthly fee. Through my ORM (...
1
vote
0answers
68 views

designing better and crisp server.js (the file which is called to start node application 'e.g. node server.js')

While creating server.js file we need to provide routes information as var Login = require('./routes/login.js'); app.use('/login', Login); Now, suppose the node project is a REST services project. ...
1
vote
0answers
75 views

How to better manage beans?

In my application - I have to expose services using JAX-RS(for mobile platform) and consume the same set of services in a JSF based web app. Now, I have @Entity beans for persistence layer, @...
1
vote
0answers
78 views

Choice of response type in web application architecture

I've been using various server side languages/frameworks for developing back-end web applications. Every server-side framework that I've been using has the capability for returning views/templates (...
1
vote
0answers
826 views

Bootstrap components and SMACSS/BEM methodologies

I have no enough experience in web development and I need advice from more experienced developers. I have been exploring SMACSS and BEM methodologies for a few weeks, and I like them, it makes really ...
1
vote
0answers
115 views

Web components and performance

I am having trouble learning about the impact of web components and shadow DOM on the browser, specifically related to repaint. I remember reading at one point that the shadow DOM nodes have ...
1
vote
0answers
46 views

Are Components ideal for packaging and reusing find() requests?

I find myself loading several models over and over again throughout my application. Instead of typing the code to load the model, run a find, would it be reasonable to put that code in a method and ...
1
vote
0answers
239 views

Hosting image oriented ASP.NET MVC site; how to keep things fast?

I have a site that heavily relies on high res images being uploaded and viewed constantly. Currently it's hosted internally which keeps everything fast. I now want to move the site externally, but I ...
1
vote
0answers
649 views

Rendering STL file to STL viewer which is in new page

I've uploaded a STL file as an additional file for a product. And it gets downloaded in frontend as shown in screen shot. When I click on that link for STL Downloader, then that STL file will be ...
1
vote
0answers
353 views

Large invoice database structure and rendering

Our client has a MS SQL database that has 1 million customer invoice records in it. Using the database, our client wants its customers to be able to log into a frontend web site and then be able to ...
1
vote
0answers
393 views

how to integration dynamic web fields and forms

I'm trying to find a way to design backend that will be handling customized web forms creation on the fly. Once created those forms will be injected to part of the existing web pages. I've created ...
1
vote
0answers
80 views

reading parameters and files on browser, looking how to execute on server

I have a site done in Rails, which uses javascript to load files and generate forms for the user to input certain information. Those files and parameters are then to be used in a fortran code on the ...
0
votes
0answers
36 views

Migrating a messaging service to end-to-end encryption

If I have a web app for messaging that started as non-end-to-end encrypted and I want to migrate that same service to be e2ee, how might I deal with old messages? If I'm using something like the ...
0
votes
0answers
24 views

regex for future matching

I am creating dashboard with backend python script which displays data extracted from an email account. Currently, the backend script that parses the various emails operates off of regex matching for ...
0
votes
0answers
23 views

Considerations for delegating long running to CLI from PHP/Apache

I'm working on a web project that executes CLI commands to perform running tasks to spare users from having to wait since PHP/Apache combo cannot (to my understanding) create a separate process for ...
0
votes
0answers
21 views

How can I manage the state of my application using a dedicated object instead of what React offers?

Most of the react application I've seen are organized with components that, in my opinion, do too much. They may follow this pattern: class MyComponent extends Component { constructor() { ...
0
votes
0answers
69 views

How to create a router-like configuration page on Raspberry PI?

We have a Raspberry PI (with raspbian OS) that runs some application, this application uses a local configuration file that contains some data like username, password, server url etc. We will provide ...
0
votes
0answers
38 views

Mobile app for existing responsive web app?

I have an existing enterprise application that lives on a lamp stack (not single page app). All html is responsive using twitter bootstrap. The question of sending push notifications to mobile devices ...
0
votes
0answers
31 views

How to design a UI in a browser and simulate various background colors of a 3D app?

I'm working on a new UI for a 3D web app. The app is not ready for the UI to be wired up, so I'm developing just using a web browser for a while. I don't want to design everything with a white ...
0
votes
0answers
138 views

Testing REST API with nested object creation and endpoint transactionality

I'm building a location based REST API using Spring Boot, and I have run into a bit of a testing philosophy question. I have an object called Location that, among other things, requires a Google ...
0
votes
0answers
52 views

Wrapping microservices HTML result in parent page

I have a set of microservices which provide HTML pages meant for user-interaction and are pretty much stand-alone applications. These need to be "wrapped" by a Java-powered parent website which ...
0
votes
0answers
363 views

Design of api for spa applications

I have application for configuring e-commerce website (for example routing, page alliases, ordering, etc.). In old old times in server rendered applications I would have api like: POST/api/things/1/...
0
votes
0answers
73 views

Put all Single Page Application code inside index.html?

I'm sure I am not the first one who thought about it but couldn't find any mention of this approach on the Internet. What the pros/cons? It will increase the size of index.html by few megabytes, but I ...
0
votes
0answers
182 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 ...
0
votes
0answers
1k views

Which is the best way to manage multi-account multi-user web application?

I am junior web developer, currently I am developing school application with PHP and MYSQL. After finishing the app I would like to distribute to more schools by allowing them to register in the app ...
0
votes
0answers
70 views

User based licensing on web server

I'm developing a client-server software for an enterprise customer. I'm being asked to limit the number of user accounts to a number N. Each user logs in with it's own username/password combination, ...
0
votes
0answers
78 views

Vertical Single Page App libs/patterns?

Lately I've noticed a trend amongst some website homepages to present information in a vertical fashion, forcing the user to scroll down to continue reading the content. As you scroll down, a state ...
0
votes
0answers
84 views

How to design a server that does not interrupt downloads?

I'm building a Node server that serves large files for download and streaming. It will be necessary to modify these files on occasion, sometimes in bulk with a script. I want to be able to update them ...
0
votes
0answers
104 views

User interaction on a website without requiring registration nor captcha

Are there succesful ways (i.e. non spammed by 1000 bots per second!) to propose some user interaction on a website such as : Voting up / Voting down / Liking posts Posting comments but without ...
0
votes
0answers
470 views

How to design multiplayer online game with a battlefield?

I'm designing a simple game where all players use one battlefield via browser. I'm using websockets. So I'm wondering should I always send all data about battlefield to every user when smth is being ...
0
votes
0answers
71 views

How achieve a page-change proof player?

I am interested in develloping a web music player similar to the soundcloud one However, I can't figure out one thing: How player like soundclou one (and some other one) can "resist" a page change, ...
0
votes
0answers
489 views

Consistent header HTML across multiple sites

We've got several sites. Some are HTML/Angular, some are built on a CMS, some are built on other code. What we'd like to do is have a consistent header experience for each site. I'm trying to figure ...
0
votes
0answers
122 views

How does session middleware generally verify browser sessions?

I've been using session middleware to build web apps for years: from PHP's built-in session handling layer to node's connect session middleware. However, I've never tried (or needed) to roll my own ...
-1
votes
0answers
31 views

What are some of the pros and cons of react-native-web?

We are using react-native to develop a mobile app. We also need to develop a web app that will have all the mobile app features plus some extra ones. Is react-native-web a good choice? What are the ...
-1
votes
0answers
38 views

How can user actions be recreated for an error report?

I'm writing a website in PHP and occasionally find weird bugs that can only be created by a specific sequence of events. Is there an established method to implement the trail of a user through a ...