server-side

Ajax Server Side and Client Side confusion clarification needed

Hello all, Let's imagine an autocomplete widget scenario that grabs it's data from a database. Let's assume that we have to: Grab the contents from DB1 to be displayed once the user clicks the input field. Then, After the user makes it's choice, we need to: Query the database DB1 for additional data concerning that selection made by...

dataTable.net Server-Side Processing: Not seeming to refresh.

For the site my coworkers and I are working on, we used the dataTable format from www.dataTables.net and we have to use Server-Side processing because of how much the tables grow. Here's the view: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <script type="text/javascript" charset="utf-8"> $(document).ready(f...

An explanation of web sockets and server-side Javascript (especially focused on node.js)

I want to create a chat room using HTML5 web sockets, but am pretty lost. From what I can tell, the following is required: A browser that supports web sockets (Chrome, Safari) Some kind of server-side scripting Some kind of client-side scripting I've got #1 down :) but #2 is seriously tripping me up. Beyond amateur PHP work (generall...

Asp.Net Validation - Clientside And/Or Serverside?

The validator controls that can be used for asp.net input validation... requiredfieldvalidator regularexpressionvalidator etc Do they perfrom validation on the client side AND server side or do I need to have seperate validation in my codebehind to validate on postback (ie to prevent POST injection)? ...

Disable a jquery tab server side

Hello, ASP.NET web form with JQuery UI tabs widget and four tabs. I would like to disable the latest three tabs when i click a submit button. Thanks! P.S. I know how to disable tabs in jquery $( ".selector" ).tabs( { disabled: [1, 2] } ); I don't know how to do it in server side code :) ...

GWT "database" to store data server-side

Hi, I'm looking for the easiest way to store data on the server-side of the GWT app. The application is typical: consists of the client-side interface and server-side that performs all the calculations. I just need to store the data on the server. The application would be deployed to google code so the solution must obey the app engine ...

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? ...

Map CodeIgniter Validation class to Jquery validation

Hi everyone, I am using the CI validation class to do server-side validation and Jquery validation to do client-side validation. Is there some way I can leverage the CI validation and form building, so that when it is creating the form elements it creates them with class="<equivalent of CI validation rules>"? This way, if I change the v...

How can I destroy a refreshed DIV that is previously loaded by a plugin in jQuery?

Explanation: I have this in the server side: $objec->write( "divx" ); Then in the user agent (jQuery): <div id="divx"> <!-- SERVER: here will be the content begins --> <script type="text/javascript" language="javascript"> var r = $('#divx').myPluginCreator(); </script> <!-- SERVER: content ends --> </div> Now the plugin has a meth...

Validate form client-side, server-side or both in Ajax form?

I'm developing this app which as a very basic Ajax form and I'm currently validating the form input through jQuery with it's default validation plugin. I'm wondering if I should also do server-side validation after submitting the form or just ignore and assume everything is right since the client-side validation was successful? There's...

Asp.net Handled event on server side.

Hi I would like to create a webpage which can handle user events like page navigation and page close. And also I would like to handle the event on server-side coding. Anyone please provide me suggestion. Thanks in advance. ...

Server side authorization with OAuth

Hi, is there a way to ask for an OAuth authorization without redirecting the user to the service and then back again to my app? In detail, I'm creating a web service that need access to the Facebook Graph API, that requires the OAuth 2.0 authentication. Is that possible? Thanks ...

Using external Jars on GWT server-side

Hi, Im new to GWT. Im using the eclipse plugin and started tweaking google's 'hello, world!' project: greetServlet. Im trying to build a webapp that will use XML (de)serializing. I chose XStream library for the relative easiness. my classpath includes the xstream.jar. I also manually copied the jar to the WEB-INF/lib folder (Is this...

When running Word 2007 in ASP - Is it server-side or client-side?

Hi I managed to run Microsoft Office Word 2007 and programmatically manipulate doc files in ASP using the Microsoft.Office.Interop.Word .Net Component. I used the tutorial found at here The question is: Was the Word application run on the server side or on the client? I was only able to test this on my own computer in debug mode so it's...

Server side caching for redundant client data for Charting

The functionality that i have now enables me to generate charts(graphs/tables etc), from the XML data created by manipulating results extracted from the database. This works good when i have a limited amount of data. But as the data grows the time to generate charts increases substantially. Following is an example scenario that describ...

Passing variables to JavaScript inside a URL?

I'm dealing with a web-service that serves video files (host). They provide you with a Guid which is used in an embed code (link to js file). Their URL's are structured like this: http://www.foo.com/34534525lsjda345435/script.js Somehow, the script.js parses this URL and retrieves the variable. Can someone clue me in how this is done?...

Can I execute js files via php?

The situation is next: I have php file, which parses a web-page. on that web-page is a phone number and it's digits are mixed with each other. The only way to put each digit on the correct place is to use some JS functions (on the client side). So, when I execute that php file in linux console, it gives me all that I need, except js fun...

Keeping id's unique Client Side and Server Side

Hi all, i am scrubbing my head now for hours to solve thw following situation: Several Html Forms on a webpage are identified by an id. Users can create forms on the clients side themselves and fill in data. How can I guarantee that the id of the form the user generates is unique and that there doesnt occure any collision in the saving ...

Web app screen recording

Hi, I'm looking for a plugin and server solution for screen recording a web application. The application is flash based. I know I could use software like Cantasia, but I need the solution to work automatic, without user interaction. any ideas? ...

Which of client-side server side web-programming is better?

Which of client-side or server-side web-programming produces the best results for websites? Is the following a correct analysis of some major web-programming platforms? ASP - server side JSP - server side Coldfusion - server side Javascript - client side PHP - server side What sort of websites are better done using client-side, and w...