Browse Articles
Ajax (4),
APC (1),
CAPTCHA (1),
CSS (3),
Debugging (1),
File Upload (1),
Google (3),
Google Maps (2),
JavaScript (10),
JSON (2),
MVC (1),
MySQL (6),
onbeforeunload (1),
OOP (1),
PHP (27),
PhpDoc (1),
PostgreSQL (6),
Prototype (9),
Reflection (1),
RFC 1867 (1),
Robots (1),
Scriptaculous (1),
SEO (1),
Sessions (1),
SimpleXML (1),
Smarty (5),
SOAP (1),
SPL (1),
Templates (2),
W3C (1),
XHTML (1),
Zend Framework (1),
Zend_Search_Lucene (1)
Buy My Book
By Quentin Zervaas
Want to assert yourself as a cutting–edge PHP web developer? Take a practical approach...
|
In addition to all of the other useful classes Prototype gives to developers, it also provides a number of classes and methods for development of Ajax-enabled web applications. That is, it allows developers to easily perform HTTP sub-requests using XmlHttpRequest and to handle the response accordingly. In this article I will show you how Prototype makes Ajax development for developers by covering the functionality it provides. Additionally, I will show you how to easily transfer data between your JavaScript code and web server using JSON data.
Because of the limitations of HTTP, it is difficult to monitor the status of files as they are uploaded via HTML forms. While other programming languages have built-in methods to monitor file uploads, PHP does not. This article shows how to implement such a solution in PHP. We will use Ajax to retrieve information about a file as it is being uploaded and display the progress back to the user.
|
|