Posted on Sep 05, 2014 By Philip Whitt
Need to generate random users for test data in your php app? Randomuser.me is a wonderful solution.
Posted on Feb 24, 2014 By Philip Whitt
If you're into home automation or general environment computing then two tools you need to know about are the Raspberry Pi and Phidgets USB device. Raspberry Pi is a very popular micro computer running Linux that includes a variety of I/O options including HDMI. Phidgets is a Canadian computer hardware company offering low cost USB interfaces for a wide selection of sensors and controls.
Posted on Jan 07, 2014 By Philip Whitt
But alas! It is possible to dynamically load Google JS libraries from Google Loader in a Closure Compiled app. I'll show you how.
Posted on Jan 02, 2014 By Philip Whitt
Web application security is an important and often overlooked aspect of development. At the core of security is validation and sanitizing user input. There are many different ways to validate user input in PHP. My approach is a simple builder object that allows a developer to chain together common validators for an easy to read list of validation rules.
Click "read more" to view code examples.
Posted on Dec 16, 2013 By Philip Whitt
If you're integrating dotCMS with an existing system, more than likely you're going to need to associate data from other systems with a host or other structure. This is easy to do manually via the UI but being a programmer, you're probably going to want to automate this.
One would assume that this functionality would be available via the StructureAPI and while this is true, navigating the StructureAPI is a bit awkward.