Posts Tagged ‘PHP’

ZF Community/CMS Bugfixes

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

Farewell HTML Ajax

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

Working with other people’s code

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

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

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

HTML entity encoding everything in PHP

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

Sorting with jQuery sortable

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

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