During a recent project, the client requested that uploaded files be encrypted for security reasons. As I already had the uploaded code ready and tested I just needed to add some extra encryption capability to the code. As earlier I’d encountered Zends wonderful Zend_Filter class, I decided to go with it and use the Zend_Filter_Encrypt and Zend_Filter_Decrypt to accomplish the work. The Zend_Filter component provides a set of common useful data filters, among which are the encryption filters. Although my project was not developed in Zend, I could easily integrate the required classes in the code. Note that Zend has a great upload library, Zend_File_Transfer, that lets you easily manage file uploading and also encryption, but as I already had the upload code tested, I decided to just add the encryption part.
Read More
Tag: zend
Creating a Figlet text in php
Zend_Text_Figlet is a Zend component which enables developers to create a FIGlet text. A Figlet is nothing but a technique of creating large letters using ordinary text. I don’t know how to make a use of this in my daily matters, but its a nice recreation. A short history on Figlet can be found here. An example and the code to generate it is shown below.
Read More
Zend framework map for version 1.5
Zend framework is gaining widespread use everyday. Each new version of the framework includes new component additions. The following shows a visual representation of the Zend framework for version 1.5.
The following image was created using Microsoft Visio and then exported to PDF. I’ll be adding a linked map page soon. Click on the image for a larger view, or download a PDF version here. Read More
Delicious tag cloud using Zend framework
Zend framework provides many interesting wrappers for major service APIs like Akismet, Amazon, Audioscrobbler, Delicious, Flickr, Nirvanix, etc.
In this post we will use the delicious wrapper to create a tag cloud for your delicious account. Read More