2 projects tagged "data"
geozonedb is a project based on three steps. The first two have been completed: a dump of a database with every country in the world, population, capital, coordinates, and every city and community in the world with the postal code; and an extraction framework in PHP to get data from the www.geonames.org project. The framework already gets data in the world language you want, and automatically creates the tables needed in the database you want. It have been tested on MySQL, but it should be, thanks to the database library used, enough to change the database from MySQL to Oracle, db2, MS SQL, PostgreSQL, etc. Simple code is being written in pure JavaScript, as well as a version in jQuery, to access every city in the world with autosuggest.
StructObject is a PHP class which can be used to create objects from a list of strict type variables. It takes a string with the names of types of variables that the current object should have. It only allows setting such variables to values of the specified types. The variables may not be unset.