I want to use the power of Matplotlib (fantastic python graphing library) in an existing php application of mine. Before embarking on the specifics of my application, I tried to get a super simple demo up and running, which proved… Read More
Xdebug for php debugging on LAMP with Netbeans
I use netbeans as my php IDE and having a debugger is incredibly helpful when building large webapps.When Xdebug works, it’s an incredibly useful tool as one can step through code, keeping an eye on variables at any point. It… Read More
Harnessing the speed of Mysqli Prepared Statements
For a few years, I’ve been using mysqli prepared statements for all php-mysql interations on all of my websites because of the inherent mysql injection protection afforded by the separation of query and data. What I have not done is… Read More
Merging the right way around in Netbeans/Mercurial
I’m new to working with revision control and sometimes get confused with merge terminology resulting in me merging the wrong way. For future reference: To transfer all the latest changes in the main trunk to the development branch, update to… Read More
Netbeans Mountain Lion Mercurial Problems
For PHP development, I use Netbeans with revision control handled by its built-in Mercurial integration. Since installing Mountain Lion the other day, the Mercurial function of Netbeans had not been working. I did not see any errors, just a lack… Read More
RAM hogging mediumtext (MySQL)
Php can easily exceed its maximum allowed RAM allocation when trying to retrieve mediumtext fields from mysql. Background: Through some obscure misunderstanding/bug, I have from time to time ended up with a MySQL database that has mediumtext instead of the… Read More
Memcached
Whilst this is rather an advanced topic to start off this blog, it is very fresh in my mind still… I recently had a play with Memcached, a RAM based caching system used by large websites such as Facebook. Memcached… Read More