Archive for June 20th, 2006

PHPClasses.org: Book Review - Smarty PHP Template Programming and Applications

Manuel Lemos has posted a new book review of one of the latest offerings from Packt Publishing, “Smarty PHP Template Programming and Applications”.

PHP template engines have always been an hot topic. I guess it is accurate to say there are hundreds of PHP classes and scripts that implement template engines. Smarty is by far the most popular PHP template engine. I suppose it is fair to say that the history of PHP template engine can be split in “before Smarty” and “after Smarty”.

This book was written having in mind two types of audience: the Web page designers and the Web application programmers. After a couple of introductory chapters, there are several chapters written for Web page designers followed by several chapters more for Web application programmers.

He goes on to describe the structure of the book, how it compares Smarty to other templating systems, an introduction to using Smarty, and a few chapters diving more into the topic in depth. Overall, his comments are positive, and he definitely recommends the book to anyone looking to get into this popular templating system.

Continue Reading · Add comment

Community News: Latest PECL Releases for 06.20.2006

Latest PECL Releases:

Continue Reading · Add comment

Cameron Olthuis’ Blog: Top 10 Web Developer Libraries

Cameron Olthuis wants to share the tools that he finds th emost useful with the entire web, so he’s posted them here on his blog.

His list includes libraries from all different technologies, not just PHP. Several are Javascript-related, but it’s always good to have a complete toolkit on hand when trying to tackle some of the more difficult things.

Included in his list are things like:

  • Moo.fx - a Javascript effects library
  • Swat - an open source web application toolkit
  • PEAR - the PHP package repository
  • Mochikit - lightweight Javascript library

Be sure to check out the post and its comments for more great resources!

Continue Reading · Add comment

PowerHomeBix.com: Why PHP in the web applications?

On the PowerHomeBix.com site today, there’s this new article from Comdev Software asking “Why PHP in the web applications?”

With the growing demand of PHP in the web applications, PHP modules have been introduced to cater for web design and web development needs in order to shorten the development process and eliminate writing PHP codes from scratch.

The article talks about the huge growth lately in the number of frameworks and “ready-made modules” that has happened lately. It mentions that these are growing because PHP’s growing (and PHP’s growing because…well, you get the idea). These modules can play an important part in an application and can cut down development time greatly - always good from a business standpoint.

Continue Reading · Add comment

Paul James’ Blog: HTTP Authentication with HTML Forms

In this new tutorial on Paul James’ blog, they spotlight a method for authentication on your site using the traditional HTTP authentication method, but with the customizable frontend of an HTML form.

The main reason people walk away from using HTTP authentication is that they want control over the look of the login form and most browsers display an awful looking dialog box. So what we need is a way for HTML forms to pass HTTP auth data when it’s submitted. The HTML spec provides HTML forms as a way to create queries and to POST urlencoded data to a URL, but can we subvert it?

They show that, with the help of some simple Javascript, it can be accomplished. They give the code example to make it all work, including a bit of PHP code to validate the inputted data against two predefined constants. They also include another method, using HTTP Digest, to authenticate without the need to send the login information out to the server plain-text.

Continue Reading · Add comment