The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
523 views

Remembering User-selected Values in Web API

I've created a website for a tennis league. The two main pages are standings and schedule. When a user accesses the site, I'd like to have them select the league and season first. For example, the ...
12
votes
4answers
6k views

Are there any statically-typed Web scripting languages? [closed]

There seems to be two major ways to set up a web server backend. You can use a LAMP stack, with the server-side code in something like PHP or Python (or Ruby or JavaScript, which don't start with a P....
2
votes
3answers
209 views

How to manage an existing web application?

I am a student that will finish his degree in like 7 months. I have a side job where I am the only programmer for a small company. The web application is for invoices and employee working hours. This ...
6
votes
3answers
237 views

How to document URLs and interaction between pages

We're developing a web application that is now growing to quite a few pages, all dealing with complex data and rather complex interactions between pages. For instance, the login flow encompasses the ...
0
votes
2answers
93 views

Object property depend on previous objects in a list. How best to go about this?

So basically I have an object with a few properties in it: public MyObject { public string Name {get;set;} public bool Complete {get; set;} } List<MyObject> myList = new List<MyObject>();...
0
votes
1answer
66 views

Upon session time out, login to landing page or back to page client was viewing

Trying to figure out what is the best practice when session times out so that i can do it right first time around. Assume user logs into a web app and goes to "/events" page, where they stay till ...
-2
votes
1answer
1k views

Drawing the conceptual architecture of my web application in simple steps

I need to present the conceptual architecture of my site in a couple of days. It is an extremely simple web-site: it is made using HTML, CSS, JavaScript, XML and XAMPP for PHP, MySQL and Apache ...
8
votes
5answers
2k views

What's the web framework to use on a front-end web application? [closed]

What do you consider a good client web framework to use on interface business application? jQuery? YUI!? Another? Some plugins useful? The application will be use mostly internally replacing a ...
-1
votes
1answer
106 views

How to make sure I have the contract proposal approval in my system?

I am building a website and in it I am trying to follow the rbac (role-based access control) model. Now, the thing is that managers need to send their contract proposals to approvers (people who will ...
0
votes
1answer
561 views

Is it possible to secure a REST API and validate the integrity of each requests?

I am trying to design a public facing website and would like to experiment with a WebAPI backend and one of the popular front end javascript frameworks. Now, this application is not going to require ...
5
votes
1answer
117 views

Should we be putting CSS in the HTML via <style> during the build process to avoid the extra network requests that <link> requires?

Normally we link to CSS via the <link> tag. However, this leads to the browser making a network request for the stylesheet, which is slow. What if, in the build process, we took our CSS file ...
0
votes
2answers
128 views

Deployed Website's Integrity

Yesterday, the deployment of a financial website on a client was replaced with an older version which created unexpected issues and a downtime of almost 12 hours. We came to know that two guys from ...
2
votes
3answers
3k views

Tips/Process for web-development using Django in a small team [closed]

We're developing a web app using Django and we're a small team of 3-4 programmers — some doing the UI stuff and some doing the Backend stuff. I'd love some tips and suggestions from the people here. ...
0
votes
3answers
233 views

Same JavaScript on different web pages

I have a web site with several web pages. Each page requires some JavaScript: i.e. different JavaScript for different pages, which some JavaScript that's common to every page. Some of the JavaScript ...
-1
votes
1answer
412 views

What kind of JavaScript design pattern is this?

In our workplace we use simple ajax library for getting page data and submitting changes to the server. Sometimes we need to change the form’s field values. We know that fields can be of any type (...
4
votes
1answer
140 views

How to integrate versions with changelog?

Before I start the question I want to tell you guys I'm new to this type of workflow. The previous companies I worked didn't used Version Control and/or changelogs. Also, I've been working as ...
25
votes
6answers
5k views

Databases and Unit/Integration Testing

I have had a discussion with someone about unit/integration testing with web applications and I have a disagreement about 1 core idea. The issues is that the person I am talking to think that the ...
4
votes
6answers
4k views

Splitting up a very large function/program into smaller functions. Effective?

I know function names can be very expressive. And therefore it can be tempting split up a program into particular functions and call them from a large "oversee-able" functions file. However is this ...
6
votes
1answer
516 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 ...
42
votes
7answers
20k views

Referencing external javascript vs. hosting my own copy

Say I have a web app that uses jQuery. Is it better practice to host the necessary javascript files on my own servers along with my website files, or to reference them on jQuery's CDN (example: http:/...
2
votes
1answer
105 views

Basic question on how to redirect users to third party payment sites

My sincere apologies, if this question is too vague but I am really curious in understanding how payment redirection works in web development without exposing data in url parameters. In detail with ...
5
votes
1answer
3k views

Is it bad practice to call another API from a Filter?

I am using Java, Spring and Jersey. I have a REST API A which receives a query parameter called q and sends this to another API B to get a response. I need to implement a change where I first need ...
2
votes
1answer
75 views

Communicating warnings in CI context - Nodejs, Grunt, Slack

We have a fairly complex Gruntfile.js that performs numerous things to process a bunch of EPUBs. It's part of our CI process being run regularly on Jenkins. Sometimes we want to notify the person who ...
3
votes
3answers
1k views

Realtime frontend dashboard, calling api every 3 seconds, reduce cpu loads

I am working on a networking project. Where I am creating a dashboard to view real time status (CPU/memory usage, up/down traffic and few others) of multiple routers by calling API request to server ...
3
votes
1answer
996 views

How should I run multiple instances of my Docker project on one server?

I have built a blogging application, running in several containers that are managed with docker-compose. Now I'm wondering - how does one run multiple instances of such application on one server? I'...
8
votes
1answer
2k views

Is it better practice to bundle scripts into a single bundle per page, or have several bundles?

In a web application I'm working on, there are 3 types of scripts (same applies to stylesheets): Those needed on every single page (e.g. jquery) Those needed on several pages, but not all (e.g. a ...
0
votes
1answer
391 views

Technical Design document and external agency

My company is recruiting an external agency to do a site redesign/development (agency has not been selected yet). Regarding the technical design document, should my company produce that document or ...
1
vote
0answers
341 views

Make PHP run like NodeJS [closed]

I like how NodeJS works, the program runs once, includes whatever it needs in order to function, defines its routes and then starts serving requests. On the other hand there is PHP - every request ...
4
votes
1answer
115 views

How can customer specific implementation be handled?

How can I handle customer specific implementation. So for example a custom needs a different way to show data, a different model or a different logic. I've read about HMVC but I can't find frameworks ...
14
votes
5answers
2k views

What is the benefit of having “no runtime exceptions”, like Elm claims?

Some languages claim to have "no runtime exceptions" as a clear advantage over other languages that has them. I am confused on the matter. Runtime exception is just a tool, as far as I know, and ...
4
votes
1answer
915 views

How to handle mismatched request body and content-type header?

If someone makes a request with a Content-Type that doesn't match the syntax of the request body, how should the server respond? Is there a standard way of handling this (seems like there would be), ...
3
votes
1answer
256 views

Git structure on production server

So I want to add our git repo to the server so that we can pull in the latest changes from the master branch and easily update the live sites via SSH. I don't want changes tracked by Git on the live ...
6
votes
1answer
386 views

How to efficiently implement data-heavy screen updates in a web application?

Imagine an engineering type web application where there is a screen that displays around 100 of unique data values. The user can "page through" the screen by clicking Right/Left arrows, and the screen ...
5
votes
1answer
2k views

Designing web application using two different frameworks

i'm relatively new to web development and i wanted to understand what does it mean when someone say "they used django for backend and javascript frameworks for front end." please correct me if i'm ...
1
vote
1answer
45 views

Is there a convention for handling tables and modals

I have a table, each row can spawn a model with additional information. Is there a best practice for displaying tons of information like this? I've considered the following options: Save all ...
2
votes
1answer
155 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 ...
8
votes
1answer
791 views

Options to handle large (multi-gigabyte) file uploads

How would you implement a very large file upload functionality with a Django application and S3? In my side job as a photographer, I have several clients for which I have a need to share multi-...
9
votes
4answers
1k views

How important is knowing functionality before coding?

I work for a software development company where the development work has been off shored to us. The on shore team handle the support and talk directly to the clients. We never talk to the clients ...
0
votes
1answer
1k views

3D Secure MPI providers - suitable for multiple third party payment systems?

Long time user of SO, and figured this is the best place to ask this question. I am currently consolidating our eCommerce payment clearing systems into one Asp.Net MVC website that will work like ...
2
votes
1answer
171 views

dynamic Layout; viewBag vs render actions

I am a intern student working on a project. We have the need to use a dynamic layout. Originally all that we needed was to know whether or not a search input should appear in the navbar and what ...
-1
votes
1answer
326 views

I'm building an app with Node, Express, and MongoDB. Is AngularJS necessary?

Node, Express, and MongoDB are really connected so I can understand why they are frequently used together. For a web app of medium complexity, can I get away with only using HTML/CSS and EJS for the ...
0
votes
1answer
2k views

How can I safely expose web API endpoints for user-private data?

I'm building a web application wherein users CRUD their own private data. Can I safely expose API endpoints? Despite years in-industry and endless web-research, I'm not clear on the best ...
17
votes
5answers
49k views

Do I need to know servlets and JSP to learn spring or hibernate or any other java web frameworks? [closed]

I've been asking a lot of people where to start learning java web development, I already know core java (Threading,Generics,Collections, a little experience with (JDBC)) but I do not know JSPs and ...
3
votes
2answers
309 views

What should I think of when making an internal API public? [closed]

An internal API I've built will soon be consumed by a third party. Should I open the current internal API to the public, or should I create a new API endpoints for external access?
1
vote
0answers
47 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 (...
4
votes
1answer
215 views

Is loading the same .jpg in different qualities a waste of data?

I'm building a web site and I want to use a big background image. Because of speed considerations, I thought that it would make sense to send a low-res version of the image the user first (for fast ...
3
votes
3answers
355 views

Options for the RESTFul approach for follow and unfollowing

I'm looking at implementing a new RESTFul call where a User can follow/unfollow a generic 'thing' item, but I need to know the best or common approach below, 1 or 2? 1) A GET or POST on the ...
393
votes
35answers
591k views

Why isn't Java used for modern web application development? [closed]

As a professional Java programmer, I've been trying to understand - why the hate toward Java for modern web applications? I've noticed a trend that out of modern day web startups, a relatively small ...
16
votes
6answers
2k views

Being the only developer and its consequences [closed]

I am the only developer in my company. I do programming (in ASP.NET 4.0, jQuery and SQL Server 2008) and maintain the database and web server (win 2008 r2). I enjoy the freedom of implementing what I ...
4
votes
2answers
184 views

Should a web application be aware of its URL, including its sub-directory?

Let's say I have a reverse proxy set up getting traffic at http://gluten-free-snacks.example.com. It serves different URLs by sub-directories, not sub-domains, for a better web UX. Its default ...