Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPImpact Blog:
Using Annotations in PHP
Jul 22, 2008 @ 12:55:04

On the PHP::Impact blog today there's a new post showing how to use annotations in your application's code that can be used by the Addendum library.

Annotations provide data about a program that is not part of the program itself. They have no direct effect on the operation of the code they annotate. In PHP, annotations can only be read reflectively at run time.

They allow you to document, with meta-data, information about the classes, methods and variables inside the script. They show three of the annotation types - a marker, a single-value and a multi-value.

tagged: annotations addendum library marker singlevalue multivalue

Link:

Padraic Brady's Blog:
Zend Framework Blog App Tutorial - Addendum #2: Revised Design, Date Helper
Jun 02, 2008 @ 15:21:41

Padraic Brady has posted the second addendum to his series on creating a blogging application with the Zend Framework. It covers a revised blog design and the creation of a date format view helper.

In the second of my Addendum posts which revise previous entries either for missing functionality, progressive changes and enhancements, or reader comments, I revise the design and styling of the blog application. There's not a lot to discuss in this entry since the majority of changes are to the HTML and CSS of the blog.

He includes the phtml template files for the updates to the blog's layout along with the code for the new view helper (and tips on making them global and optimizing them).

tagged: zendframework blog application tutorial addendum design dateformat viewhelper

Link:

Padraic Brady's Blog:
ZF Blog Tutorial Addendum #1: Base URL, Magic Quotes, Database Schema & UTF-8
May 29, 2008 @ 21:12:03

Padraic Brady has an addendum he's posted to his "making a blogging application with the Zend Framework" series dealing with a few random issues from along the way.

The interesting thing about live publishing of a long tutorial series is that it's not flawless. In fact it's the opposite. [...] To cover all these I'll occasionally highlight the more important ones both in notes to new entries, or where they slip past me, in Addendum entries like this one.

There's four sections in this update - one dealing with the referencing of base URLs, another worrying about magic_quotes settings, an updated database schema for the project and the final about removing non-english characters in the title URLs.

tagged: addendum base url magicquotes database schema utf8

Link:


Trending Topics: