Archive for the ‘Smarty’ Category

Why PHP as a templating language sucks

Tuesday, February 5th, 2008

I frequently read articles about why any template system made with PHP is per definition redundant because PHP is itself such a good templating engine. This is my take on this whole rant-genre.... 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

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

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

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

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

Ajax, ZF and Smarty feed reader: part 3

Monday, November 12th, 2007

This time we will take a look at the feed list window and the manage window. This will also be the concluding part of the series.... Read More

Ajax, ZF and Smarty feed reader: part 2

Saturday, November 10th, 2007

In part 1 of this series you could download the whole source which this tutorial is based on. This part and subsequent parts will make use of that source.... Read More

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

Thursday, November 8th, 2007

As I promised in part 3 of this series, this piece will be about user registration and login with all that it brings with it in the form of validation and so on.... Read More

Ajax, ZF and Smarty feed reader: part 1

Wednesday, November 7th, 2007

In this series I will walk you through the code of a site that uses only Ajax and Scriptaculous to handle it’s completely windowed interface. Making an interface like this is not really good design, it’s only done here for the sake of teaching. It is kinda cool though. Especially if you have a big screen.... Read More