Posts Tagged ‘PHP’

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

So you have encoded all your language files with UTF-8 encoding and set all possible language options in the MySQL server to UTF-8. You have tried all possible combinations of utf8_decode(), utf8_encode() and iconv() and it still doesn’t work? That Ü stills shows up as some garbled crap or a question mark?... 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

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

Friday, December 7th, 2007

This time we will take a look at the current state of the gallery section.... Read More

Multiple uploads with jQuery and Flex or Flash

Friday, December 7th, 2007

Update 01/11/2008: There is now a new Flash only version that works properly with version 10 of the player.... Read More

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

Sunday, November 25th, 2007

In this part we will take a look at what happens after a user logs on. We will also revisit quite a lot of code that has been changed.... Read More