server-side Questions

6

Solved

I was wondering whats the best way to call a random css file on page refresh with Javascript? Many thanks
Gerkman asked 28/8, 2010 at 16:22

3

Solved

So PHP is executed server-side. But is it possible for PHP to be run after the page is loaded? To illustrate, if I had a value (stored in a file, lets say) that changed every second. When I hit a ...
Abnegate asked 24/4, 2014 at 1:18

2

Solved

So, I have a web application that makes a lot of requests to the server for data. A project requirement is to have very fast server response times. The server is hosted on a cloud based platform. ...
Subassembly asked 21/4, 2014 at 20:57

2

I have a project where I should develop a mobile application(android) and a website. As both of them have the same database/content and functionality I want to write common sever side for mobile an...

6

Solved

We all know the good old "disable the submit button" trick but what are the best ways to handle multiple submissions server side? I have an application where it is absolutely critical that a form o...
Swastika asked 20/10, 2008 at 15:51

7

Solved

For example, writting server-side things using javascript, instend of php.
Koal asked 10/4, 2010 at 20:59

3

Solved

I am currently developing a kind of google maps overview widget that displays locations as markers on the map. The amount of markers varies from several hundreds up to thousands of markers (10000 u...
Juliettajuliette asked 23/9, 2011 at 12:28

4

I want to be able to have inline TypeScript in an ASPX (or Razor) page that is converted to Javascript when the page compiles. So: <script type="text/typescript" runat="server"> ... </s...
Lawerencelawes asked 21/11, 2012 at 15:49

4

Solved

For the past few years I have always used a client-side hidden <input> field to store a server-side value and use it in Javascript land. For example, let's say I need an Ajax timeout value ...
Howells asked 11/12, 2013 at 3:41

1

Solved

I am using Ruby on Rails and have a form that gets information from user input. I then want to take the user input and write it to a text file on the server side. I hope to save the file in somewhe...
Howlan asked 20/11, 2013 at 19:58

7

Solved

I've always considered JavaScript as a great addition (or rather, for the last couple of years, as a must have) to the client side of any web application. Even when I started to use Mootools,...

8

Solved

I'm working on an application that needs to quickly render simple 3D scenes on the server, and then return them as a JPEG via HTTP. Basically, I want to be able to simply include a dynamic 3D...
Sommersommers asked 15/9, 2008 at 16:9

1

Solved

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 Plug...
Albina asked 31/10, 2013 at 0:10

3

Solved

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 ...
Cyclopropane asked 31/3, 2011 at 2:52

3

Solved

A bit of background: I have been developing apps for the past 2 years for Mac and iOS. I really like Objective-c and Cocoa/Cocoa-Touch framework. I did java and c++ before I started programing for ...
Kinchen asked 12/6, 2011 at 1:9

6

Say I have fancy new algorithm written in C, int addone(int a) { return a + 1; } And I want to deploy as a web application, for example at http://example.com/addone?a=5 which responds with, ...
Eneidaenema asked 18/7, 2010 at 19:23

2

I've recently been learning Android Development and I am trying to make a sample application which uses Google Cloud Messaging. My goal is to make a simple application which can receive Push notifi...
Sudd asked 10/7, 2013 at 6:29

1

Solved

I have a WCF service communicating with client over TCP. Is there anyway to gather information about the current connect in a service method? For example the endpoint that the current user is using...
Fail asked 5/7, 2013 at 11:55

3

Solved

I have this code: <script type="text/javascript"> var foo = 'bar'; <?php file_put_contents('foo.txt', ' + foo + '); ?> var baz = <?php echo 42; ?>; alert(baz); </script...
Libradalibrarian asked 12/12, 2012 at 13:3

3

Solved

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 my...
Rabe asked 29/6, 2013 at 14:25

2

We are building a web page with hashtag navigation. There is lots of data, which comes in as JSON and we use client-side templates (jQuery) to render it. So what are the options for reusable templa...
Bulgar asked 29/7, 2011 at 13:15

5

Solved

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, wha...

14

Solved

I saw here that: As you probably already know, relying on client-side validation alone is a very bad idea. Always perform appropriate server-side validation as well. Could you explain why ...
Dayfly asked 14/8, 2010 at 13:31

7

Solved

How would you check if javascript is enabled in Rails? So that I could do something like this in the views: <div> <% if javascript_enabled? %> <p>Javascript Enabled!</p> ...
Aleen asked 23/2, 2010 at 1:54

1

Solved

I am working with between Linux-based machine and android app. First of all, I need to open a server socket on the machine to communicate with the app. I need to code with LUA Script, and I have ...
Kyd asked 3/6, 2013 at 13:11

© 2022 - 2024 — McMap. All rights reserved.