Posts Tagged ‘PHP’
Monday, June 23rd, 2008
I’ve been working some with jQuery and Ruby lately, as you might know they both have very neat fluent interfaces for writing short and easily understandable code. Especially Ruby’s array and string handling should be something that can be done in PHP so I started googling for something nice but so far the best I’ve been able to find is pooQuery. Update: Apparently pooQuery really is a joke (see the comments at the bottom of this post), anyway here is an example from it of how fluent stuff can go too far: ... Read More
Tags: array, fluent interface, PHP, string
Posted in PHP | No Comments »
Thursday, June 19th, 2008
For some time now I’ve been working on an administrative backend system. I quickly found the need to extend DB Table with more stuff than needed when I extended the Zend Framework, it’s mostly convenience functions designed to reduce repetitive code snippets. ... Read More
Tags: PHP, zend framework
Posted in PHP, Zend Framework | 5 Comments »
Wednesday, May 21st, 2008
God how I hate Webmin. No wonder everyone is using phpMyAdmin, everyone except my admin of course.... Read More
Tags: export, import, mysql, PHP
Posted in Database, PHP | 6 Comments »
Tuesday, March 18th, 2008
Since I’m currently working with advertising related stuff it might be a good thing to learn the whole geographic location by ip number thing. A good starting point is The IP-to-Country Handbook.... Read More
Tags: country, ip, PHP
Posted in PHP | No Comments »
Wednesday, March 12th, 2008
I’m in the process of replacing the horrible PHP code. And I’m using the beefed up version of the Zend Framework that I’ve built in this series of course! However, I’ve started to find some bugs and the fixes will be posted here.... Read More
Tags: PHP, Smarty, zend framework
Posted in PHP, Smarty, Zend Framework | 2 Comments »
Tuesday, March 4th, 2008
I just realized that I’ve completely stopped using HTML Ajax. The framework has become completely superfluous for me now that I’m using jQuery’s $.post method.... Read More
Tags: html ajax, jquery, PHP
Posted in Ajax, PHP | No Comments »
Thursday, February 28th, 2008
Yesterday I had to make some changes in VirtueMart for Joomla 1.0.13. This codebase can be a little confusing sometimes. Believe it or not but this was the first time in my PHP-coding career that I felt the need to be able to simply dump all declared variables, not just the globals in $_REQUEST and so on. Perhaps a testament to how little time I’ve spent working on other people’s code, it’s not much.... Read More
Tags: debugging, PHP
Posted in PHP | No Comments »
Wednesday, February 27th, 2008
As some of you know, I’ve got other things to do at the moment. The cms/community project is iced. Therefore I’ve created a Google project out of it.... Read More
Tags: PHP, Smarty, zend framework
Posted in PHP, Smarty, Zend Framework | 6 Comments »
Wednesday, January 30th, 2008
The standard htmlentities() function will encode special characters so that they display OK in the browser. However, sometimes you might want to encode different languages to entities too. I just found a script that will do that in the form of an html encode application. The source is browsable but a little bit impenetrable so I fixed it up a little:... Read More
Tags: character encoding, PHP
Posted in PHP | 2 Comments »
Tuesday, January 29th, 2008
Update (2010-08): There is now a newer tutorial on jQuery UI’s sortable, using a much simpler GUI than in this tutorial.... Read More
Tags: draggable, Javascript, jquery ui, PHP, Smarty
Posted in jQuery | No Comments »