PHP Classes
Icontem

Class: MySQL to JSON


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Adnan Siddiqi  >  MySQL to JSON  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: MySQL to JSON Support forum
Base name: mysql2json
Description: Convert data from MySQL query results into JSON
Related top rated classes:
Version: -
Required PHP version: -
License: The PHP License
All time users: 5451 users
All time rank: 250
Week users: 28 users
Week rank: 177
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Trackback   Applications   Files Files  

Author

Picture of Adnan Siddiqi
Name: Adnan Siddiqi is available for providing paid consulting. Contact Adnan Siddiqi .
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Pakistan Pakistan - PHP jobs in Pakistan
Home page: http://adnansiddiqi.com/
Age: 109
All time rank: 324
Week rank: 223

Innovation Award

PHP Programming Innovation award nominee
July 2006
Number 3
Since the raise of interest on the development AJAX based applications, JavaScript Object Notation (JSON) has became a relevant topic.

JSON is often used by Web server applications to serialize objects that are recreated on the browser side by Javascript code that handles AJAX based interactions.

A great part of the AJAX applications are database driven. Frequently, PHP applications retrieve data from MySQL databases to respond to AJAX requests.

This class helps implementing AJAX based PHP database driven applications with MySQL by serializing query results using JSON.

Manuel Lemos

Groups

Group folder image Databases Database management, accessing and searching View top rated classes

Detailed description

This class can be used to convert data from MySQL query results into a JavaScript expression in JavaScript Object Notation.

It takes a MySQL query result handle and retrieves the query result column names and the query result data.

The class generates the definition of a JavaScript object in JSON that contains an array of a rows of query result data.

Each array element represents an object with the properties set to the query result column names. The property values are the query results for the respective row and column.

Freshmeat project

Project record: mysql2json
Popularity score: 13.27
Vitality score: 0.0

User ratings

There are not enough user ratings to display for this class.

Trackback links

Link Description
links for 2006-12-24 Daily Links...
More PHP goodies Here’s a PHP basic authenticator class by David Wilkinson and a MYSQL recordset to JSON convertor by Adnan Siddiqi. Handy little things...
My class in Top 10 My class Mysql to JSON is ranked 8th this week in Top Downloaded Class section...
November 11, 2007 I have been tinkering with trying to get mysql directly into JSON.
PHP-Based MySQL-to-JSON Converter A new PHP component by Adnan Siddiqi accepts a MySQL result set and converts it into a JSON message...
PHP-Based MySQL-to-JSON Converter A new PHP component by Adnan Siddiqi accepts a MySQL result set and converts it into a JSON message...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file example.php Example Example
Plain text file jsontest2.html Data HTML file parsing returned JSON data
Plain text file mysql2json.class.php Class Main Class File
Plain text file README.txt Doc. Help File
Download all files: mysql2json.tar.gz mysql2json.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products