Archive for the ‘Zend Framework’ Category

Juozas Kaziukenas’ Blog: Zend Framework is NOT bloated

In response to one of the constant claims about the Zend Framwork – that it’s large and bloated – Juozas Kaziukenas tries to dispel three things that people use to reinforce this belief.

Zend Framework is always considered as being the slow/bloated one. I don’t think this is right, so I decided to prove that it’s not correct and in fact ZF is as good as other frameworks are. This post doesn’t cover any benchmarks though; this is more like a architecture review and some misconceptions disproof.

He counters the following with a bit of logic that makes the points a bit more shaky than they first seem:

  • Large installation footprint
  • Unnecessary features
  • Use more system resources

If you’re still not convinced, he offers two other tips to help streamline your Zend Framework install – profiling to find the bottlenecks and using Zend_Application sparingly as it can be a bit of a resource problem.

ZendCasts.com: Writing Composite Zend_Form Elements

A recent tutorial (screencast) has been posted to the ZendCasts.com site looking at creating custom Zend_Form elements when you need something more than just the usual, simple elements.

This video should help you build your own composite Zend_Form element. We’ll be building a phone element. The phone element will have 3 textboxes, one for geographic location, area code and local code. In the following videos will add a custom cell phone validator and some ajax validation.

You can grab a copy of the source if you’d like to follow along or you can just look around the repository to find the source for this and other great lessons from the site.

Zend Framework 101: Zend_Service_Amazon_S3

By Quentin Zervaas. In this article I will introduce you to the Zend_Service_Amazon_S3 component of the Zend Framework. This component makes use of Amazon Web Services (AWS) to manage files on Amazon’s Simple Storage Service (S3).

Using Google Apps Provisioning API with Zend Framework Gdata Class to Manipulate User Account

Playing with APIs on other web service is always fun. Now we will talking about utilizing the Zend Framework’s Zend_Gdata class to manipulate user account on your Google Apps account. Nowdays there many people or institutions using Google Apps as their e-mail solutions. If you are using Google Apps Premier Edition and Google Apps Education [...]

Access to Unread Gmail Messages using Gmail’s Atom Feed and PHP

One of our readers ask me about Gmail API availability. Yes, right now there is no Gmail API from Google. They only provide Gmail Atom Feed to get the unread messages from a particular Gmail user account. How to do that? Here is the simple code using PHP libcurl and Zend_Http_Client class.
Access to the Gmail’s [...]

How to Use Zend Framework without Editing php.ini File?

After reading the How to Install Zend Framework? article, some of the reader asking about how to use Zend Framework without editing the php.ini file. Yes, good question. Actually there is another way to achive this. You can use the ini_set() function to set the value on your PHP configuration option. Here is the sample [...]

Zend Framework 101: Zend_Session

By Quentin Zervaas. In this article I will introduce you to the Zend_Session component of the Zend Framework. This component is built upon PHP’s native session-handling functionality, making it easier to manage session data, as well as providing more advanced features.

Zend Framework 101: Zend_Soap

By Quentin Zervaas. In this article I will introduce you to the Zend_Soap component of the Zend Framework. This component allows you to easily create and consume SOAP web services. We will create a simple web service with several methods using Zend_Soap_Server, and consume the service with Zend_Soap_Client.

Zend Framework 101: Zend_Log

By Quentin Zervaas. This article shows you how to use Zend_Log, the logging component of the Zend Framework. It allows you to record messages from your application however you please. In this article I will show you how to record messages to a log file.
Additionally, if you use the Firebug and FirePHP plug-ins for Firefox, Zend_Log can be extremely useful for application development and debugging. I will also show you how to achieve this.

Zend Framework 101: Zend_Registry

By Quentin Zervaas. In this article in the Zend Framework 101 series I will introduce you to the Zend_Registry class. This class used is to allow you manage variables and objects in the global application namespace. This is used as an alternative to using global variables in PHP. I will show you how to use the Zend_Registry class and also provide a practical example of where it would be useful to use the registry.