Archive for the ‘Around the web’ Category

Secure login with Zend Framework

Enrico Zimuel has posted an article on how to build a secure login with Zend Framework:

After a long pause i’m come back on my blog with a post about the development of a secure web login system in PHP with the use of Zend Framework. The issue to build a login system in a web application is quite common. The security aspect of a login system is absolutely important and in this post i have summarized some of the main security points. Of course this is not the final solution but, in my opinion, is a good point of start for PHP developers.

He goes on to show all the key steps required including the use of ZendFormElement_Hash to help secure against CSRF attacks.

All in all a good read and Zend Framework 1.8 compatible too :)

Posted by Rob on 4th July 2009 under Around the web | 2 Comments »

PHP 5.3 is released!

It’s happened! PHP 5.3 has been released. This version was a long time coming and as such has lots of new features and bug fixes.

The key new features for me are:

There is a migration guide available, but you should also check out Cal Evans’ migration notes over at TechPortal too.

You can download it directly now, or wait for your favourite distribution to package it for you soon!

Posted by Rob on 30th June 2009 under Around the web & News | Comments Off

Registering front controller plugins in Zend Framework 1.8

Wenbert Del Rosario has posted an article on how to register a front controller plugin using Zend Framework 1.8.

With ZF 1.8, we can now use the application.ini file and he shows the format of the lines required, along with setting it up so that you use your own name space.

Posted by Rob on 20th June 2009 under Around the web | Comments Off

Zend Framework Modular applications

Jeroen-Keppens has written a good article on how to create a modular application with Zend Framework:

I like my code nicely seperated in manageable blocks, that I can reuse whenever I want. Needless to say, I’m a big fan of the modules in Zend Framework. It isn’t always very easy to set it up though.

He covers how to set up modules using the zf command line tool along with a module bootstrap, before covering views and models. Reading this article will certainly help you understand how to use modules in your apps.

Posted by Rob on 18th June 2009 under Around the web | Comments Off

Todo list worked tutorial in Zend Framework

Greg, over at threadaffinity has written the first in a series of articles about creating a todo list application using Zend Framework:

A while back we posted a blog entry on a simple Zend Framework example using Zend_Auth. The example consisted of a basic website that re-directed the user to a login page when they tried to access a restricted area of the site (eg. their Account page). Well some time passed and we got a little older and wiser in terms of using Zend Framework so we decided to try again – this time with a little more ambitious goals.

There’s already a demo site up, where you can download the source code.

Posted by Rob on 18th June 2009 under Around the web | 1 Comment »

Simple Zend Framework tutorial

Ryan Mauger has produced a simple tutorial showing how to implement the basic CRUD operations using Zend Framwork.

Creating a nice, easy to maintain form, starts with a form class. Creating your forms procedurally in your controller/actions is horrid. please don’t do it.

Read the article.

Posted by Rob on 18th June 2009 under Around the web | Comments Off

All about Zend_Tool in ZF 1.8

Ralph Schindler has written and article on ZendTool and ZF 1.8 on devzone. In it he explains what ZendTool is and how to use it.

Instead of whipping together a system that was targeted specifically for creating ZF based applications, specifically on the command line, and strictly generating code and not modifying existing code, we set out to build a system extensible in every regard that should concern a developer. Zend_Tool was designed to facilitate abstraction at all the necessary points where we felt that developers would want to extend the system.

He then goes on to show what Zend_Tool can currently do using a series of screenshots.

Posted by Rob on 4th May 2009 under Around the web | Comments Off

Zend_Tag_Cloud screencast

Ben Scholzen has posted a screencast showing how to use the new ZendTagCloud component that will be in Zend Framework version 1.8.

The video goes though how to create a tag cloud where each tag has a title, weight and optional URL. ZendTagCloud will automatically render the tags as unsigned lists with appropriate font sizes to show the relative weights of each tag.

He then shows how to style the list so that it looks like a traditional tag cloud that you see around the web.

Posted by Rob on 29th April 2009 under Around the web | Comments Off

Some notes about uploading files with Zend_File_Element_File

Thomas Weidner has written up how to receive files with ZendFormElement_File. If you are having problems trying to get a file uploaded properly, then have a read and it should all become clear.

Posted by Rob on 17th April 2009 under Around the web | Comments Off

Wrapper-Factory for Zend_Cache

Ben Scholzen has written an article about using multiple Zend_Cache objects in your application.

When creating a huge application, you mostly have to keep caching out of your development environment, but want to fully control the caching backend in your production environment, without all the calls to the Zend_Cache factory in your models or controllers. I had to struggle with the problem in the past sometimes, and came to the conlusion, that a singleton-factory would solve this issue very well.

He then goes on to show code samples of how to create a factory of cache objects for use in your application.

Posted by Rob on 16th April 2009 under Around the web | Comments Off

« Prev - Next »