Archive for January, 2008
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 | 1 Comment »
Tuesday, January 29th, 2008
I recently did a rich interface to handle various configuration settings using jQuery and jQuery UI to be able to drag stuff around to control sorting. There are three possibilities:... Read More
Tags: draggable, Javascript, jquery ui, PHP, Smarty
Posted in jQuery | 1 Comment »
Thursday, January 24th, 2008
Setting up default installations of Apache, PHP and PostgreSQL is really easy, I’m using a Gutsy setup and writing this in a terminal:... Read More
Tags: apache2, PHP, postgresql
Posted in Database, Linux, Reviews | 1 Comment »
Tuesday, January 22nd, 2008
This piece covers creating a proper folder structure so that we can have a skin system. I’ve also created a folder for the admin section which is fully contained with it’s own controllers folder and so on. Another unrelated change that has happened since the last part is sub menu logic which we will also take a look at.... Read More
Tags: CMS, community, PHP, Smarty, zend framework
Posted in PHP, Smarty, Zend Framework | 8 Comments »
Monday, January 21st, 2008
First of all, this article does not compare actual features of the two frameworks. Only the getting-started process, this will probably be enough information for you to decide in any case, just read on and you’ll understand what I mean.... Read More
Tags: Common Lisp, Lisp, ucw, weblocks
Posted in Common Lisp, Reviews | No Comments »
Friday, January 18th, 2008
Time for some nice links again, as usual most links are from Dzone.... Read More
Tags: flex, Javascript, jquery, PHP, Ruby, Speedlinking
Posted in Speedlinking | No Comments »
Monday, January 14th, 2008
The process of setting up Merb and Datamapper can easily derail, these are my experiences of setting them up on Ubuntu with XAMPP.... Read More
Tags: datamapper, Linux, Merb, Ruby, ubuntu, xampp
Posted in Linux, Merb, Ruby | 4 Comments »
Wednesday, January 9th, 2008
The blog saga continues, we still don’t have any fancy Wordpress style filtering of the content. You know, creating these nice looking quotes and filtering potentially nasty html and stuff. Sure enough, TinyMCE has some function for allowing only certain tags and discarding others but I haven’t had time to look at that yet, I will though… Fancy filtering is not in the requirements for this project either however. But changing and deleting blog posts are necessary actions though, so is some kind of search for articles. Let’s begin by looking at what’s been added to the desktop menu:... Read More
Tags: jquery, PHP, Smarty, zend framework
Posted in Javascript, PHP, Smarty, Zend Framework | 3 Comments »
Sunday, January 6th, 2008
One of the many problems with PHP that detractors are eager to point out is the fact that the language has thousands of global functions. Without the awesome CHM version of the PHP manual - finding your way in this jungle would be a mess. Simply finding a function like array_multisort is not trivial. And even if you find it, understanding it completely is not trivial either!... Read More
Tags: array, array_multisort, PHP, sorting
Posted in PHP | 9 Comments »
Tuesday, January 1st, 2008
I just shut down my dual boot by reformatting the Linux partition and running Ubuntu in a virtual machine instead. This is the walkthrough:... Read More
Tags: alien, Linux, ubuntu, vmware
Posted in Linux, Reviews | 2 Comments »