Posts Tagged ‘PHP’

PostgreSQL on Ubuntu with phpPgAdmin

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

Writing a CMS/Community with Smarty and the Zend Framework: Part 9

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

Speedlinking 19 Jan 2008

Friday, January 18th, 2008

Time for some nice links again, as usual most links are from Dzone.... Read More

Writing a CMS/Community with Smarty and the Zend Framework: Part 8

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

Sorting 2D-arrays in PHP – anectodes and reflections

Sunday, January 6th, 2008

Update Aug 4, 2008: The below 2D sorting stuff has been superseded by the sorting section in the fluent article. The below example should be seen as something merely anecdotal and not be taken as a good example of how to sort 2D arrays by column. Alternatively, if you’re fine with a really simple approach see the end of the below article.... Read More

Writing a CMS/Community with Smarty and the Zend Framework: Part 7

Friday, December 28th, 2007

Since XOOPS didn’t do it for me when it comes to this project I have started with the blog component. As it turns out, a blog is more complicated than you would think. Therefore this part will not cover the whole component, only as far as I’ve gotten at the moment. Covering the whole process in one piece would make it a very long piece indeed.... Read More

XOOPS at first glance

Tuesday, December 25th, 2007

A few days ago I had a look at XOOPS.... Read More

jQuery Chili plus Code Autoescape is good code highlighting in WordPress

Friday, December 21st, 2007

Today I found Chili which is a jQuery plugin. I’ve been looking for something like this for quite some time. The ability to highlight code snippets client side is a very appealing thought. No more server side manipulation that might be prone to errors, follow the link to Priyadi’s autoescape plugin below for a more thorough discussion.... Read More

Language problems and solutions

Tuesday, December 18th, 2007

Update: Toggling the collation in the settings for the whole database, in for instance PhpMyAdmin has been known to solve quite a few problems.... Read More

Parsing tags with Zend Feed

Wednesday, December 12th, 2007

Consuming a feed with Zend Feed is quite simple if you don’t want to do something fancy. It could look something like this:... Read More