/* PHP & MySQL Journal */
In: data| javascript| libraries| testing
21 May 2010Automatically creating fake or sample data is a frequent requirement for front-end web developers. Although usually not tedious, there are times when you need to quickly and automatically generate structured data for your html forms or CMS systems for testing purposes.
Faker.js is a JavaScript implementation inspired by Benjamin Curtis’s Ruby Gem Faker and Perl’s Data::Faker [...]
Accessing geonames.org web service from php
In: algorithms| data| php
10 Dec 2009Sorting PHP arrays using usort with substrings
how to beautify and format xml documents
In: data
25 Apr 2009phpguru.org offers a small and useful class to convert numbers to their textual equivalent. If you are building a accounting or invoicing application it may come in handy. The class can be downloaded form here. A sample code using the class is shown below.
Most people are familiar with recommendation systems on websites, wherein after you select an item you are presented with a list of similar items other people purchased . Amazon being the popular one and also one of the first to use it. Below is shown a snapshot from Amazon.
Collaborative filtering algorithms work by searching a [...]
In: data| javascript
18 Apr 2008Using lines, points and other geometrical objects to visualize data has always fascinated me; specially time series. Time series charts let you visualize data points separated by time intervals.
The following image shows an example of a time series data representing the salary of software engineers for a particular duration.
MIT’s Simile project has a new addition to their open source tools, ‘Seek‘. Seek adds a faceted browsing feature for Thunderbird, which lets you search through email or RSS feeds easily.
A faceted classification scheme allows one to assign multiple classes to an object rather then a single predefined taxonomic class. Facets are more commonly used [...]