The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
40 views

Balancing between performance, convenience & separation

Consider a web application that works with somewhat sensitive data on reliable, high performance clients. The data needs to be processed and manipulated. So far I have learned that when possible, ...
0
votes
0answers
50 views

WCF Client Data model best practices

Hi I am building a WCF Client Application (not web) for a service I have virtually no control of (different BU) and would like to separate the service consumption from the application business logic ...
45
votes
8answers
7k views

Client-side coding: How to prevent malicious use?

Over the last few years, the trend for client-side (browser) applications has really taken off. For my latest project, I have decided to try and move with the times and write a client-side ...
0
votes
1answer
89 views

Pattern that prevents events to trigger themselves

I am working at the client-side part of a web application, that is responsible for getting answers from users for specific questions and storing and restoring them from the database (or cookies) and I ...
1
vote
1answer
90 views

Ensuring submitted hiscores are not fake

I have a small game that I would like to keep track og global hiscores for. The basic is simple: username and score is submitted to a server for storage and later polling. However how do I ensure that ...
4
votes
3answers
363 views

Dividing responsibilities between client and server

I'm working on a Web app that uses node.js on the server and AngularJS on the client. I'm new to Angular, but enables writing client-side applications that can be more self-contained than some other ...
0
votes
1answer
117 views

Send mapped data from server-side code to client-side code

I'm developing a application based on two technologies: ASP.net (SharePoint) and JavaScript. I use server-side code for retrieve data from database and manipulate it whereas I use client-side code ...
2
votes
3answers
588 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 ...
1
vote
0answers
63 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 ...
0
votes
0answers
24 views

UDP distributing/sharding methods

Currently I'm sending UDP messages to a server which handles and processes the message. To make the processing more scalable, I'd like to have some sort of autoscaling mechanism for the receiving ...
1
vote
1answer
125 views

JSF problems due to shared server-side state

On it's latest technology radar, the guys at ThoughtWorks recommended avoiding JSF because it's attempt to create statefulness over HTTP ends up "causing a whole host of problems involving shared ...
0
votes
3answers
2k views

Are (mostly) client-side JavaScript web apps slower or less efficient?

I am in the midst of writing a web application for work. Everything is from scratch. I have been a PHP programmer for about 13 years, Node.js programmer for the past 2 years, and have no shortage of ...
2
votes
4answers
1k views

To MVC or not MVC, that is the question

Originally, I started off doing jQuery plugins, then moved onto Backbone.js applications, then been experimenting with MicroJS MVC modules, but these days I'm even wondering if there is any need for ...
3
votes
2answers
1k views

What to do when request is sent to server and while waiting for response internet connectivity lost?

I am sending a huge amount of data to server. Now while I have sent the data and waiting for server response, suddenly my android device gets internet connection lost. So what I used to do is, showing ...
1
vote
3answers
285 views

What techniques are there for debugging remote client side errors?

What techniques are there for debugging remote client side errors in a web application, especially when they only affect a small subset of users? In my case we have an app that is working well for ...
5
votes
4answers
885 views

Refactoring jQuery spaghetti code to use DDD [closed]

Most of my client side code ends up as a long script in one file the mostly looks like this: <script> function someFunction1(){/*...*/} function someFunction2(){/*...*/} ... var ...
2
votes
1answer
1k views

best way to store data from ajax call

I am writing a web-application in which I am retrieving data's from server through AJAX requests and the generate HTML content dynamically. I have some data to load, generate HTML from it and append ...
-6
votes
5answers
1k views

Can PHP handle mouse events? [closed]

I'm a newbie in php and i want to know if php can handle mouse events such as upon mouseCicked, mouseDoubleClicked, mouseMoved, mouseHovered etc.. And can events like button click , like displaying ...
1
vote
2answers
600 views

How Client Side Programming Works

I'm not coming from web-development at all, but am looking to build a web application. So far, I've looked into all the server-side stuff (for example, I think my stack will be Linux + node.js + ...
2
votes
3answers
476 views

Sharing business logic between server-side and client-side of web application?

Quick question concerning shared code/logic in back and front ends of a web application. I have a web application (Rails + heavy JS) that parses metadata from HTML pages fetched via a user supplied ...
2
votes
3answers
151 views

What are considered the definitive references for bootstrapping one's client-side expertise? [closed]

I'm a server-side junkie, and by that I mean I spend time writing code that's not visible to anyone. I'm interested in rounding out my skillset and becoming more self-sufficient with writing ...
4
votes
4answers
2k views

Server-side vs Client-side web application Performance [closed]

I am an entry level programmer with only a few months of experience. Yesterday I was discussing with a colleague how we can improve the performance of a project we are working on together. The ...
1
vote
0answers
1k views

How should I structure modules in an Angular.js application?

I am fairly new to Angular.js, and one that confuses me is how to best use modules in an application. It seems to me that modules can contain any of the other common constructs in AngularJS ...
3
votes
1answer
294 views

Best Practices for calculating data in GIS-like web application

Let's assume that we have a simple GIS-like application, which presents (using Google Maps or anything similar) recorded tracks. Each track consists of points (data portions) with geo-data and ...
5
votes
1answer
885 views

Should website frontends be rendered in client-side or server-side?

I've been talking to a colleague that comes from AS3 to the HTML world. He has created a small website (there are apparently no dynamic contents) following the no-flash rules for his very first time, ...
9
votes
6answers
3k views

Would Python be too slow for client-side use in Browsers?

I've heard the statement that Python would be too slow to be of any use in browsers. I reckon Javascript is only superior in this aspect because of companies like Google who need it fast (and made it ...
2
votes
2answers
346 views

AJAX Requests & Client-Side JavaScript

I am new to AJAX and trying to understand a question I've been given: A HTTP request is generated by a form which contains some drop-down list. When the form is submitted, a new web page is displayed ...
11
votes
3answers
671 views

How important is using the same language for client and server?

I have been evaluating architecture solutions for a mobile project that will have a web-service/app in addition to native apps and have been looking at various libraries, frameworks, and stacks like ...
34
votes
2answers
128k views

What are the difference between server-side and client-side programming?

I've seen questions (mainly on Stack Overflow), which lack this basic knowledge. The point of this question is to provide good information for those seeking it, and those referencing to it. ...
0
votes
0answers
151 views

Build filter conditions for entities on client side

I have the requirement that users should be able to specify filter conditions for one kind of entity through a GUI on a thin client. These conditions must be convenient to generate, meaning the GUI ...
5
votes
2answers
734 views

Efficient algorithm to sort html list of players

We have list of players, which is represented in form like this: <div class="players_list"> <div class="player" data-points="500"> <div class="name">Player1</div> ...
0
votes
6answers
493 views

JavaScript vs third party libraries

I program in Java and it doesn't make sense to me to think about learning a Java library or a framework without knowing the actual language the thing is built with. Same goes for C. I always avoided ...
0
votes
3answers
240 views

Technology Choice for a Client Application [closed]

Not sure this is the right place to ask... I'm involved in the development of a new system, and now we are passing the demos stage. We need to build a proper client application. The platform we care ...
3
votes
2answers
571 views

Structure of a single page app

I'm looking to develop a one page app, and will likely be using node.js for my server side coding. I'm trying to get some advice regards the client-side coding. While i realise that something like ...
0
votes
3answers
369 views

Is a client side developer usually expected to do design work also, or know designing and CSS as well?

If I'm applying for a client side developer job, am I usually expected to know designing as well? Such as CSS? I have knowledge of JavaScript, JQuery, Ajax and HTML5 basics, and HTML DOM. Is this ...
26
votes
5answers
7k views

Pros and cons of an HTML/JavaScript only web app

I come from an ASP.NET forms background and have found server side coding very powerful in the past. More recently, however, I have been wanting to phase out the server side code of the front-end and ...
2
votes
1answer
115 views

How to verify the client's view is consistent with the remote model?

i'm designing a client-server system via web broswser and i have this problem: I send the data to the client via JSON, then the javascript view shows the stuff. Then the user takes actions and ...
0
votes
3answers
170 views

Solutions for software using many calls to a server

I am developing software that uses many calls to a server. On a client side it's a Silverlight application. Almost every time a user clicks on a button in it, it sends 1-5 WCF calls to a server. There ...
10
votes
6answers
14k views

Pros/cons between emphasizing client-side or server-side processing

Why would I want to write a web app with lots of processing server-side? To me, writing the program client-side is a huge advantage because it takes away as much server load as possible because it ...
5
votes
4answers
3k views

What to call pure JavaScript standalone (web)apps for which I've not written any server side code? [closed]

I've been writing a few tools as standalone webapps for which I have written no server side code and it strikes me that I'm not sure what people call such things. I like them because they can be ...
-3
votes
1answer
1k views

iOS Server: HTTP/Apache Drawbacks? [closed]

I'm looking to create a client/server application for iOS devices, where client is the iPhone/iPad and server is hosted either at home (Macbook w/ Apache) or online. I've seen many methods suggested ...
4
votes
1answer
762 views

Mask oAuth API key and token for pure client-side technologies

If I were to build a Twitter or Facebook application using pure client-side technologies like HTML and javascript, how would I mask/hide my API keys? For example, for Twitter I have consumer key and ...
5
votes
2answers
186 views

Proxied calls not working as expected

I have been modifying an application to have a cleaner client/server split to allow for load splitting and resource sharing etc. Everything is written to an interface so it was easy to add a remoting ...
4
votes
1answer
267 views

What is the reason for creating the symbols ∞ on the client side?

Take a look at this link: http://math.stackexchange.com/questions/60766/what-is-the-result-of-infinity-minus-infinity What is the reason for transforming the symbols ∞ on the client side? Because if ...
6
votes
11answers
597 views

What determines when a computer is considered a “client”?

In web development the terms "server" and "client" are often refered to when discussing how pages are requested on the web. It is also used exstensively when talking about PC, phone, tablets, etc. The ...
5
votes
7answers
815 views

What is easier to do with web applications compared to native GUI applications?

I have the impression that more and more applications with a user interface use HTML+CSS+JavaScript client-side instead of a native GUI framework. I wounder what are the most important driving forces ...
1
vote
2answers
196 views

Can this type of page be made client-side?

I'm planning on making a website that will have mainly articles and videos. I'm going to post the videos on YouTube and use the YouTube API on my site. What I am wondering, is if I can make a page ...
3
votes
1answer
315 views

Is Java Plug-in still relevant?

When I challenged Chrome development team about their decision to block every version of the Java Plug-in by default (http://code.google.com/p/chromium/issues/detail?id=84001). They answered that Java ...
20
votes
8answers
17k views

Why almost no webpages hash passwords in the client before submitting (and hashing them again on the server), as to “protect” against password reuse?

Relevant XKCD There are many sites on the Internet that require login information, and the only way to protect against password reusing is the "promise" that the passwords are hashed on the server, ...
8
votes
5answers
714 views

What is the historical basis of using Javascript in web programming?

I come from a scientific biology background where we also use Python a lot. Now that I've begun to start with Web development, I've consistently found myself wondering just why it is that JavaScript ...