The Bakery: Five New Posts - Custom Views, CSS, ViewInFile, ActsAs and Email Validation

Original post provide by PHP Freaks

The Bakery has posted five new articles/tutorials for topics like customizing the view and sending emails a little differently:

$anything_for_layout: Making HTML from the View available to the layout Did you ever have a side navigation that you wanted to change based upon changes in the view? Using this helper, you can write HTML and other output for display in the layout
css listmenu helper A helper (method) to create a css formatable listmenu.
ViewInFile component Sometimes in needed to output a view in a file. Most of the time for debugging, but also for some web service (xml) where you might need to send (by mail as a copy) an xml file reflecting the answer of the webservice.
ActAs Image column behavior This behavior add new column to your model and allow to store images in file system. It can resize images, create several versions, and thubnails. After find model you got link to file for each record in model.
Email Validation email validation replacement for /cake/libs/validation.php

Check out The Bakery for even more great CakePHPrelated content.

Previous Articles:
PHP 5.2.4 Released
The announcement states that:This release focuses on improving the stability of the PHP 5.2.X branch with over 120 various bug fixes in addition to resolving several low priority security bugs. All users of PHP are encouraged to upgrade to this release.You can download your copy at the php.net site, view full details of the release, and check the changelog for specific changes.
PHP 5.2.4
Cette nouvelle version corrige près de 120 bogues présent dans la branche 5.2 de PHP. Les corrections apportées concernent l'utilisation de wordwrap, GD, chunk_split, php_openssl_make_REQ, glob, open_basedir... Pour consulter la liste complète des améliorations apportées consultez le changelog.
Cache_TS
Package: cache_TS Summary: Cache the output of PHP script in files Groups: Cache, Files and Folders Author: Jacek Wloka Description: This class can be used to cache the output of PHP script in files. First it checks the cache file of a given cache key.
LinkMeIn
Package: LinkMeIn Summary: Retrieve the contact list of an user of LinkedIn Groups: Web services, XML Author: Ehsanul Haque Description: This class can be used to retrieve the contact list of an user of the LinkedIn site. It access the LinkedIn site and authenticates on behalf of a given user.
Tutoriel SQLite Et PHP5
Contraitement à de nombreux SGBD, SQLite ne reproduit pas le schéma habituel client/serveur mais est directement intégré aux programmes en utilisant des fichiers pour stocker les bases de données. Jason Gilmore propose sur developer.com un tutoriel expliquant, entre autre, comment utiliser SQLite dans une application PHP 5.
More Articles:
Upcoming Conferences
The title is really just a silly play on Web 2.0, but there is some evidence to support the notion that emerging trends in web application development are changing web application security as well. For those of you attending ZendCon, you should also check out the unconference that Patrick is putting together.
PHP.net: PHP 5.2.4 Released
This release focuses on improving the stability of the PHP 5.2.X branch with over 120 various bug fixes in addition to a resolving several low priority security bugs. All users of PHP are encouraged to upgrade to this release.
ImgMan
Package: ImgMan Summary: Process multiple images at once Groups: Files and Folders, Graphics Author: Andrés Ortiz Description: This class can be used to process multiple of images at once. It takes an array of eventually uploaded images and can apply several types of operations.
Simple HTTP Browser
Package: Simple HTTP browser Summary: Access remote Web pages like a real browser Groups: HTTP, Networking Author: lazy Description: This class can be used to access remote Web sites like a real browser. It can send HTTP requests of type HEAD, GET and POST using the Curl extension if available, or the socket connection functions otherwise.
SHA-1 Cracking On A Budget
As a part of the project, the creator wrote tools designed to graph the relationships between components. He also used JTAG to make reverse engineering the organization of the FPGAs on the board more apparent. More details can be seen on the actual project page."Read more of this story at Slashdot.

Leave a Reply