PHP Classes
Icontem

Class: Cities and zip codes


  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 Johan Barbier  >  Cities and zip codes  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cities and zip codes Support forum
Base name: ocities
Description: Lookup for cities and zip codes using AJAX
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: Free for non-commercial use
All time users: 3969 users
All time rank: 438
Week users: 14 users
Week rank: 491
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Files Files  

Author

Picture of Johan Barbier
Name: Johan Barbier <e-mail contact>
Published packages: 17 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: ???
Age: 37
All time rank: 48
Week rank: 33

Groups

Group folder image Geography Locations, mapping and demographics View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

Detailed description

This package can be used to lookup for cities and the respective zip codes.

It uses AJAX to search a file database with cities and the respective zip codes using just the first few letters of the city that the user types in a form text input.

The class can submit an AJAX request to find the cities that match the typed letters and display the city names without reloading the whole page.

It can also search for zip codes if the user types the first numbers of the zip code to search.

The listing that is displayed may be sorted by city name or zip code.

The example uses a file database with French cities but it may be replaced by another file with city and zip code information of anywhere in the world.

ADDITION : I put 2 versions :
'villes_normal/' folder is the old version
'villes/' folder is the new version, with Phonex and Soundex searches and sorting added

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Good (93.8%)
Good (93.8%)
Good (87.5%)
-
-
Sufficient (71.3%)
135
Month:
Not yet rated by the users

Packages needed by this class

Class Dependency Why it is needed
Soundex 2
Conditional
To use the new search features

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
Files folder image css
  Accessible without login Plain text file maindoc.css Data css for documentation
Files folder image docs/english/classes/city
  HTML file index.html Doc. Index doc page for the package
Files folder image docs/english/classes/city/oajax
  HTML file buildAjax.html Doc. Doc
  HTML file class_oajax.html Doc. Doc
  HTML file search.html Doc. doc
  HTML file setFooter.html Class doc
  HTML file setHeader.html Doc. doc
Files folder image docs/english/classes/city/ocity
  HTML file aVilles.html Doc. doc
  HTML file class_ocity.html Doc. doc
  HTML file getFirst.html Doc. doc
  HTML file getSearch.html Doc. doc
  HTML file sResult.html Doc. doc
  HTML file sSearch.html Doc. doc
  HTML file __construct.html Doc. doc
Files folder image docs/english
  HTML file index.html Doc. Index doc page
Accessible without login Plain text file readme.txt Doc. Readme file
Files folder image villes
  Accessible without login Plain text file data.dat Data Data file
  Accessible without login Plain text file index.php Example Index example page
Files folder image villes/php4
  Accessible without login Plain text file oajax.cls.php Class PHP4 oajax class
  Accessible without login Plain text file ocity.cls.php Class PHP4 ocity class
  Accessible without login Plain text file phonex.cls.php Class Phonex class
  Accessible without login Plain text file soundex2.cls.php Class Soundex2 class
Files folder image villes/php5
  Accessible without login Plain text file oajax.cls.php Class PHP5 oajax class
  Accessible without login Plain text file ocity.cls.php Class PHP5 ocity class
  Accessible without login Plain text file phonex.cls.php Class Phonex class
  Plain text file soundex2.cls.php Class Soundex2 class
Files folder image villes_normal
  Plain text file index.php Example index page example
Files folder image villes_normal/php4
  Plain text file oajax.cls.php Class Ajax class
  Plain text file ocity.cls.php Class ocity class
Files folder image villes_normal/php5
  Plain text file oajax.cls.php Class Oajax class
  Plain text file ocity.cls.php Class Ocity class
Download all files: ocities.tar.gz ocities.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