Zend Framework is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License.

learn more… | top users | synonyms (2) | zend framework jobs

47
votes
19answers
33k views

Zend Framework or CakePHP? [closed]

My group is going to attempt to build a new CMS from scratch, designed to serve the needs of our organization. It should be noted that none of us have any formal programming education, but we've ...
45
votes
2answers
12k views

How can I make email template in Zend Framework?

I want to make email templates in Zend Framework. For example, <html> <body> Dear {$username$},<br> This is a invitation email sent by your {$friend$}.<br> Regards,<br> ...
44
votes
2answers
21k views

How to switch layout files in Zend Framework?

I'm sure it's a simple one-liner, but I can't seem to find it. How can I use a different layout file for a particular action? Update: This worked for me, thanks! // Within controller ...
41
votes
10answers
41k views

Zend Framework: How do I remove the decorators on a Zend Form Hidden Element?

I'm trying to remove the default decorators on a hidden form element. By default, the hidden element is displayed like this: <dt>Hidden Element Label (if I had set one)</dt> ...
41
votes
14answers
17k views

Zend Form: How do I make it bend to my will?

I've read the manual many times, I've scoured the posts offered by Google on the subject, I have even bought a couple of books that deal with ZF. Now, why am I still confused? I can, using Zend_Form, ...
36
votes
10answers
14k views

Running a Zend Framework action from command line

I would like to run a Zend Framework action to generate some files, from command line. Is this possible and how much change would I need to make to my existing Web project that is using ZF? Thanks!
35
votes
3answers
12k views

How to create WHERE IN clause with Zend_Db_Select

So I am trying to accomplish something like this: SELECT * FROM table WHERE status_id IN (1,3,4); using Zend_Db_Select... can't find how to do it :( Is it at all possible?
34
votes
1answer
16k views

Practical Zend_ACL + Zend_Auth implementation and best practices

Context: My questions pertain to a forum I'm developing pretty much exactly like SO, where there are: guests who have access to view threads but can't reply or vote members who, with enough rep, ...
34
votes
6answers
19k views

How do I use PHPUnit with Zend Framework?

I would like to know how to write PHPUnit tests with Zend_Test and in general with PHP.
33
votes
7answers
12k views

Is there a way to do an “INSERT…ON DUPLICATE KEY UDPATE” in Zend Framework?

I would like to use ON DUPLICATE KEY UPDATE in Zend Framework, is this possible? Example INSERT INTO sometable (...) VALUES (...) ON DUPLICATE KEY UPDATE ...
32
votes
9answers
39k views

Registering Zend Database Adapter in Registry

I am looking to register a reference to the main Database Adapter in the Registry during Bootstrapping so it can be used elsewhere in my site (specifically the Authorisation action). I have ...
31
votes
1answer
12k views

Zend Framework 1 vs Zend Framework 2 performance [closed]

Zend Framework 2 was just released and Zend offers support for ZF1 for only 18 months from now. I know they were working for new features in ZF2 and then they were going to do some major speed ...
30
votes
12answers
34k views

Models in the Zend Framework

What are some of the ways you have implemented models in the Zend Framework? I have seen the basic class User extends Zend_Db_Table_Abstract and then putting calls to that in your controllers: $foo ...
29
votes
5answers
13k views

What is difference between mysql,mysqli and pdo?

What is difference between mysql,mysqli and pdo ? Which one is the best suited to use with PHP-MYSQL?
29
votes
2answers
489 views

Inconsistent cache values using Zend Cache with AWS ElastiCache across multiple servers

We are using Zend Cache with a memcached backend pointing to an AWS ElastiCache cluster with 2 cache nodes. Our cache setup looks like this: $frontend = array( 'lifetime' => (60*60*48), ...

1 2 3 4 5 1017
15 30 50 per page