Server side coding involves work which does not interact with UI, and is critical to process requests fired by client-side.

learn more… | top users | synonyms

7
votes
3answers
2k views

Help understanding server-side scripting

As far as I understand, there are basically 3 options for doing server-side scripting these days: Using scripting languages that can be directly interpreted/executed by the web server (e.g., PHP and ...
0
votes
1answer
100 views

Can developers emulate high server traffic in order to prepare for a live environment?

With the recent publishing of Pokemon Go, we're reminded yet again at how often online-dependent software (especially games) fails to run appropriately on launch-day due to server errors. I've been ...
1
vote
1answer
58 views

Organizing effectively the project

One of our assignments is to write a website which should use a database. I would like to have some help organizing it. Here are characteristics of our work. The assignment is for a group of 5 ...
74
votes
4answers
364k 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. In ...
3
votes
4answers
9k views

How to choose a server side language / framework [closed]

I am trying to come up with a list / ranking system on determining which server language to choose for a particular website. Assume that familiarity with a certain language is not important and the ...
16
votes
6answers
30k 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 ...
7
votes
3answers
2k views

More comfortable working on the backend, often referred for role on the front end [closed]

I have applied and have been approached for different roles in web development recently. The one thing that keeps coming up is that I am more suited to front end development than back end development. ...
1
vote
1answer
487 views

Set keep-alive for Java ServerSocket

In a multi client server application, I need to know when each client connection is dead on the server side. After set keep-alive for client (and change default time from 2 hours to 10 second) each ...
-2
votes
2answers
1k views

Server-Side Development for Android Developers [closed]

I'm a Java/Android Developer, I recently graduated college and currently working as a Jr. Android Developer. I feel very comfortable around Android and Java in general, also I'm always reading and ...
0
votes
1answer
143 views

How to stop someone from calling URL on server

I am very new to web development and am trying to create a website using client/server model. From what I understand, the front-end (client-side) calls URLs specified on the server to get information. ...
5
votes
3answers
202 views

Do microservices scale down?

I've been reading up on microservices architecture, which gained a lot of recognition in recent years. As a big fan of UNIX philosophy, I find it very clean and sensible. However, exisiting ...
0
votes
1answer
106 views

Optimizing instant notifications

Scenario To deliver instant notifications to the client, I'm sending an AJAX request to a PHP page that checks if there are new notifications: if there are, it outputs them, otherwise it sleeps for ...
3
votes
1answer
112 views

Can fast, optimized server calls collapse a server?

I've followed a series of optimizations to make our APIs faster. We microoptimized a lot of PHP code to faster, native methods, we unsed variables where they were not being used anymore, and basically ...
2
votes
1answer
119 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
1answer
1k views

How to design a backend for Polymer?

I've been watching Google I/O and I have decided to try to build a small scale site with Polymer. I have some HTML,CSS & JS knowledge, but I don't have much knowledge about programming the backend,...
10
votes
2answers
2k views

What are my choices for server side sandboxed scripting? [closed]

I'm building a public website where users share data and scripts to run over some data. The scripts are run serverside in some sort of sandbox without other interaction this cycle: my Perl program ...
4
votes
3answers
622 views

How many threads should I use in my NIO server?

I've built a Java NIO TCP server, it currently uses four threads. One ServerRunnable thread that uses a selector and three worker threads. I've been looking around for some information about this, ...
3
votes
2answers
456 views

What do I need for a database server for Mobile-Apps? [closed]

I'm struggling getting my head around writing a server for a mobile app. The app is quite simple and would manly rely on geographic data and some other basic stuff liker users etc. nothing special ...
0
votes
2answers
71 views

Remote server development [closed]

We are working on a django project which is hosted on an amazon ec2 instance. It is on very early stage, so changes are made constantly and the webapp should be updated more than once a day. Right now,...
2
votes
1answer
71 views

Are Serverlet Containers' Characteristics Against Scalability and Fault-Tolerance of a Web Application?

We most likely deploy a JVM-based Web application (e.g., Scala) on a container (e.g., TOMCAT, Jetty, etc.). Does the following points about a serverlet container goes against us to create a scalable ...
10
votes
1answer
654 views

How to avoid chatty interfaces

Background: I am designing a server application and creating separate dll's for different subsystems. To simplify things, let's say I have two subsystems: 1) Users 2) Projects Users's public ...
1
vote
2answers
798 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 ...
2
votes
3answers
104 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 ...
0
votes
3answers
500 views

What is a login-queue?

some of you should know what a login queue is. You start your game, like world of warcraft, league of legends, ..., type in your username and password, klick "log in" and then it happens: Login Queue, ...
0
votes
1answer
50 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, ...
2
votes
3answers
912 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 ...
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, ...
0
votes
2answers
868 views

What techniques would you use for a next generation java web application? [closed]

I'm working at a site similar to Foursquare and Yelp, with approximately 100000 unique requests each week that generates content, growing steadily. We are currently using: Seam as Java web framework....
4
votes
3answers
1k 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
318 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 ...
1
vote
1answer
986 views

Best practice for projects architecture - server side [closed]

The usual way (that I'm familiar with) to divide the server side is the n-layer architecture : DAL - data access layer, usually has the Entities and the context (and maybe include also a repository) ...
3
votes
1answer
402 views

Backend development philosophy

I feel kind of lost in this backend development process I am attempting right now. Most of the usual development practices I use while developing client-side applications don't apply here... Let me ...
8
votes
4answers
11k views

Is node.js a good fit for background processing?

I'm slowly learning node.js and have a small project I want to start. The project will have a lot of background processes (downloading data from external sites, parsing CSV files, etc.). A big "win" ...
3
votes
2answers
837 views

Avoid Initial AJAX Call for Loading Data

Here is the typical sequence of events when someone navigates to a page in my application: The user navigates to my application, including URL parameters and query strings. The server receives the ...
0
votes
2answers
172 views

How can I solve this potential security exploit (concerning the saving of REST resources)?

I have a File database table with the following columns: Id (PK), Filename And a Document database table with the following columns: Id (PK), Name, Description, FileId (FK) When a user wants to "...
39
votes
10answers
7k views

What are the downsides of RoR? [closed]

I'm currently trying to decide what server-side language to learn and use for web development, and while it's relatively easy to get information on why x, y, or z is a good thing, it's harder to ...
5
votes
2answers
5k 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
657 views

Scalable solution for website polling

I'm looking to add push notifications to one of my iOS apps. The app is a client for a website which doesn't offer push notifications. What I've come up with so far: App sends a message to home ...
3
votes
1answer
585 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 ...
2
votes
2answers
219 views

Building Websites: Fast Debugging Without a Browser

Is there a methodology to debug websites without a browser? Normally I use a web browser to view a results page. The slow debugging process confuses me a little. To correct an error I need to switch ...
4
votes
1answer
946 views

REST vs RPC for mobile development

As many know, mobile development is skyrocketing these days and, I believe, it affects what we code. To be specific, I am interested in developing web services for a mobile application. I see two ...
0
votes
1answer
5k views

What are the advantages of server-side Javascript and when would you use it? [duplicate]

I have been looking at server side Javascript technologies like, Rhino and Node.js. What are the advantages of using server-side Javascript and where in the server-side to they fit in a stack?
0
votes
1answer
156 views

Server distribution for high performance

I've developed a Socket Application on top of TCP in .NET C#, which allows many clients to send files from one another via a VPS I'm using. Most file transfers will occur between people in the same ...
0
votes
3answers
2k views

Writing a TCP protocol or use HTTP for file transfer?

I want to write a server side application which allows several users to exchange files (not above 3MB) in the following way: user A connects to (server) S. User B connects to S. User C connects S. ...
2
votes
1answer
638 views

REST efficiency on count and sum methods

For example, if I have a Customer Transactions Table and I create a REST for it. The fields are: date, description, and total_amount. I am trying to figure out which one is much more efficient when ...
1
vote
4answers
756 views

What are some non-MS languages that can write xlsx (Excel 2007+) documents efficiently? [closed]

Unfortunately, Excel format is required for the project I am working on. I have no problems getting the data I need in objects and arrays, and currently PHPExcel is doing handling the document ...
11
votes
3answers
1k 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 ...
2
votes
2answers
138 views

Good technologies for developing a modular server component in .net?

I am using WPF, Prism and Unity to develop the user interface for a .net application. The UI will run from a PC, but I also need to develop a separate complex server component that will provide ...
12
votes
5answers
1k views

What is occurring in the world of server-side technologies in regards to the mobile app boom?

With mobile technologies becoming increasingly popular what is happening on the server-side with most of these apps when they need to communicate with a back end? I'm used to the world of technology ...
14
votes
8answers
10k views

Why don't we use dynamic (server-side generated) CSS?

As server-side generated HTML is trivial (and it was the only way to make dynamic webpages before AJAX), server-side generated CSS is not. Actually, I've never seen it. There are CSS compilers, but ...