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 [...]

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). [...]

Symfony form handling recipe

Date November 3, 2007

Symfony is a really great and well-thought-out framework, but I think its form handling support needs some more improvements. 5-6 years ago I developed an MVC framework as my thesis which has the following features related to form handling:

You can define forms logically (including labels, validation rules, error message parameters etc.) via form configuration files. [...]

NEON – Zend Studio for Eclipse

Date October 27, 2007

A couple of days ago Zend announced the beta version of NEON, the Zend Studio for Eclipse, based on PDT. NEON is now a rich featured IDE for PHP developers, which supports the full development life cycle. I will cover now the most interesting parts of it, which ones could be useful for PHP developers, [...]