The tag has no wiki summary.

learn more… | top users | synonyms

54
votes
3answers
221k views

What are the differences 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. ...
53
votes
8answers
9k 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 ...
30
votes
5answers
9k 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 ...
28
votes
8answers
24k 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, ...
14
votes
7answers
5k 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 ...
12
votes
6answers
21k 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 ...
11
votes
3answers
838 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 ...
8
votes
5answers
728 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 ...
6
votes
11answers
627 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 ...
6
votes
4answers
4k 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 ...
5
votes
7answers
1k 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 ...
5
votes
2answers
841 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> ...
5
votes
1answer
1k 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, ...
5
votes
4answers
1k 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 ...
5
votes
1answer
2k 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 ...
5
votes
2answers
187 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
4answers
2k 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 ...
4
votes
2answers
2k 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 ...
4
votes
1answer
302 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 ...
4
votes
1answer
869 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 ...
4
votes
3answers
607 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 ...
3
votes
1answer
198 views

Is there any reason not to make a webapp be client-side only?

I recently started writing a path-finding algorithm simulation application in python. It takes user inputs, randomly generates a 2d graph, and shows displays the simulation via GUI. Now, what I ...
3
votes
2answers
94 views

Is it reasonable to have grunt/gulp build phases in javascript dev environment

Nowdays it's goes to be very fancy to have grunt/gulp build phases who concatenate and minify and organize javascript code. And I agree that this is important for production. But as a developer, I ...
3
votes
2answers
700 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 ...
3
votes
1answer
323 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 ...
3
votes
1answer
425 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 ...
3
votes
4answers
3k 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 ...
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
3answers
693 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
2answers
85 views

Should I use an open source client framework or create my own?

I am working at a medium sized internet company, and I was handed the task of implementing the framework for our sites rebranding. It's quite an old (and ugly) site, and we want to update its look ...
2
votes
3answers
156 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 ...
2
votes
3answers
76 views

Handle server-side/client-side when for showing missing information as placeholders

I have a database table which stores Incident details. Each Incident can have an image saved for it. There are some Incidents which will not have an image for it. I have an API which pulls the image ...
2
votes
1answer
2k 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 ...
2
votes
1answer
56 views

Updating a video's view count. Should this happen client-side or server-side?

I built an iOS app similar to Vine, where a user can scroll a feed of videos that auto play. All of these video have a View_Count field in the backend to keep track of how many times the video has ...
2
votes
3answers
423 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 ...
2
votes
2answers
462 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 ...
2
votes
1answer
120 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 ...
2
votes
0answers
82 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 ...
1
vote
2answers
474 views

Is it possible to protect client side algorithms 100%? [duplicate]

If you had a pretty novel idea that involved a new algorithm. Like lets say you were the first person to think of orbitz.com or kayak.com (travel sites) and you were able to and wanted to implement ...
1
vote
1answer
200 views

Relatively large data on client side in web application

We are discussing on building a web application where (as per clients requirement), there will be relatively large data (60,000 items) to be shown as tree view. Let's assume each item is string of ...
1
vote
2answers
212 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 ...
1
vote
2answers
715 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 + ...
1
vote
1answer
75 views

Application components dependency and decoupling

In my client application I have two major components: Core: wrapper that handles everything about running the actual application NetworkClient: A layer that takes care of communicating ...
1
vote
1answer
94 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 ...
1
vote
1answer
313 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 ...
1
vote
0answers
177 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 ...
0
votes
6answers
512 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
395 views

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

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 ...
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 ...
0
votes
3answers
194 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 ...