'PHP' Category

  • Route middleware with Lithium

    January 3, 2012

    I spend most of my day switching between languages. Sometimes I start the morning with an early dose of LUA, then I get a lot of Python and C++, followed by the yummy dessert that is Node.js. But there’s always room for PHP. So let’s talk about PHP today. People often think that when you [...]

  • Book release: CakePHP 1.3 Application Development Cookbook

    March 30, 2011

    Just a few days ago, I was happy to see my first book published. Entitled CakePHP 1.3 Application Development Cookbook, it’s a book released in the form of a cookbook, with a series of solutions to common problems one faces when developing CakePHP applications. While working on it, I tried to aim for developers at [...]

  • Let your MySQL partition breathe

    February 28, 2009

    Today I noticed my MySQL partition was taking over 86 GB of the available 120 GB. So I got worried and I wrote this little script to tell me how much space each DB I have is taking: <?php function format($size) { $unit = ‘B’; $units = array( ‘GB’ => 1024 * 1024 * 1024 [...]

  • MSN Search API PHP Client

    September 15, 2005

    Microsoft has recently published their own MSN Search API (now competing with Google and Yahoo) implemented as a SOAP Web Service. After some deliberation on the MSN Search API forums, I managed to develop a small PHP class to handle the API (thanks to quodlibet for his help identifying a small bug.) The class uses [...]

  • Get a taste of AJAX with PHP

    August 19, 2005

    Some of you may have heard of Ajax, while some may have not. The truth of the matter is that Ajax (Asynchronous JavaScript and XML) is a technology to be followed. Furthermore, a technology to be used! To give a little background about it, let’s see what wikipedia has to say about it: “term describing [...]

 
Powered by Wordpress and MySQL. Clauz's design for by Cricava