I am using Zend_Search_Lucene to implement site search. I created separate indices for different data types (e.g. one for users, one for posts etc). The results are similarly divided by data type however there is an 'all' option which should show a combination of the different result types. Is it possible to search across the different i...
Sorry if this is overly simplistic.
I've decided that I want to use an SQLite database instead of a MySQL database. I'm trying to wrap my head around how simple SQLite is and would like a simple, one answer tutorial on how to use SQLite with the Zend Framework, where to put my SQLite database in my directory structure, how to create the...
How to get Column Name With Zend DB
...
How to Get Field Name With Query in Zend Framework
Test "Select * From Test1,Test2"
how to get all field name in this query
Zend Frame work cam do it?
...
How to access Request object within Form method?
I assume it's somehow possible to access controller's request object
using ActionHelper inside Form methods, but writing a new class for
such a task seems to be excessive.
Or should I somehow save controller's Request to Zend_Registry and access Registry item in Form?
...
WHat's the best way/code in Login Form (Zend_Form) to display error message 'Login/password incorrect'?
I slowly begin to understand, that setting $this->setErrorMessage('Login/password incorrect') in form/init() is not enough and I somehow have to involve Validators to be able to see the message I set.
To which object should I bind th...
I've had this problem in a couple of ZF applications now and it's very frustrating:
Near the top of my bootstrap I have the following two lines
Zend_Session::start();
Zend_Session::regenerateId();
My application requires authentication using Zend_Auth and uses default session storage for persisting an identity. At random the session ...
In a development team how long do you think you should wait to implement the latest stable version of Framework?
I am asking about different Frameworks we are using Zend Framework, HTMLPurifier, jQuery and jQuery UI.
After a release how long do you wait to update your framework(s)?
...
I am using the zend framework to get info from the audioscrobbler api. The response format is like this:
<recenttracks user="RJ">
<track nowplaying="true">
<artist mbid="2f9ecbed-27be-40e6-abca-6de49d50299e">Aretha Franklin</artist>
<name>Sisters Are Doing It For Themselves</name>
<mbid/>
<album mbid=""/>
<url>ww...
I've chosen to move Form processing from Controller to MyForm class, in order to follow ThinController/FatModel rule. But some of my code in Zend_Form class needs to perform
a redirect.
In Zend_Controller_Action my redirect was:
$this->_redirect('/');
What would it become in Zend_Form?
...
Hello, we are trying to build an application using the zend framework and have the following problem: "Some controller actions are called twice. This means that the actions gets called, finishes its execution and then gets called again".
We tracked this down by checking entries in a log file. For one request there where 2 entries in the...
I am going to create Admin screens in my ZF app.
Should I used separate controller or separate module to contain admin section?
My assumption is that this has something to do with application size.
If it's small, using a controller for Admin part is ok, isn't it?
...
When I run an sql query using the ZF wrappers, all the numeric values return as strings.
What do I need to change so the values will return in the same data type as they are in the DB?
...
I have an open source project which uses several free libraries, among them the hugest by FAR is Zend Framework.
Should I:
1. Release my application with the Zend Framework
2. Release only my app and write a short tutorial on how to install ZF to woek with my app
3. Should I give both options (which is more work, and an open source don't...
Summary
As I'm looking on stackoverflow and around the net, I find that there is a general lack of good documentation on best practices for caching a high performance site that uses sessions. It would be helpful if we can share some ideas around some basic building blocks particularly around caching. For the purpose of this discussion, ...
The only examples I've seen of generating a Zend Framework project with Zend_Tool create this directory structure:
/application/controllers
/application/models
/application/views
Does Zend_Tool have the ability to generate a modular directory structure (where each module has its own models, views, and controllers)?
example:
/applic...
I'm having a strange problem and not sure how to troubleshoot it. I have created a script in one of my Zend Framework controllers that allows an administrator to log in, upload a PDF, and send as an attachment to everyone subscribed to the mailing list. The problem is that some users report that they are unable to open the PDF attachment...
I am in process of making my bootstrap.php file more organized, but after I put everything into separate static methods, I cannot load any page beyond index controller. E.g.
if I try to open
http://localhost/zftutorial/login/index
I get
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message
'Invalid ...
Hi
I am using PHP 5 on my dedicated linux server
5.2.6 (cli) (built: May 7 2008 01:11:22) Copyright (c) 1997-2008 The
PHP Group Zend Engine v2.2.0,
Copyright (c) 1998-2008 Zend
Technologies
but com_create_guid function is not working to me it's returning this error message
Fatal error: Call to undefined
function com...
I am looking to start a new project and I am trying to decide which framework to go with. I have been using ASP.Net for a while and enjoy it. My first introduction to web applications was with PHP and I still love it. The project should be a medium sized project maintained by 1 or 2 developers with a potential to grow. The only pros and ...