Articles with tag "zend framework"

Memcached in PHP Made Easy With Zend Framework

Implementing Memcached to improve your application’s performance can be done fairly quickly without using Zend Framework. If you’re just wanting Memcached, skip Zend Framework (and probably this post). On the other hand, if you’re using Zend Framework but you’re not using Memcached, this will help you get things going.
Comments: 698     Views: 42743     Rating: 12345

Two (or more) Zend Framework projects on a shared host

Shared hosting environments can be a nightmare when it comes to PHP Web Development, specially in testing stages. Yes, I know one should not be using and paying for a hosting plan if the code is still not production ready, but I have seen some cases.
I will try to show how to have the Zend Framework installed with as many projects as you want (if your server quota allows you to) in the same web space and all these projects sharing the same ZF copy.
Comments: 1835     Views: 51572     Rating: 12345

Zend Framework and Translation

As multi-lingual web sites become more and more important, I would like to show two possible ways how to translate static text snippets in your application with Zend Framework. Zend Framework provides us with several packages like Zend_Locale and Zend_Translate to make developer’s life easier – but how to put these components together?
Comments: 690     Views: 23745     Rating: 12345

A caching pattern for models

This is a caching pattern for models using Zend_Cache and the __call magic method. The initial thought behind this is that a model should be able to return calls either uncached or cached, without initializing some cache object every time. It should be easy to switch between the two calls, and the cache should be coming with the model object already.
Comments: 45     Views: 8714     Rating: 12345

Automated Testing Using Zend Framework

Automated testing for your web applications is an important step in having the confidence to make changes to your application, and still be confident you’re delivering a quality, regression-free product. With Zend Framework’s testing framework (built with PHPUnit), you can build a thorough suite of test cases for your web application with very little hassle.
This article will give you all of the basic information you need to start writing automated tests for your Zend Framework applications.
Comments: 1848     Views: 14562     Rating: 12345

Integrating FCKeditor with Zend_Form

How to use FCKeditor, or any other WYSIWYG editor, with Zend_Form? Another relatively common question. There are many ways you can do this, but let’s look at these two as they are the best in my opinion:
* Adding some JavaScript to your view script
* Creating a Zend_Form_Decorator
We’ll be using FCKeditor, but you can apply the techniques shown to others, such as TinyMCE, as well.
Comments: 34     Views: 13436     Rating: 12345