PHP Articles
Basic & Beginners
Advanced
Database
XML, Webservices
Design Patterns
Ajax
All Articles
Main Menu
Home
About PHP Hacks
Links
Contact Us
Search


How to create an Ajax RSS reader with PHP PDF Print E-mail
Monday, 25 September 2006
RSS is a widely used XML-based standard, used to exchange information between applications on the Internet. One of the great advantages of XML is that it is plain text, thus easily read by any application. RSS feeds can be viewed as plain text files, but it doesn't make much sense to use them like that, as they are meant to be read by specialized software that generates web content based on their data.
Last Updated ( Monday, 25 September 2006 )
Read more...
 
Ajax Google Suggest PDF Print E-mail
Monday, 04 September 2006
This tutorial will walk you through creating a search suggest similar in fashion to that of Google Suggest using AJAX technologies.

Suggest is one of the better AJAX patterns that I have run across.  It certainly can make a site much more user friendly if implemented properly.  What we will be creating probably won't be that useful, but it will give you a good understanding of how to implement a robust version on your own site.

Last Updated ( Monday, 09 October 2006 )
Read more...
 
Form validation with Ajax - PHP - MySQL PDF Print E-mail
Wednesday, 23 August 2006
Here is a simple, quick way to validate required form fields using AJAX, PHP and MySQL. What we’re going to do is display an error message to the right of the required field, and if there are errors, restrict the submit button. And if a user were to skip a required field, or leave it blank, we’ll highlight it along with removing the submit button.

I feel this is useful because it validates on the fly using PHP methods that we may already have in place – there is no need to learn the “Javascript way” to do something that you’ve been doing for a while. I make a few assumptions in this tutorial. The first is that you have a basic understanding of PHP and how to connect to a MySQL database and retrieve records. Along with that, for this tutorial, you’ll need a table setup with usernames and email addresses stored in it; my table will be called “users.” The second is that you have some understanding of how AJAX works. Third is that you have an understanding of CSS and how to define classes and id’s. You could figure these things about by going through this tutorial, but it would be a lot easier on you if you do understand what I laid out.

Last Updated ( Wednesday, 23 August 2006 )
Read more...
 
Introduction to Ajax PDF Print E-mail
Wednesday, 23 August 2006
AJAX is an acronym for Asynchronous JavaScript and XML. Simply put, AJAX can be read "empowered JavaScript", because it essentially offers a technique for client-side JavaScript to make background server calls and retrieve additional data as needed, updating certain portions of the page without causing full page reloads.

When put in perspective, AJAX is about reaching a better balance between client functionality and server functionality when executing the action requested by the user. Up until now, client-side functionality and server-side functionality were regarded as separate bits of functionality that work one at a time to respond to user's actions. AJAX comes with the solution to balance the load between the client and the server by allowing them to communicate in the background while the user is working on the page.
Read more...
 
Ajax Applications vs Traditional Web applications PDF Print E-mail
Thursday, 17 August 2006
In the development community, there’s a lot of buzz about the latest Web development technology, Ajax (Asynchronous JavaScript and XML), and a considerable amount of skepticism about its usefulness in the business realm. Surprisingly, although there is a lot of talk about what amazing things you can do with this approach, there is very little information about the applicability to business. There are quantifiable benefits to be realized for end users and businesses, which include improved usability and faster applications.
Last Updated ( Thursday, 17 August 2006 )
Read more...
 

Syndicate


Login Form





Lost Password?
No account yet? Register