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
0answers
81 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 ...
-2
votes
0answers
68 views
Need to explain the reasons for migrating the project from ASP to PHP [on hold]
I have a project which is built on ASP, it has three big sections or modules.
Main Website (Showing content)
Forum (community stuff)
Portal (Previous history by map about community)
Now they want ...
0
votes
0answers
50 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
3answers
79 views
Web form repopulation after invalid submit
In general, what should be the best way to repopulate a form when submission fails due to invalid inputs.
Here, invalid would mean something did not pass the check or some validation methods server ...
0
votes
0answers
18 views
saving and using search form and/or menu links parameters
I have s seach form on start page of the website on submiting the form which has 10 fiels/selectboxes I want to save the search criteria of the user in session
on submitting the form the user lands ...
0
votes
2answers
37 views
Database Architecture - Comprehensive history of likes/shares/etc for all accounts?
The Setup
This is a membership-based site. Each account is capable of:
Making posts (unlimited, no restriction on frequency)
Liking, sharing and commenting (on) the other posts
The goal is to ...
-1
votes
0answers
82 views
Need help Identifying this programming language [closed]
[start]
header="<h1>Login to free WiFi!</h1><p class='instruct'>You can either login by registering via the button below, or through your Facebook account:</p>"
...
1
vote
0answers
62 views
Disadvantages of using vanilla code for a Single Page Application
I am building a SPA that basically incorporates multiple video streams (using WebRTC) and various other components such as a text 'chat' feature.
I have spent a couple of weeks building a proof of ...
149
votes
8answers
17k views
Developing web applications for long lifespan (20+ years)
I'm currently developing a web application for government land planning. The application runs mostly in the browser, using ajax to load and save data.
I will do the initial development, and then ...
0
votes
1answer
63 views
Handle object in handler or inside object
I've start wondering what's the best practice when handling objects in web development.
Oversimplified the process when there is a page request often looks like:
Page request.
Fetch object data ...
1
vote
2answers
205 views
Fully API-based website - is it a good idea?
I sometimes hear about making web-site fully API based, meaning that even in browser the page is constructed based on API endpoint and practically nothing else.
One of the benefits I see in this is ...
3
votes
1answer
261 views
In c# how do people make complex functions
Hi I'm working on a c# MVC code first project. I've started the project and have created the Models, database frontend etc.
Now my attention has come to writing something that can read an excel ...
3
votes
4answers
128 views
Getting pure feedback early, without damaging brand by exposing unpolished features
Getting useful feedback early in the development cycle gets you to a high-quality feature faster.
And the most useful feedback can be in the form of users actually using something in the wild, ...
3
votes
2answers
47 views
Encrypting a folder used for serving images?
I have a Node.js application that reads and writes images from a server. The images are stored in a directory on an Ubuntu operating system. Express static routes serve images from that folder when ...
1
vote
0answers
54 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, @...
0
votes
0answers
56 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 ...
1
vote
1answer
96 views
Caching data vs. caching output
I don't have much experience in caching among web applications, but I am trying to educate myself in the field and try out various techniques and approaches in ASP.NET MVC.
The majority of tutorials ...
0
votes
1answer
129 views
Should a method always be static if it can be?
I am using Typescript in Webstorm with Angular 2 and I am frequently getting warnings that a given method can be static. Yes, these specific methods do not depend on the state of the object they are a ...
-1
votes
1answer
56 views
In a MVC application, what is the correct way to organize the entry points for the business logic?
Generally speaking in a MVC framework we have the Controllers that do things like making sense of a request, preparing the parameters and starting an action in the business logic through some kind of "...
3
votes
1answer
183 views
Why use IIS or apache tomcat instead of self-hosting?
I am a .NET developer. I see ASP.NET MVC framework now started providing a self-hosting feature. It makes a lot of sense (to me). A self-hosted application feels complete with no external dependency.
...
1
vote
1answer
154 views
Splitting a big project to create a multi-module Maven project
I am working on a Spring-MVC application in which we are using Maven for dependency management. As the project is big, we are thinking of splitting the project into several parts. I had some doubts, ...
0
votes
3answers
144 views
Need help choosing/creating a workflow for web development
I've been designing and programing websites for the most part of my adult life. I've always done this solo, freelancing mostly and working from a single machine.
Currently, I use Dreamweaver for the ...
0
votes
1answer
47 views
How to work with starter kits and their updates?
When I start a new project based on a nice starter kit like this Angular 2 one. How do you keep up with changes to a base repo like this?
I know that it is a 'starter', but it would be nice to merge ...
2
votes
8answers
246 views
Should web forms allow invalid input?
When completing online forms, many online applications will instruct users how to format their input, detect whether the input is formatted correctly, and issue error messages if it's entered "wrong" ...
10
votes
2answers
2k views
Who designs databases in web development? [closed]
In the context of web development, who designs databases? Despite a whole host of information associating back-end web dev with server-side processing, data modeling, and the like, the database design ...
0
votes
0answers
38 views
JS object, PHP object or MySQL database
I'm trying to improve my Web development skills, after a period spent in reading books,articles and stuffs about JS and jQuery now I'm doing the same thing on PHP.
I've read some stuffs about PHP ...
0
votes
0answers
43 views
REST Based UI vs Server Side Generation
I would like to design an architecture for an admin dashboard application. I have some requirements and restrictions and want to finalize my architecture. I'll try to be as clear as not to be asked a ...
0
votes
2answers
57 views
Validation for each record in csv file
I create page to import records so users can import records using a CSV file.
I am already using Sanitization to remove unexpected characters for specific field of the record, Do I have to validate ...
0
votes
1answer
176 views
Two way data synchronization between web application and REST API server
I have a web application and a REST API server (Microsoft Dynamics CRM 2016) that I don't have access to it's code, but I have access to the available resources. I need to create a data sync between ...
2
votes
2answers
201 views
Architecture review - case study (Spring MVC)
I'm developing an Java Web Application with Spring, and I have some questions about my architecture. Before showing it, here is the context:
I am developing a web application with more than 80 ...
3
votes
0answers
104 views
Node.js deployment — npm or gulp
Suppose that I have a project written in JS via such frameworks like Node.js and Express. It also uses Mocha as a test framework and Gulp as a build system.
I wonder what is the best way to expose ...
1
vote
0answers
46 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 (...
2
votes
0answers
80 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,...
0
votes
0answers
42 views
Testing a single server deployed web application for cloud/cluster?
My Java EE web application runs fine on my local tomcat server single instance. Now it has to be deployed on a cloud/cluster env to scale. I intend to use hazelcast for interJVM communication.
...
1
vote
1answer
137 views
Storing uploaded images for website
I'm developing a website (using PHP, JS, and MYSQL) which allow user to upload images. My requirements are as below:
User is able to upload 1 or multiple images at a time.
Website is able to save ...
1
vote
0answers
104 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 ...
-3
votes
2answers
176 views
Why don't servers deliver JS and CSS at the same time as HTML?
Since every time a web browser requests a page, we are almost certain that there are .css and .js files to be sent as well. Why do we wait for the browser to parse the DOM and discover those files ...
1
vote
2answers
90 views
How can I maintain a database record of an entity that belongs to several categories of another entity, per year, per season, etc
I am building a kind of School Management System.
I want to be managing the database records of things like assessment, term/season, academic years. every info must belong to a particular academic ...
1
vote
0answers
66 views
Using relative units instead of px following DRY principles
I am relatively new in web development, but I am trying always to find the best way and make my code even CSS and HTML clean. So I've started exploring best practices.
First of all lets start ...
0
votes
0answers
69 views
What is the best way to develop a script with multiple people?
Hello I am new to PHP programming. Sorry if my question seems silly. I already know I have to use a version control.
My doubts about the source code protection.
How can I work with other programmers ...
0
votes
1answer
19 views
Viewing local changes to website on separate device
I'm trying to figure out how to do something, and I can't quite seem to get it to work. Let me describe the situation:
Using a hosts file, we redirect the resources (CSS/JS/etc) of a website, let's ...
0
votes
0answers
25 views
Database Considerations (Loop vs comparison)
I am working on a project where I am provided a CSV file with around 60k records containing printer usage. The CSV file itself has no primary identifier per row (it's an export from another system).
...
1
vote
1answer
66 views
How is approval done in cors via preflight request?
As far as I have known in CORS, browser sends preflight with OPTIONS request to the server to gain approval for the real subsequent GET/POST request. Now, HTTP is sessionless. Is the custom header THE ...
1
vote
2answers
85 views
Review page use of AJAX
I am currently working on a site that heavily uses AJAX. I have a page that when called renders the basic HTML and then uses AJAX to get the data that the pages needs and then renders the rest of the ...
1
vote
1answer
66 views
MVC, Services and DAO: Fundamental design choices, error handling and return values
Edit: There is no "right" or "wrong" answer here, I was merely trying to get people to share their dos and don'ts.
Behind this rather vague topic I would like to address a few problems I've been ...
0
votes
2answers
213 views
How should I architect my back end based on these needs?
I haven't started building my back end yet but I need to now.
My needs are the following:
Database needs to be holding millions of game information (just info that can be stored in a typical db ...
0
votes
1answer
48 views
Which strategy to use in Client-Server messaging to trigger specific behavior in them?
I'm developing a virtual assistant to manage transactions in a business. I'm using an external service to handle Natural Language and
get intents, actions and parameters from my user requests.
The ...
0
votes
1answer
90 views
Understanding streams
I have started learning streaming APIs and I found one of the good documentations here. There was a comparison given by author to demonstrate the effectiveness of the streams.
var http = require('...
1
vote
1answer
129 views
Consume ASP.Net REST API service
I am creating ASP.Net REST API application and stuck on the part where I should consume the REST service.
I am not sure how to find the way let me accomplish the following:
1. I don't want it to be ...
7
votes
1answer
187 views
App opening standard browser instead of active browser
Say you have a smartphone with two browsers, DefaultBrowser and OtherBrowser.
You visit the webshop by opening Otherbrowser, and proceed through the cart steps
At the end, you go from OtherBrowser ...