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.

1
vote
2answers
958 views

Best practices for developing NuGet package alongside consumer?

I'm writing a NuGet package mainly for data access and utility functions that is going to be consumed by multiple web applications, but there will be one main web application that is going to drive ...
11
votes
3answers
356 views

How do I start using Git for differing code bases from different servers?

Background: I've recently inherited a set of projects at my company and I'm trying to sort out some fundamental issues with how they've been handled. Namely, the previous developers (who are no longer ...
1
vote
2answers
156 views

Should checkins into the Master Branch be clean?

We had a debate on our team about how clean the Master branch should be. The application is written and maintained by two people, me (a developer) and a GUI/UX designer. The GUI/UX designer does a ...
-1
votes
1answer
88 views

How can a static site generator link dynamic properties? [closed]

Using a static site generator has the advantage of themes, blog and hosting (via Netlify). How can this be combined with a login form, show a user is logged in and dynamic pages (flask backend), while ...
-1
votes
1answer
196 views

My browser extension modifies the DOM. How do I stop this from interfering with page scripts?

I'm writing a WebExtensions browser plugin that will modify the DOM of the current page when the user presses a button in the toolbar. More specifically, I need to insert HTML tags into the DOM. Even ...
2
votes
2answers
176 views

Does it make sense for my website frontend to share the API as 3rd parties

I am building a website which has a single page app frontend that connects to a REST API from the backend. I also want others to be able to write programs for this website. It seems like providing ...
-2
votes
1answer
37 views

Would it be more beneficial to make a subdomain or route in a website?

I am creating an ASP.NET MVC website in which I require a number of different sections such as admin, current deliveries, an inventory of products, etc. Would it be more beneficial, a subdomain for ...
2
votes
2answers
167 views

Breaking up a monolith: Load balancing VS workers

Currently my architecture is very much event driven. Every API request is served as quickly as possible sending events that run after the response. However this is a monolith and the event handlers ...
1
vote
2answers
116 views

How can I analyze a large amount of data sent to my server before writing it to disk?

Note: this is a follow-up to this question. I am developing a website that allows users to upload large chunks of data to my Java backend. Once validated, the data must be stored on disk. Here, "...
0
votes
1answer
76 views

How can I ensure that data uploaded to my server via my website is of a specific type?

I am developing a website that accepts uploading a specific type of data. In particular, the data must be a human-readable text string in the order of thousands of characters. The data is input into a ...
-1
votes
3answers
893 views

For what kind of websites is it ok or even better to use SQLite? [closed]

I'm familiar with the process of setting up Postgresql. And I'm also thinking of using SQLite for some of my websites for I don't need that much functionality that Postgresql offers. And I also want ...
2
votes
2answers
850 views

Why do many CMS use a database and not local files?

Most open source Content Management Systems use a database to store field data and then use files in the server's directory for config settings. Why is this model chosen so often and why would it not ...
2
votes
1answer
142 views

Is it bad practice to combine a projects static site with the app?

We are building a react based web app for a project/potential business and I'm wondering if it's ok to include the static site in the web app code? I've always had a separate basic html and css code ...
3
votes
1answer
192 views

How should I merge two separate web application built in two separate frameworks by different teams into one? [closed]

Guys, I am a non-technical founder with some understanding of how the web app works front end and backend, etc. I have a somewhat technical question to help me make a business decision. I hope you ...
0
votes
2answers
117 views

Best practice loading entity with related entities

I am trying to figure what the best practice with loading data from web apis is. Assume you have a model structure as per below: class School { private string name; private List<Classroom> ...
4
votes
1answer
229 views

What is the purpose of build for language like PHP?

I apologise in advance if this question seems obvious to some or whether this question should not even be asked. I have done research about the build process and I do understand the purpose of ...
0
votes
1answer
985 views

Better alternative to having a html form with select input on every row in table

I have a web application (laravel) with a page which presents a large number of rows (financial transactions) in a HTML table. On each row I want to have a drop-down (select input) allowing the user ...
1
vote
2answers
164 views

Should I rewrite a large portion of code to make it more organized for my web application? [closed]

I've been working on a LAMP application(a social network), and am about 4000 lines of code in, and have a working prototype. I learned PHP this way, and thus it isn't programmed very well, and am now ...
1
vote
1answer
550 views

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

I recently finished a project which contains more than 30 different pages/features. Each one with some CRUD and more subpages. Each page is totally different from another in purpose. All of it was ...
3
votes
2answers
60 views

Ajax response — is there an agreement on the structure?

Say, I make an ajax request to a server from a page, something like "show more articles". Is there a common agreement on the format or rather structure in which a result should be returned? Something ...
1
vote
1answer
3k views

Django - separation from the frontend (Templates)

Long story short, let's assume I want to create a webpage that would enable the users to sell used cars. I am a beginner to webdev, so pardon my ignorance. Fun fact: two months ago I knew literally ...
0
votes
1answer
80 views

Serving heterogenous data from backend

There is an application which serves a huge list of resources and in the UI the users are able to filter the resources by type and other properties. The resources are of different types but they have ...
1
vote
1answer
80 views

How to handle regional versions of a website

The site I'm building currently has three different regional versions (Australia, Germany, rest-of-world). These will be deployed to seperate urls. It's a static site, hosted on s3 using react. The ...
4
votes
1answer
51 views

Should error/ack message be constructed in the client or in server?

Should messages that will be shown to the client be resolved in the client-side or in the server-side? Any design (dis)advantages that you can think of between the two approaches? If the system ...
1
vote
2answers
241 views

Do I need to put a license in my website's HTML and/or CSS?

I am making a website for a competition my school is taking part in, however I am not on the team and am not receiving any compensation (save for better references :P). The only condition I have set ...
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 ...
-3
votes
3answers
174 views

Is it possible to build a application with html + css + javascript only [closed]

I want to completely sperate the front-end and back-end, the backend using Java EE stack expose restful web service, the front-end web application interact with back-end using json. In such a front-...
-5
votes
1answer
87 views

Strategy for delivering static pages in a web application

Sometimes in Single Page Applications (SPAs) there are pages like Welcome, About, Help or Support which are just static content and which doesn't require frameworks like Angular. I often see that ...
2
votes
1answer
264 views

How do I create front end test data based on backend model's schema?

I'm really struggling with creating robust tests for my frontend because of the coupling in data schema between my backend and frontend. To clarify, I have a Django rest API and I have a front end ...
1
vote
1answer
101 views

Ideas to deal with dependencies in a component-based web architecture

I'm spending some time lately reading and thinking about alternative ways to build web applications. One of the approaches I'm experimenting with is heavily based on OO, using TypeScript. The general ...
-2
votes
1answer
126 views

Recomended REST API design for transfering ammount

I want to design a REST API given the following data model : Accounts UserId | Balance user1 | 500 user2 | 200 And given the following Ui that must use the REST service for it's operation ...
-2
votes
1answer
169 views

How exactly does someone make money from free software? And how do programs compete with websites?

I always wanted to create software but was not really into websites.I see that popular programs(such as skype) don't make as much money as popular websites(such as facebook,twitter etc.). Is this ...
1
vote
1answer
744 views

Is it better to have separate projects for Frontend and backend?

I am running an ecommerce website built in Java using Spring and Hibernate. If I have to briefly describe current architecture then it is like this: I am having two projects by name - store front and ...
3
votes
1answer
94 views

Data to pre-populate a database kept in text files

Many web application require a seed file -- a file, written in the same language as a web application, where I have data to pre-populate a database. This makes sense. Nonetheless, I sometimes see ...
-1
votes
1answer
112 views

Design ideas for showing another website's page in my own website

I would like to show a web page from another website and show it on my website. I want to annotate some text on their website content. Conceptually I know what needs to be done: - I will capture their ...
2
votes
1answer
47 views

Where to implement URL data validation in Node/Express?

I'm building a RESTful API using Node/Express4 and so far I've been successful. However, I'm not sure where to implement URL data validation - should the router script block invalid URI requests or ...
7
votes
1answer
667 views

Is it a good practice to hide the framework used in a web application?

I sometimes read about "hiding the framework/technologies used in a web application for security reasons"... But why? Is it a real issue to publicly expose which tools I'm using to create a project? ...
-2
votes
1answer
512 views

Choosing the right architecture for my web application

I've started working on my web application and I'm stuck at the design stage. I cannot decide which web technologies would be the most suited to this project. Let me explain what I want to achieve: 1)...
0
votes
1answer
271 views

Is using Java reflection to map frontend actions to the actual db methods by name bad practice?

I have used java reflection with a static map to map actions(removeElements, getLatest ...) from the front end to the corresponding database methods by name in multiple web applications now. I was ...
0
votes
2answers
942 views

Handling of user session expiration in MVC-based web application

We have an MVC 5 based web application. Part of functionality includes displaying hierarchical structure as a tree (I use this JavaScript component: https://www.jstree.com/) Tree is displayed in the ...
-1
votes
1answer
97 views

Blog is a single webpage that gets data asyncronously, searchable by Search Engines?

I have created a blog for a friend. I have heavily designed it around jQuery's $.ajax() function and as a result it is only a single webpage asynchronously gets its data (title, article, relative ...
-2
votes
1answer
56 views

What method/ approach is used to query a user's page on a website using backslash + username? [closed]

I am working on a Servlet/JSP project, the website have users and I need to display a user's profile using the notation myDomain.com/Joe instead of myDomain.com/users.jsp?user=Joe. An instance of my ...
1
vote
1answer
203 views

open webapplication from desktop application

Doctor is end user of this application Doctor opens desktop application on his pc which is not developed by us. We provide interface to desktop application via interop dll's. Desktop application call ...
-2
votes
1answer
69 views

How to let users send to a link

I'm building for a client's service that allows developers to build client side forms, similar to formspree.io, etc. Basically, developers can set an action to their HTML forms which send the POST ...
-1
votes
3answers
171 views

Best practice for defense agaist hotlinking and scraping images from your site

I'm trying to determine the best way to handle a few issues I've come up with on handling images for my site. Background: A small site that houses movie information. I have an admin section to upload ...
0
votes
1answer
79 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 ...
1
vote
0answers
58 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
votes
1answer
93 views

What would be the best option in this scenario?

I have a statement. I know the ups and downs of both Composition and Inheritance, but I am unable to realize that what would be the best option the given scenario. SCENARIO: A Software company is ...
1
vote
3answers
149 views

Possible way to handle multiple reset password email

It's a C#, ASP.NET MVC Project and here is the problem: User can enter their email address in the reset password text field and click on the Reset Password button. Each time the user clicks on the ...
0
votes
1answer
170 views

Redux: When Should I Keep Track of State and When Should I Not?

NOTE: I am new with the whole concept of state management. I never got into the older languages that "explicitly used" states. I dived into React and Redux for the past week, and as I'm getting into ...