Automatic Post Creation with Wordpress, PHP, and XML-RPC
So, for those of you who read my last blog post, you might notice that I was having issues with a script I wrote to create a new post in Wordpress when it came time to upgrade the Wordpress code. The...
View ArticleHandy Little Tool: XPath Checker
Occasionally I'm working on something that has to scrape data, either from an HTML file, XML, or something similar. I'll often think of XPath for its sheer simplicity over REGEX. Thankfully, while...
View ArticleOutlook Web Access (Exchange) with PHP and cURL
I needed a way to authenticate users from our library from a server outside our network, and therefore also not connected to Active Directory. At first I was thinking LDAP would be the best way...then...
View ArticleEvent Driven Programming
Event Driven Programming... I always thought that event driven programming could still use procedural style programming, and use event-driven only when necessary. ...and although that may be the case,...
View ArticleDisable the Security Component in CakePHP only for Certain Actions
As I'm working on a desktop application that needs to connect to the database backend, and CakePHP provides an awesome mechanism for REST or AJAX communication (as well as data validation), I decided...
View ArticleAdobe AIR, SQLite, DATETIME, and weirdness.
Here I was, minding my own business, when I try to insert the current time in to a SQLite database via Adobe AIR. AIR has some internal mechanisms to actually give you an error if you don't insert the...
View ArticleCreating an array of date time values via PHP
I was working on my Reference Statistics Tracker for work, and ran in to a snag. I am using eZ Components' ezGraph class to create image-based graphs on the fly. It's fast, efficient, and it looks...
View ArticleServer Load, Take 2
So I worked on the CakePHP plugin for Prowl a bit more, and in doing so, I created shell-based access to the plugin. I can now send Prowl messages from the console (i.e.: I can run PHP via cron to...
View ArticleCassie Print Station - Automatically Close the Window
Cassie is a PC Reservation Management system software built for libraries, or other venues that wish to offer multiple PCs for the public to use. It also has a print management station. Unfortunately,...
View ArticleWebsite Render Time with PHP >= 5.1
In CakePHP v1.3.x, there will no longer be an automatic dump of tons of information (probably because the DebugKit plugin can handle all of that information for us) when in debug mode. However, in my...
View ArticleAdobe AIR 2.0
As I was redesigning the interface to my "RefStat" (Reference Statistics Tracking) application, I came across a web page that claimed support for CSS3 in Adobe AIR, so immediately began creating the...
View ArticlejQuery: Edit Content Inline on Dynamically Created Elements
Unless you've been living under a rock while learning jQuery, everyone should have learned of the .live() call within the jQuery JavaScript toolkit. If you haven't, shove that rock aside - the .live()...
View ArticleFinding all application Controllers in CakePHP (v1.3.x)
At some point in time you may find the need to get a list of all of the controllers within your application. It's actually quite simple so long as you don't need controllers from any plugins. function...
View ArticlejQuery and Google Analytics: Take 2
Awhile back I had reported on my findings of how to use jQuery to automatically tag links on my site (that link to a site that is not my own) for event tracking with Google Analytics. Although there...
View Articlehtmlentities() in PHP is Your Friend
After constantly badgering a certain library calendar vendor over 2 years to fix his software's RSS feed charset issues. Personally I don't think getting raw text describing times in the form of...
View Article