Posts tagged ‘Ajax’

Sometime in the end of March Microsoft and partners announced 2009 WinPHP competition. I always wanted to try to create an app with both PHP and C#, so I decided to register – my idea is to create a project, which will demonstrate both PHP and .NET connectivity and Deep Zoom functionality.
My project will allow [...]

Last week I was working on one task, which required me to check data with AJAX when form is being submitted. Users clicks the button, request is made, data arrives, some hidden fields are modified, actual submit happens. The problem I ran into is, how to control form submission and ensure that it’s submitted only [...]

If you are using library such as jQuery, it supports AJAX responses in very different formats. For example, jQuery.get supports “xml”, “html”, “script”, “json”, “jsonp” and “text”. Which to choose?
Let’s say we have these variables, which we want to pass to JavaScript:

$array = array(
’status’ => ‘OK’,
‘message’ => ‘My status message’,
‘additional’ => array(1, 2, 3, [...]

Seadragon is technology, which allows you to create applications  capable of displaying unlimited size images in users (small) display. It works similar to Google Maps, where you move (zoom) closer and closer to the ground and see more and more details. When I first saw it (video available here) I couldn’t believe my yes – how [...]