server-side

jQuery vs Standard Backend Programming

I'm curious to know people's preferences... I've recently gone head-first into jQuery and I am loving it. However, I'm finding that I'm replacing a lot of (somewhat trivial) backend (tech: ASP.NET) functions with tiny jQuery functions. For instance, rather than assign a navigation button as a back-end control and change its class when i...

How to close jQuery (iFrame) thickbox from server side?

How to close jQuery thickbox from server side - I want to cause the thickbox (frame style) to be closed from a line in the server - when an action is done etc. I use the thickbox to show a file upload dialog, and once the upload is complete, i wanna dismiss the thickbox from the server's code behind (just like it would do with the 'Clos...

Create a webservice that keeps data secure?

I want to create a webservice that allows users to enter the longitude and latitude for a particular building. Buildings will belong to a broader category called a Region. If a specific building does not exist in a region the user could add the longitude and latitude data through the webservice. Similarly if a user finds data to be in...

How can I call a server side method from a linkbutton inside a gridview I am building programatically?

I have the following code. I build a grdiview programamtically then I go through and change one of the columns to linkbuttons. Unfortunately, it never calls back to server side lb_Click method. Has any one faced this? using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.W...

Timers in Services

Hi all, we have recently added a new feature to our software - preview generation for documents that are uploaded and stored on the server. We did this the following way: The user uploads a document; Once the user opens the document information card, the preview for the recently uploaded document is issued (the info regarding the prev...

Ajax Control Toolkit TAB Component - Javascript breaks it?

Hello all, I've finally figured out how to make all my millions of tabs (not that many really) wrap properly. Now, I want to fire a server side event whenever someone clicks on a tab. After some thorough Google searching, I thought I had struck pure gold with this: This stuff is in the header of my aspx page: <script type="text/javasc...

Getting the referrer URL in php ( including parameters )

Are there any HTTP Headers I could use to grab the entire referrer URL using a webserver/server-side scripting? Including query string, et cetera? ...

How do I use Python serverside with shared hosting?

I've been told by my hosting company that Python is installed on their servers. How would I go about using it to output a simple HTML page? This is just as a learning exercise at the moment, but one day I'd like to use Python in the same way as I currently use PHP. ...

ModalPopUpExtender shown from server-side: Controlling focus.

I have a user control that contains a gridview and a ModalPopupExtender (MPE). I'm using the MPE to force user decisions after certain ItemCommands from the gridview using the server-side Show() method. Showing the popup and getting postbacks or client-side scripts to execute from the popup both work beautifully. The issue at hand is t...

How to get serverside information into javascript?

Hi, I don't know how to ask this question that's why I'm going to simulate what I need, some developers make what I need by rendering javascript with php. A simple sample file would look like: my_javascript_file.php <?php include "my_class.php"; ?> $(document).ready(function(){ $.ajax({ url: "<?php $my_obj->post_url(); ?>...

Easiest way to generate PDF from vector graphics and text serverside or in flash

ok, here's the problem: the format of the vector graphics could be either SWF or SVG, which is up to me to choose the text can have about any font both text and graphics can be rotated and moved, and graphics can be scaled too i considered doing this on clientside, which is flash player 9, using alivePDF, but 1. it does not support m...

Html input tag with server side resource string

I have an input button on an ASP.NET form, but I want the text displayed to come from a server side resource file. The following syntax fails, and I can't enclose it in a literal because the input tag cannot contain any other tags: <input id="btnX" type="button" disabled="disabled" value='<%$Resources:res,Button.Text%>' /> Any possi...

Reverse AJAX? Can data changes be 'PUSHED' to script?

I have noticed that some of my ajax-heavy sites (ones I visit, not ones I have built), have certain auto-refresh features. For example, in GMail, if I get a new message, I see the new message without a page reload. It's the same with the Facebook browser-based IM client. From what I can tell, there aren't any java applets handling the se...

Prevent hyperlinks from being entered into a html form: client-side or server-side validation?

I'm still debating whether I want to do this or not but what I'm considering is preventing users from entering hyperlinks into a HTML form in my app. This is to avoid spammy links from showing up for other uses of the app since the app is based on user generated content. This is a Rails app, so I could do some backend validations on the...

What are the usable compiled server side languages as of today?

I've heard of ASP.NET compiled DLLs which only works on Windows Server, but I would like to know if there are any other compiled server side languages?, maybe even ones for Apache server? Installation of the runtime shouldn't be a problem because I will have physical access to the Unix/Windows servers, but if it is a CGI plugin its an a...

Using jquery to get per row totals and grand total of table

So the short version of this is: Can I traverse only the elements within the matched element of the selectors before the each()? Or is there a simpler way of getting what I want without an each() loop? I thought this would be much easier, which makes me think I'm just missing some fundamental principle of element traversing with jquer...

What are the main concerns when generating client-side JavaScript from the server?

This seems like a somewhat common issue and I'm wondering what the common pitfalls, best practices, best approach, security concerns, etc., are when creating javascript on the server to be later loaded client side. FWIW, I'm doing this in Ruby and I'm using JQuery as well. It's basically a form builder. Here's what I'm doing: I have an...

Socket communication?

What are the preferred platforms to implement TCP socket communication? I'm interested in: scripting languages (eg Swocket for Python) and runtimes (eg .NET / Java). ...

Server Side Language for Scalable TCP-socket application

Which amongst these would be well suited for a scalable server side TCP socket based Web application. Java, PHP, Perl, Python, Ruby. You could base yours answers Primarily on: Rapid Application Development. Available frameworks(If required) for getting the job done. Secondarily on: Performance Support In addition you could a...

Java Message logging Web Application

My Apache Tomcat Server is getting periodic updates from a Java based client Application, At the moment the scenario is just one client and talking to the server. I want to log the messages from the client onto the server with time-stamp what kind of framework will help me in achieving this? ...