/* PHP & MySQL Journal */
Posted in: data, php | ( 5 ) Comments
24 Apr 2008Most 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 large group of users or items and finding a smaller llist from it with tastes similar to yours.
Posted in: mysql, php | ( 11 ) Comments
21 Apr 2008PHP is a wonderful dynamic language, and the addition of Unicode support, namespaces in the upcoming version 6 will make it even better.
If you are new to PHP or are thinking of moving to PHP form other language then the following list of books will provide you with the required knowledge to become a seasoned PHP programmer. Of course, the list is subjective and you may have a different list of books in mind.
Posted in: php | ( 18 ) Comments
19 Apr 2008Due to recent changes made by Google in its Page Rank processing the following library doesn’t work. However you can try to use the following api made available by fusionswift.com:
http://fusionswift.com/201004/google-pagerank-script-in-php/
Mark Woodman has created a nifty class which lets you query Google pagerank info in PHP 5 and above. The complete classes are available here.
The minimum classes required are ‘cacher.class.php‘ and ‘google_pagerank.class.php‘.
Posted in: data, javascript | ( 2 ) Comments
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.
Posted in: addins, data | ( 1 ) Comment
9 Apr 2008MIT’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 by web pages in navigation. Take an example of computer monitors. When you visit a website that sell monitors, you will usually see them classified by ‘Company’, ‘Screen size’, ‘Color’, Price’ etc. rather then a long list of monitors. All these are facets or dimensions of the product. One person may search by ‘Company’, another by ‘Price’.
Posted in: chart, php | ( 5 ) Comments
7 Apr 2008Zend framework is gaining widespread use everyday. Each new version of the framework includes new component additions. The following shows a visual representation of the Zend framework for version 1.5.
The following image was created using Microsoft Visio and then exported to PDF. I’ll be adding a linked map page soon. Click on the image for a larger view, or download a PDF version here.
Posted in: php | ( 2 ) Comments
7 Apr 2008Posted in: php | ( 3 ) Comments
7 Apr 2008Posted in: php | ( 9 ) Comments
12 Mar 2008PEAR’s ‘Excel Writer’ is a nifty module to create Excel documents form PHP. Its a port of the perl
Spreadsheet::WriteExcel module. It supports cell formating, formulas, multiple worksheets, page size setting, notes and more.
Below is given a small example code to show how easy it is to create a Excel document. The created document can be saved to the server or sent to the browser directly.