Upcoming News
The other day I decided to do some microbenchmarking across several different languages. I used an array of 1 M integers and applied the quicksort sorting algorithm as the test code and also included the native language sort routines where applicable.
I wrote the runner using Cake and Coffeescript which compiles to Javascript and runs on node.js. Cake is a very simple build system and is similar
Read More
With a rapidly growing mobile Web, if you haven't already started working on a PHP-driven mobile site or application, you soon will be. Detecting the capability of one mobile device among the thousands of offerings is nearly impossible with PHP alone. But with the Wireless Universal Resource FiLe (WURFL), this once daunting task becomes as simple as a few API calls to retrieve the device data you
Read More
CakePHP 2 supports aliasing class names, use of native exceptions, PDO, SPL, refactored classes for Auth and Console, PHPUnit for Unit testing of App
Read More
Wall4PHP is one of the framework that I recommend to mobile web application developer for the number of useful information that you may find inside it and related to different models of mobile phones.
Read More
In our last PHP Ad Tracker lesson, we constructed the database tables for our ad banner application.
Now we are ready to construct the data object that will hold the variables and functions that will display, add, edit and delete the data in those tables.
Once we name all of the variables and functions, we will start applying the code to them.
Read More
Ask me which framework to use and I'll probably have a grumpy old woman moment and tell you that all frameworks are as bad as one another. Which is not to say they are all bad, exactly, but in PHP we have an unimaginably large number of frameworks (usually cited as N+1, where N is the number of PHP developers in the world), and they all probably made sense to the person that invented them.
Read More
Okay, so your code is slow. Why? Is it your webservice call? Or a new plugin you installed? Is it your database calls? File I/O? You need a profiler. A profiler gives you the ability to trace the performance of your code through every function call and create an overview of your system’s performance over a certain time period and helps you make intelligent decisions about where to look for
Read More
Welcome once again to this tour of the Yii Framework’s CComponent class. This three-part series demonstrates how Yii uses a component-based architecture and how the class implements properties, configuration, events, and behaviors. In Part 1 you saw how Yii uses PHP’s magic methods to implement component properties. In this article, which is Part 2 of the series, I’ll show you how you can do even
Read More
My previous post, The MicroPHP Manifesto, resulted in much excitement. In between fits of rage and crying, I found some time to answer folks questions, and also discuss the topic on the /dev/hell podcast with my cohost Chris Hartjes. To summarize and address some of the common questions, I felt I should write a small FAQ.
Read More
In our fifth episode we speak to our first ever guest Brian Moon, ancient PHP elder of dealnews and someone who has probably forgotten more about PHP than our two hosts will ever know. Chris admires his stamina for staying with the same employer for 14 years and counting.
Read More
VoIP Drupal is a new project that allows to setup an in house phone system using Drupal and VOIP. Using voipdrupal can set your company apart from others that just use email correspondence.
Read More
Magento Shipping Method Dropdown and Set a default shipping method
Read More
It seems that the editor of the moment is Sublime Text 2 and sadly I have to tip my hat to Gary Rockett for showing it off to me one day.. Since that day, I’ve been a 100% convert. I started to create snippets for our internal codebase at work, as I was fed up of searching for examples for common tasks I could never remember to do, but then I saw this tweet from Stuart Herbert about creating gene
Read More
AppFlower just launched their new database of application samples, which you can copy&paste to get quickly started. You can signup at their website to get started instantly.
Read More
This is a work in progress guide to YAF (yet another framework). Documentation for yaf in general is missing, hopefully this fills in more of the blanks.
Read More