August 23, 2010
FYI: PHP Warning: mysqli_stmt_bind_result(): Server returned unknown type 255. Probably your client library is incompatible with the server version you use! Probably means you’re selecting a geometry type without calling AsText on it. Instead of SELECT place.location_point FROM place WHERE place.place_id = ?SELECT place.location_point FROM place WHERE place.place_id = ? do: SELECT AsText(place.location_point) FROM place […]
Like this:
Like Loading...
August 19, 2010
I do most of my code editing in TextMate in OSX. However my current code environment consists of a CentOS VM running under parallels. I have my linux home directory mounted via SMB in OSX, but I like to do a lot of poking around on the files from the shell on the VM. So, […]
Like this:
Like Loading...
August 25, 2009
In this tutorial, we continue to create an MVC application using the bare LightVC and CoughPHP distributions, focusing on Controllers and Views in LighVC. For this tutorial, you will need to have the skeleton application created in the previous article on combining CoughPHP and LightVC, as well as our database table and generated CoughPHP code.
Like this:
Like Loading...
August 21, 2009
As an interlude from the CoughPHP, I present the following: The downside of working with legacy systems is that sometimes you find it necessary to work with existing data in ways that are completely arbitrary. The worst of all of these is password hashing.
Like this:
Like Loading...
April 10, 2009
In this tutorial, we continue to create an MVC application using the bare LightVC and CoughPHP distributions, focusing on creating working cough model classes and using them in the application, as well as best practices for different deployment environment files for LightVC applications, CoughPHP generation config, and suggested db schema patterns. For this tutorial, you […]
Like this:
Like Loading...
February 16, 2009
In this tutorial, we will be creating an MVC application using the bare LightVC and CoughPHP distributions.
Like this:
Like Loading...
February 15, 2009
Welcome to my personal blog, blog.rhp.org. This blog will be kept updated with my musings on technology, programming tutorials and other randomness. First up will be a series of articles detailing how to make a simple content management system in PHP using LightVC and CoughPHP, lightweight VC and ORM frameworks the combine to create a […]
Like this:
Like Loading...