server-side

Need to compress CSS and JavaScript via PHP but need to know performance implications and how to implement?

I'm currently using PHP to include multiple css (or js) files into a single file (as well as compress the content using GZIP). E.g. the HTML page calls resources like this... <link rel="stylesheet" href="Concat.php?filetype=css&files=stylesheet1,stylesheet2,stylesheet3"></link> <script src="Concat.php?filetype=js&files=script1,script2,...

How do I access changed (via GridDropDownListColumnEditor) values of a Telerik RadGrid server-side?

Details: I'm basically trying to implement the functionality of the example here (http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultvb.aspx) on my own site, but instead of using a data source control located in the page markup (like in the example: SessionDataSource), I'm using a dataset that I get fro...

Server side javascript on Google app engine

Is there any way to run a Javascript engine, like Spidermonkey, on Google App Engine? Spidermonkey is a C module, so obviously that wont work (GAE doesn't allow those types of modules)... is there something else available? ...

Why is Erlang said to be more suited for server side programming in webgames than Java and C++?

I don't really understand, how can Erlang be more efficient than C++? ...

How can I best deploy a web application written in C?

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, Content-Type: text/plain 6 What is the best way to host something like this? I have an existing setup using Python mod_wsgi on Apache2,...

How to add Rhino Javascript 1.7 library to classpath in Weblogic 10

Weblogic packages rhino classes inside weblogic.jar. I need newer version of rhino js.jar. If I just distribute the newer rhino js jar like any other third party jar, it does not get loaded, because the older classes inside weblogic.jar are loaded first. How can I load classes from my custom js.jar in weblogic 10? ...

ASP.NET MVC 2 server-side validation for ajax form

Hi all! I've faced the following problem. I'm developing a form for the site and this form should have validation. I wanna to use native ASP.NET MVC 2 validation functionality but get stubborn with it. I have a form that is loaded via $.get and displayed using jQuery UI modal dialog. All examples I found explains how to use MVC validati...

onBeforeUnload - how to call a server-side function without ajax

Hello Folks, What I want to do: dispose of a session upon detecting an "OnBeforeUnload" event in the client. I know it doesn't fire 100% of times (90% accuracy works fine for me) Here I saw how to do it with ajax, this system, however, breaks down with ajax: I can't use it at all. I'm searching for ways of doing it ...

webservice with Qt

Hi I'm looking for a code to implement a Web Service with Qt (server side) If you have any information I will appreciate Regards ...

Any reference material for fetching search results from retail sites?

If the question hasn't already done so, allow me to flag myself as a relative newcomer to backend programming. I'm really just wondering if anyone could point me to some literature on how to (for example) scrape the results of a search for "Die Hard" from amazon.com, and list them on your own page. Thanks in advance. ...

Problems injecting server side variables using <%#

Hi. I was having problems inserting a string into the following tag : <tr id="rowBulkOptions" style='<%# sBulkOptionsRowStyle %>'> Don't ask why I'm using tables :) sBulkOptionsRowStyle is a Public string in the aspx.vb file. Seemingly the only way I can get this to render is to put Page.DataBind() in the Page_Load, Page_PreRende...

How can you encrypt users' data server-side without ruining the experience?

Many users – myself included – would like the security of having everything they do on a web service encrypted. That is, they don't won't any one at the web service to be able to look at their: posts, info, tasks, etc... This is also major complaint in this discussion of an otherwise cool service: http://news.ycombinator.com/item?id=154...

Taking website screenshot, server-side, on a Linux rented server, free

Ok so, right now I can't really afford to pay for any service. I want to be able to take screenshots using my rented server, which is Linux based, and output them on the screen. I know there are a lot of services that do this, but they usually have limits or watermarks, or you have to wait for your screenshot to be taken from the queue....

balancing Server side and Client side code on a large website

Let's suppose I am programming Facebook (which i'm not), or some other site that involves heavy traffic. Our general Layout is: All CSS is in external files 99% of JS is in external files the back bone of the websites HTML is generated by a PHP/MySQL backend, then we have JS functions to generate the DOM of parts that commonly change. O...

Can I return multiple content types per one http request?

Reporting system has list of available reports on a web page. When user clicks on a report new browser window opens, server starts to prepare report (winword document) and then sends it back after 2-10 seconds. Code in the handler looks like the following: context.Response.AddHeader("Content-Disposition", "attachment;filename=rep...

Where Can One Find Examples of ECMAScript.NET's Use?

ECMAScript.NET is an open-source implementation of ECMAScript based on Rhino (JavaScript for Java) written entirely in C#. It's used in Pure.Krome's YUICompressor.NET Port. ...

Server-side JavaScript --> Simple Dynamic Site

Note: This is not about the merits/demerits of SSJS I am only asking if you think it is possible to create a simple dynamic site strictly using some form of SSJS. I am in no position to do any arguing (0 programming experience) -- I can only give you the benefit of some of the most interesting tutorials and information I ran across yest...

Rendering loads of data in table format

I have a webpage which display loads of data (say around 1,000) retrieved from the back end and is displayed in a proper HTML table format with proper styling and stuff. Now my question is, I am working on Java based web environment, so inorder to display this laods of data I use JSP and the compiled JSP file when returned from the tomc...

Why client-side validation is not enough ?

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 server-side validation is a must ? ...

Job asks for J2SE skill but working on server-side

I am gonna have an interview with a company working on stock trading system which only requires core Java skill. However, the requirements list many server related stuff as follow: Strong server-side Java (no UI) Strong JUnit testing Web service knowledge, HTTP / HTTPS Lucene Performance tuning experience will be desirable Continuous i...