Entries from November 2007

Extending Zend_Acl to support custom roles and resources

Date November 29, 2007

Few days ago I played a little with the Zend_Acl package, which provides lightweight and flexible access control list functionality and privileges management. It was very easy to use, but I found that the base Zend_Acl package has some limitation/problem if you want to use it in a bigger real life project. Zend_Acl supports only [...]

What is new in PHP 5.3 – part 4: __callStatic, OpenID support, user.ini, XSLT profiling and more

Date November 20, 2007

We are already familiar with namespaces, late static binding and mysqlnd but PHP 5.3 has a lot more cool features. We can find some information about the features of the upcoming PHP version from Johannes Schlüter’s (the release manager of PHP 5.3) blog entry and from the PHP Release Management Wiki. Some of the features [...]

What is new in PHP 5.3 – part 3: mysqlnd

Date November 17, 2007

In the first two parts of this series I wrote about namespaces and late static binding. In this part I will cover mysqlnd (MySQL native driver for PHP), which is also a really cool feature of PHP 5.3. This a replacement library (not an extension) for libmysql (MySQL Client Library) offering a lot of advantage [...]

What is new in PHP 5.3 – part 2: late static binding

Date November 15, 2007

In the first part of this series I wrote about namespaces, in the second part we will deal with late static binding, which is a very exciting new feature in PHP 5.3 and which promise some really nifty code. This topic attracted attention after Zend’s webcast about the Zend Framework. There was a [...]

What’s new in PHP 5.3 – part 1: namespaces

Date November 13, 2007

In my previous post I mentioned that PHP 5.3 will be released in early 2008 so I think it’s just in time to talk about the features of this version. It is started by this polling (in detail, in an ordered version) on the internal list. The big gun features are namespaces, late static binding [...]

International PHP Conference 2007 Megapost

Date November 11, 2007

UPDATED: I added the following three talks to the post. If you know any other presentation which is accessible and is missing from here, please notify me! TIA
Beautiful code with AOP and DI – Robert Lemke
This was a really great presentation, watch out: you will be infected! Robert shows us advanced programming concepts such as [...]

WordPress quicktag toolbar tweaking again

Date November 10, 2007

It is said that it is a good behavior to set title attribute to a tags. I usually put to the title the text of the link. The process is: I put the link to the clipboard, go to the editor, select the text, press Ctrl-A, insert the link to the dialog box, press enter, [...]

Hungarian unicode qwerty keyboard layout

Date November 9, 2007

Unfortunately in the official Hungarian keyboard layout on Mac OS X the z and y letter are replaced. I like to program with English keyboard layout but for writing forum posts or emails I usually use Hungarian keyboard. It was a very schizophrenic situation that z and y was always changing, so I decided to [...]

Fixing some problems in Template Lite

Date November 8, 2007

As a PHP developer probably you are familiar with Smarty, which is maybe the de facto PHP template engine. Smarty is sometimes criticized that it has too many feature and is too big. I think that in an average development Smarty could be a good choice, it gives you a lot of potential, and its [...]

How to use Smarty resources

Date November 6, 2007

Have you ever faced the situation, that the content of a variable is a Smarty template like string, and you want to fetch or display it? I worked on project where we decided that our language file entries will be Smarty templates, because we need the flexibility of the template engine (sprintf was not enough). [...]