Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
1answer
75 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
798 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
752 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
167 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
112 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
228 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
858 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
162 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
493 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
59 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
50 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
214 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
166 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
83 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
254 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
96 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
125 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 ...
-3
votes
1answer
168 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
719 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
87 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
105 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
650 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
486 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
265 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
914 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
201 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
169 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
57 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
92 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
144 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
163 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
vote
1answer
62 views

Unique ids for nested resources

I have couple of nested resources like Merchant, Hotel, Room. A merchant can have many hotels and similarly a hotel can have many rooms. Right now for managing these resources I doing something like: ...
1
vote
2answers
535 views

What problems arise from writing PHP for IIS/SQL Server rather than Apache/MySQL?

I'm a .NET developer, currently writing an ASP.NET site hosted on our local servers with Windows, IIS, and SQL Server. We're speaking to a company in India about hiring a developer for a different ...
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 ...
4
votes
5answers
224 views

RESTful URI map to database tables?

When designing a RESTful API, should your URI map to tables (for the most part). I have 2 tables that look like this: Users +-----------------------------------+ |id|first_name|last_name|email|role ...
2
votes
0answers
253 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 ...
0
votes
1answer
188 views

Best practices for creating multiple HTML buttons that are used for a similar purpose

I realize this may be subjective, but I don't see any clear-cut place for asking questions on good software design principals. I'm sure there are some software patterns and anti-patterns I should be ...
1
vote
1answer
328 views

Would onpushstate be an anti-pattern?

In Single Page Applications, it's common to update the URL when navigating, and re-render based on the new URL. This can happen when the user hits the back and forward button, clicks on an anchor tag, ...
0
votes
2answers
4k views

Handling errors in a client/server application

I am developing a web application and struggling to follow a clear semantic while returning response to the client. Taking an example of authenticating an user there can be following scenarios: 1. ...
4
votes
2answers
211 views

Showing custom data in presentation layer

I have couple of models Merchant and Offer. A merchant can have multiple offers. I am developing a web application and writing a custom component which show offer details like title, description etc. ...