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.

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 ...
9
votes
8answers
28k views

Why might an ASP.Net website load slowly? [closed]

Anecdotally, I've visited many .aspx website that require a significant amount of load time for each page. Is my experience unique? If not, why might an ASP.Net website load slowly? Edit: It's now ...
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 ...
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 ...
0
votes
1answer
171 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 ...
-1
votes
3answers
897 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
854 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
2answers
810 views

Best approach to develop php mysql project with multiple developers

We are 4 developers working on a PHP-mySQL web project. Currently we work together as described below: All project files except DB is hosted at GitHub All project files except DB is hosted at GitHub ...
2
votes
1answer
224 views

Is taking a snapshot of UI to compare the data considered a good desicion?

If I have a complex attendance project to track the employees attendance and leaving, and according to that they get overtime money through a workflow. The schedule is something like that : 6 weeks ...
3
votes
1answer
193 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
990 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 ...
4
votes
2answers
2k views

Consuming REST services: client or server

I am working on a new project in which we are currently deciding which technologies and frameworks we will be using. The application will eventually be cross platform. Therefore, for the server side, ...
10
votes
6answers
9k views

I need a true random number generator web service [closed]

Random.org provides 200k free random bits (only 6250 32-bit integers!) from the analog world (cf.) per IP per day. Does anyone know of an alternative web service that provides more on-demand random ...
26
votes
10answers
1k views

Should I be paid for time spent learning a framework? [closed]

To give light to the situation: I am currently one of two programmers working in a small startup software company. Part of my job requires me to learn a Web development framework that I am not ...
0
votes
2answers
77 views

Strategy for loading page-specific static files on a web application

I'm working on a project that has a massive script.js file where all the shared functions, code and more is placed; but it also has code that has some page-specific behavior. Evidently, this causes ...
13
votes
8answers
3k views

Choosing between CL and Python for web development

I'm coming from a Java background and after I read this little essay by Paul Graham I started wondering about picking up a new language namely Common Lisp to speed up my work (I'm a web developer). I'...
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 ...
44
votes
7answers
55k views

How can I evaluate a candidate's knowledge of Html/CSS during an interview? [closed]

I am trying to determine some good interview questions to assess the ability of people coming in for a Html/CSS job, however that topic is extremely broad, and I'm not sure what sort of questions I ...
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 ...
3
votes
2answers
2k views

Should I use a single repo when multiple parts of the same project are running on the same server? [duplicate]

I'm planning a project that consists of the following parts: REST API in Lumen Web client in Laravel Product website in Jekyll These separate products are going to be running on the same server. I'...
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 ...
-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 ...
1
vote
2answers
242 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 ...
-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
3answers
309 views

Mobile Web App - combines with exist web app or separate them

The company I work for already has a fully functional web app that is written in java using JSF framework. I'm now in the process of creating a mobile version of this web app and having some general ...
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 ...
7
votes
3answers
622 views

Reuse already fetched data for request

I have action that fetches user model from db to check access. Then I have method that in some cases requires same model. function checkAccess(req, res, next) { var data = Data.fetch(req.params....
9
votes
3answers
966 views

Why shouldn't “responsive” web design be a consideration?

This might seem like more of a graphic design question than a programming question, but I think it has much more technical/programming merit than actual graphic design. The concept of "responsive" ...
-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 ...
1
vote
1answer
340 views

Describing the Difference Between Web Library and Web Framework

I talked myself into a hole at work, and I need some good ideas to help me better describe why we should include both Dojo and Knockout in our new web project. A little background: I do mostly ...
3
votes
1answer
1k views

Keeping data between two databases in sync

Let's say I have a forum application running, and I start building a separate web application with a Python web framework. Both applications use their own MySQL databases, which contain their own ...
-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
745 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 ...
2
votes
1answer
623 views

When does one NOT need to use queues in an application?

I've been developing an application using the Laravel Framework & have been exposed to the idea of queues for the first time. There are a multitude of tutorials & articles about using queues &...
1
vote
1answer
122 views

Design for fetching liked resources

I have three resources Hotel, Address and Image. A hotel can have may images but only one address. While showing hotel details I need to fetch its address as well as all images of it so, in my ...
-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 ...
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 ...
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
668 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 ...
52
votes
4answers
13k views

TDD - Outside In vs Inside Out

What is the difference between building an application Outside In vs building it Inside Out using TDD? These are the books I read about TDD and unit testing: Test Driven Development: By Example Test-...