Web applications are applications that are accessed over the "web", which can mean the Internet, or an internal network (an intranet).

learn more… | top users | synonyms

1
vote
2answers
130 views

Dependency injection for request variables in a web application

I'm working a PHP 5.5/MySQL web application. If a class depends partly on some global GET and POST variables for its members, should I just refer to them directly from within the class, or should I ...
1
vote
1answer
129 views

Making applications build system-aware

Build systems for web applications are great: they give dependency management, code minification, and the ability to use tech like SASS or CoffeeScript that require pre-processing. However, I find ...
2
votes
1answer
61 views

Web app design: Local caching vs demanding

I'm writing a web application in javascript that will be served to the clients' browser. The intent is for the app to appear to the client as a monolithic application, not a series of interlinked ...
4
votes
3answers
916 views

Kerberos web authentication

I'v developed an internal singe-page web-app (unix, apache & postgresql) protected by a simple login page. Currently, the users have their own login role with a password. This is starting to get ...
1
vote
1answer
306 views

Advantages and disadvantages of making one DB per customer [duplicate]

I'm starting to design a web application, and I'm evaluating some decisions regarding the general structure of it. My use case is as follows: I plan to have multiple customers on a single server. ...
6
votes
2answers
702 views

Practices for domain models in Javascript (with frameworks)

This is a question I've to-and-fro'd with for a while, and searched for and found nothing on: what're the accepted practices surrounding duplicating domain models in Javascript for a web application, ...
3
votes
1answer
110 views

What is the benefit of offloading email to a transactional mail service?

Why do so many people recommend offloading email to a transactional service such as Mandrill, Postmark or Sendgrid? Is sending email via smtp really that much slower than sending a request out to ...
1
vote
2answers
1k views

Why did javascript libraries like knockoutjs, backbonejs, and angularjs only come out in 2010?

Being a relatively new web-developer I am surprised that these libraries didn't exist before. Is there a particular technical or historical reason that at around Sep 2010, a sudden development and ...
3
votes
2answers
381 views

Is it correct to require end-users to clear their cookies?

Is it any indications of poor programming if the support staff for a given product requires you to clear the cookies in order to troubleshoot issues with their web-site? As a point of example, if ...
2
votes
0answers
391 views

Explanation java/web (tomcat/coyote/JSP/Servlet etc..) in 'Perl-world' terms

Analyzed one web-server. for the http request i got: apache 2.2... what redirects to https, and for https got apache-coyote 1.1. and the server runs xwiki java app. Trying to understand how it is ...
0
votes
2answers
941 views

In-house SMS (using a SIM card) receiving and sending?

My needs are very simple but I don't know the terms I should be Googling for: I need to occasionally send a SMS to a machine and that machine is going to answer with another SMS to the number that did ...
3
votes
1answer
100 views

reloading singleton classes and dependency

I have a singleton object. It's a DAO that looks somewhat like this (pseudoish code): class UsersDAO { public usersDAO init(string sDSN){ variables.sDSN = sDSN; return this; } public ...
2
votes
3answers
1k views

Options for client-side encryption of local web databases

My scenario is as follows: Web application, run from the browser, designed for mobile devices. Uses WebSQL storage which may contain sensitive data. Uses Application Cache to enable offline use ...
2
votes
0answers
63 views

How to handle static-ish content from a CDN with authentication?

I have a website that allows user uploads of content. Part of the design, to date, involves storing the user content on a NAS that has been configured with a separate app pool in IIS that has ...
0
votes
0answers
114 views

Simulate desktop app with Chrome application shortcut

Technically I'm building an intranet web application, with web server running 24/7 and a central database, users can access it with any browser. However, for the user, the app should have the look ...
1
vote
2answers
408 views

What is the applicability of CORS?

I have a system which needs to do cross-origin requests and having trouble understanding the relevance of CORS. At first glance it doesn't appear to provide me with any type of security I'd actually ...
2
votes
2answers
121 views

How to you achieve flow in web programming? [closed]

I really like programming simple things, like solutions for Project Euler, where you can concentrate, write an algorithm, instantly execute, test, verify and change the program until it works. Even ...
5
votes
2answers
132 views

How to keep track of links pointing to existing web applications in an Intranet?

At my new place of employment we have a Intranet solution containing multiple web applications hosted in IIS. Outside of the development department other departments either source or create other ...
2
votes
0answers
85 views

How can I interact with a client-side sound device through a web application?

I'm trying to find something that will allow a web application to analyze the line or microphone input from a client and transmit that data to the server. I've looked briefly at WebRTC and, although I ...
9
votes
15answers
2k views

Is obtrusive JavaScript ever ok?

I was thinking that if all the users of a website are required to have JavaScript enabled, Is it ok to use obtrusive JavaScript? I'm all for progressive enhancement, but what's the point when an ...
3
votes
2answers
328 views

How does browsing speed differ in native apps, web apps, and websites?

I read an article online which I give the reference to below which compare between Native apps and web apps, in addition to standard website. It seems from that article that native apps are faster ...
1
vote
0answers
94 views

How to have my callbacks authenticated in a REST app?

I'm developing a REST application and I allow my clients to authenticate in several ways (typically using Authorization: Token ... as in OAuth 2.0, but also there's session-based auth option for the ...
0
votes
1answer
426 views

Lean Startup MVP: Quality Code or Quick and Dirty [duplicate]

Hello some programmers might know about the lean philosophy, building a minimal viable product Lean Startup MVP. I ask myself (when building Webapps): "Should I put effort into writing good ...
0
votes
1answer
285 views

Using a variable in a Global context in webapps

In a webapp, I have a scenario where I need some kind of global context (Static like) for few variables, for the current thread only. If there are 3 different concurrent users, then I expect three ...
1
vote
3answers
252 views

Why is my page load time so closely correlated with number of database queries?

Whenever I'm doing web development, and a page takes longer than half a second to be generated, I know that somewhere my code is hitting the DB too many times. The normal way to fix this situation is ...
2
votes
3answers
530 views

How does database connection pooling improve application performance?

I can't understand why connection pooling improves application performance. I suppose connection establishment would cause latency. But reusing an established connection requires more complex error ...
1
vote
1answer
313 views

PHP OOP - Getters / setters vs. database storing

Problem I am trying to optimize the architecture of my web-application developed in PHP using the Symfony framework. I have an object "pool" that contains "swimmers". I need to display the number of ...
1
vote
1answer
798 views

Storing user uploaded images / files in multi server env

In a multi server system, e.g. a load balancer, multiple web servers and a database server, where do you store the files / images users upload when each web server will need access? Before now I've ...
0
votes
1answer
316 views

HTML markup vs programmatic JS

I've been thinking about the consequences of using programmatic JavaScript components versus HTML markup. For example I looked into the Enyo Framework, which has its power in composition. One can ...
1
vote
1answer
105 views

Is Interactive the term for web application that respond quickly to user?

Just a quick question on Web Application attribute, if responsive (which mainly stems from web design) means website that adapts to different screen size, then the closest term I can find for Web ...
3
votes
2answers
241 views

How to ensure that all the customers have the latest version of web application deployed on intranet?

How to update web application deployed on intranet? There is a Java Spring application that will be deployed on intranet of multiple customers. In case when there is a major update what should the ...
15
votes
1answer
8k views

Alternatives to OAuth?

The Web industry is shifting / has shifted towards using OAuth when extending API services to external consumers & developers. There is some elegance in simple....and well, the 3-step OAuth ...
0
votes
1answer
177 views

Why can python webapps keep sessions between restart and not java?

I've used both webapp2 + GAE for python and a number of Java/JEE webapp frameworks. The python WSGI framework could keep users logged in while I redeploy the app while none of the Java web framework ...
1
vote
2answers
100 views

GPL and confidential business rules in a single page application

I am designing a web app for a client who wants to keep some of his business rules private, we have an NDA. In a nutshell, customers use the app to book a service, and employees use it to keep track ...
0
votes
2answers
64 views

How to approach design to minimize conflicts when distributing individual locations to merchants

One of my potential customers is operating an open market in their town. From what I'm told, they make a decent profit by renting out the individual locations on that market to small merchants who ...
0
votes
1answer
503 views

How to deploy C# application to be used in branch / remote office(s)

Have very recently started a new position. One of my key challenges is a C# WinForms application (let's call it AppX) that causes a lot of non-planned work. The main reason for this is that it needs ...
0
votes
1answer
366 views

How would I structure my code into an MVC format?

I want to have the home page (root of the website), check if a cookie exists for a user being logged in, and then based off of that determining whether or not to load the sign up page (landing page) ...
8
votes
5answers
23k views

Java web application folder structure

As a beginner to J2EE, I have recently started developing my own project from scratch using the Core of J2EE : Servlets & Jsps. I could not evaluate whether my project folder structure is right ...
27
votes
7answers
5k views

Is there a good reason to avoid node.js for non-realtime web apps?

I've seen a lot of talk about how awesome Node.js is for realtime web apps -- things that need sockets, Comet, AJAX-heavy communications, and so forth. I know that its event-driven, asynchronous, ...
2
votes
3answers
275 views

Framework in which views are defined in the database - design flaw or reasonable?

I'm working with a framework where the fields displayed on each web page are defined in the application database. Administrators can add new fields to pages or hide/completely delete old fields. The ...
0
votes
1answer
103 views

Deploying v Releasing

So there's this desktop application. And I am wanting to inform it's users that a new version has been released. Is it more correct to say that a new version of a desktop application has been ...
4
votes
4answers
445 views

eCommerce use case: removing a product

I am starting to design the database schema for the eCommerce element of a web service I am creating. The thing I'm trying to get my head around is how to deal with the use case of a seller (user of ...
2
votes
2answers
5k views

Storing large data in HTTP Session (Java Application)

I am asking this question in continuation with http-session-or-database-approach. I am planning to follow this approach. When user add product to cart, create a Cart Model, add items to cart and ...
3
votes
2answers
606 views

Build times for small incremental changes to C# Web Applications

I have recently been moving away from ASP.NET Websites in favor of Web Applications. More specifically I have recently been picking up MVC as an alternative to developing ASP.NET Forms websites. ...
3
votes
2answers
2k views

What does it mean for “Bootstrap” to be precompiled?

I was reading the Bootstrap Getting Started docs, and I came across "Pre-Compiled Source" as a feature. Upon downloading the package, I just found .js, .css, and some image files. What is there to be ...
21
votes
5answers
31k views

Service layer vs DAO — Why both?

I have been working with SpringMVC, Hibernate, and some databases in a java web application example. There are a few different ones that do this, but this Spring 3 and hibernate integration tutorial ...
2
votes
1answer
344 views

Python garbage collection giving me a hard time

Context: I am developing a web application using webapp2 web-framework with python to be hosted on GAE. The web application (web-app from now on), is a chess variant. Being a first timer, I have ...
2
votes
1answer
144 views

How to handle when one user deletes the object while the other has it opened in edit mode in a webapp?

I am developing a CRUD type web application. It is a project management system having projects, milestones, tasks, employees etc. Each employee has his/her own account to login and view the system. ...
0
votes
1answer
105 views

Evolution versions of applications [duplicate]

Don't understand some things about evolution versions of some applications. Please tell me why, for example, firefox 26.0b1 released earlier than 25.0? What it means to "x" version? (5.x)? release ...
-1
votes
1answer
362 views

Intranet application platform decisions wamp vs node [closed]

I have a client/server java application with a firebirdsql backend. This is a pain because I have to install java and the client on every workstation, etc So it is now time to rewrite the ...