by Kevin Schroeder | 3:30 pm

ZF2 Dependency Injection: Managing Configuration – Part 2

In my previous post about Dependency Injection Container (DiC) configuration I made mention of some more complicated scenarios that you can use to configure your objects.  Not that you need help to make it

  READ ARTICLE
586 words ()
by Kevin Schroeder | 2:34 pm

ZF2 Dependency Injection: Managing Configuration – Part 1

Configuration is a big reason to use a Dependency Injection Container (DiC).  I’ve been doing a lot of playing around with the ZF2 DiC and one of the things that I like about it

  READ ARTICLE
851 words ()
by Kevin Schroeder | 11:40 am

Zend Framework 2 Event Manager

Yes, I know I work for Zend and that means that I should automatically be familiar with everything the company does.  Especially when it comes to Zend Framework 2.  But I have to confess

  READ ARTICLE
758 words ()
by Kevin Schroeder | 12:00 am

ZendCon 2010 Podcast – Unit Testing in Zend Framework 1.8

Speaker

Michelangelo van Dam

Abstract

Zend Framework 1.8 has improved and simplified how you can test your applications, providing you with excellent techniques to streamline your quality assurance processes and reduce your maintenance costs.

Licensing:

The ZendCon Sessions are distributed under a creative commons Attribution-Noncommercial-No Derivative Works 3.0 License, Please honor this license and the rights of our authors.

Slides

  READ ARTICLE
219 words ()
by Kevin Schroeder | 12:00 am

ZendCon 2010 Podcast – Introducing Zend Framework 2.0

Speaker

Ralph Schindler (Penn) and Matthew Weier O’Phinney (Teller)

Abstract

Zend Framework has grown tremendously since the first public preview release in March 2006. Originally a slim, MVC framework with a number of standalone components, it has grown to a codebase more than 2M lines of code. Work now turns to version 2, with goals of increased simplicity and advanced PHP 5.3 usage.

Licensing:

  READ ARTICLE
243 words ()
by Kevin Schroeder | 12:00 am

Subnet validation with Zend Framework

(Note – I accidentally gave conflicting instructions to the person who runs our newsletter. If you are actually interested in the article I wrote about people being silly about dynamicly typed languages you can go here)

I saw on a StackOverflow posting, someone was asking to see how you could use a Zend Framework validator to tell if an IP address was between two addresses. The individual was trying to use Zend_Validate_Between to do the checking. However, IP addresses generally are not checked between two arbitrary addresses such as between 192.168.0.45 and 192.168.0.60. Instead, the check is usually done to validate an IP address against a subnet.

  READ ARTICLE
553 words ()
by Kevin Schroeder | 12:00 am

Amazon SQS and Zend Framework

I’m doing some work for a webinar and I figured out that if you want use AWS SQS in your app you need to specify not just the queue name, but the full URL. What is the full URL? It is what createQueue() returns.

For example, I was doing this to store the queue name in a task that was stored in the session so I could get it at a later point in time:

$this->_queueName = sha1(‘fileProcess-‘ . $this->_sourceId);
$queue->createQueue($this->_queueName);

  READ ARTICLE
188 words ()
by Kevin Schroeder | 12:00 am

Encrypted session handler

A little while ago I had come upon the problem of having to store sensitive data in a user session. The solution that I (and several others came upon) was creating a mechanism for storing encrypted data in a session. But what we wanted to do was build something that didn’t have a single point of failure. We also wanted to build something portable. What we built was a simple Zend Framework session handler for storing sensitive data.

  READ ARTICLE
436 words ()
by Kevin Schroeder | 12:00 am

Zend_Log with multiple writers

So I was sitting here thinking to myself “This is Friday and I’m not getting much of anything done. Maybe I should write another Friday Framework Highlight.” I figured that it was a good idea so I pondered what I should write. I came up blank and so I asked Matthew Weier O’Phinney. “Multiple writers for Zend_Log,” he said. I agreed.

  READ ARTICLE
422 words ()
by Kevin Schroeder | 12:00 am

Zend_Server

Let’s take a quick look at something that’s kind of neat in Zend Framework. I’ve been doing some work with Adobe on some articles and one of them was on working with mobile clients with Flash. Well, me being the masochist I did more. What I did was write an example that worked as a full website, an Ajax website, a Flash service and an XML-RPC service.

Setting the Stage

First I started with a Zend_Db row instance and it’s corresponding table instance.

  READ ARTICLE
849 words ()