Questions tagged [server-side]

The term "server-side" refers to the portion of an application run on a server. The counterpart of "server-side" is "client-side", meaning the part of an application running locally on the user's own machine, such as in a Web browser.

Server-side refers to operations that are performed by the server in a client–server relationship in computer networking.

Typically, a server is a computer program, such as a web server, that runs on a remote server, reachable from a user's local computer or workstation. Operations may be performed server-side because they require access to information or functionality that is not available on the client, or require typical behavior that is unreliable when it is done .

Server-side operations also include processing and storage of data from a client to a server, which can be viewed by a group of clients. Advantage: This lightens the work of your client. This also protects your SAMP server from crackers.

Examples of server-side processing include the creation & adaptation of a database using MySQL.

There are many and techniques used commonly to write scripts or apps on the server-side such as the following:

2610 questions
24
votes
3 answers

Templating language for both client-side and server-side rendering

I'm investigating JavaScript templates as a way to render our views. The goal is to be able to render client-side for users that have JavaScript enabled to to render the same templates/data server side for those users (and crawlers) that don't.…
Yevgeniy Brikman
  • 8,711
  • 6
  • 46
  • 60
24
votes
7 answers

NodeMailer Invalid Login

I am new to node.js programming .I am using nodemailer module for sending emails. const nodemailer = require ('nodemailer'), credentials=require('./credentials.js'); var mailTransport=nodemailer.createTransport({ service:'Gmail', auth: { …
Sri Harsha
  • 641
  • 2
  • 8
  • 18
23
votes
5 answers

client-MVC vs server-MVC

I am looking to get some input from other users on the benefits of server-side MVC. With the power of many javascript libraries. What good purpose does server-side MVC server anymore? You can easily use client-side MVC with templating and a REST…
Justin
  • 3,337
  • 3
  • 16
  • 27
23
votes
5 answers

Use client-side MVC/MVVM patterns with MVC server-side pattern

Considering the most popular MVC/MVVM client-side patterns (like Knockout.js, Angular.js, Ember.js, and others), I have one great doubt: Also considering the modeling redundance in both sides, what is the advantages and disvantages to use those…
21
votes
2 answers

Use less (css preprocessor) server side or client side

What are the pros/cons of using less server side vs client side in a live production environment? Why would i want to convert my less to static css and use that when going live instead? As i understand it the css is cached both server and client…
newbie_86
  • 4,520
  • 17
  • 58
  • 89
21
votes
2 answers

Read echo'ed output from another PHP file

I want 1 PHP file to "run" (include?) another PHP file on the same server, and access its echo'ed output as a string. How do i do this in PHP? Any inbuilt functions to do this? Or any better way of executing another PHP file and getting its output?
rzlines
  • 1,417
  • 3
  • 14
  • 21
20
votes
3 answers

What is the purpose of authorization code in OAuth

In oauth you make a request using you client id/secret to get an authorization code. Then you make a second request to exchange the authorization code for access token. My question is: Why is this two step process required instead of getting access…
NickSoft
  • 3,215
  • 5
  • 27
  • 48
20
votes
5 answers

Warning Prop `href` did not match. using react server-side-rendering

I am using react-router-dom and I am guessing that this is causing the problem, but I have no clue where to even start looking or how to fix it. I also am getting errors like Warning: Did not expect server HTML to contain a
20
votes
3 answers

Want to learn to build a simple java rest server

Hello people of the world! I'm an Android developer and so far I've worked only on the client side. My next project is in need of a server to communicate with and I wanna try to build it myself. Can someone give me direction to a good source of…
Yosi199
  • 1,745
  • 4
  • 22
  • 47
19
votes
4 answers

Managing access to AWS services on iOS clients vs on backend servers

When designing an iOS app that will interact with AWS (e.g. S3, CloudFront, etc), what are the pros and cons of managing the access to these services on the client vs. on the server? By "managing the access", I mean things like uploading private…
skyork
  • 7,113
  • 18
  • 63
  • 103
19
votes
1 answer

PHP: How to compress images without losing visible quality (automatically)?

I'm wondering how to figure out the best compress rate (small filesize + no quality loss) automatically. At the moment I'm using imagejpeg() with $quality = 85 for each .jpg. PageSpeed (Chrome Plugin) suggests, to lower the quality of a few images…
Mr. B.
  • 8,041
  • 14
  • 67
  • 117
19
votes
4 answers

Pulling data from a webpage, parsing it for specific pieces, and displaying it

I've been using this site for a long time to find answers to my questions, but I wasn't able to find the answer on this one. I am working with a small group on a class project. We're to build a small "game trading" website that allows people to…
Aloehart
  • 337
  • 1
  • 4
  • 14
18
votes
2 answers

The pseudo class ":first-child" is potentially unsafe when doing server-side rendering. Try changing it to ":first-of-type"

I got this error, although there is not a single line in the project with :first-child, why does it…
18
votes
4 answers

Angular 6 Server Side Errror: Module not found: Error: Can't resolve './dist/server/main.bundle'

I'm working on a project, updating it to Angular 6. After the update, I'm now getting this error when trying to run the server-side rendering build Module not found: Error: Can't resolve './dist/server/main.bundle' I tried going to…
Jonathan Corrin
  • 1,219
  • 4
  • 17
  • 42
18
votes
8 answers

How fast is client side javascript versus server side Java?

I am wondering how fast client side Javascript is compared to server side Java in terms of raw computational power. For instance, sorting. Should it all be done server side if possible? And how about iterating through a collection?
stevebot
  • 23,275
  • 29
  • 119
  • 181