I'm trying to set up a new Zend project using Zend Server CE under OS X 10.6
First, I have downloaded and successfully installed Zend Server CE: opening http://localhost:10081 in my browser shows the dashboard, and everything seems to be working fine.
Than I created a new project, following the tutorial:
$ cd /usr/local/zend/apache...
I think it's possible to write select queries with either Zend_Db_Select or Zend_Db_Table_Abstract, but I don't understand when to use which of the two.
Is one more optimized for something than the other? Are joins "easier" with one or the other?
Thanks!
...
Hi, currently i am designing a shopping cart in Zend Framework.
I decided to write code for user/roles/product catalog from scratch which i have already done and tested. But for other things i need you guys to guide me which are the best classes/libraries to build this system system.
I need following functionality as
Order
Inventory
A...
Hi,
I'm playing around with ActiveMQ, connecting to it using Zend_Queue (and by extension Stomp).
At present, the PHP script I've written,
Connects to queueA and receives data from it.
The data is then processed into another format.
This result is then sent to two other seperate queues, queueB and queueC, for later further processing...
I am creating multiple select element like this and it is showed successfully on form:
$element = new Zend_Form_Element_Multiselect('clinics');
$element->setLabel("Clinics");
$element->setAttrib( 'style','width: 240px' );
$element->setMultiOptions( array( '1'=>'clinic1', '2'=>'clinic2' ) );
After rendering above element it shows the f...
Right now, I have Zend form elements wrapped in list-items. Form is validating or coughing up errors as it should. But I'd like to apply a class to the list-items of offending elements (but only to the list-items offending elements) on failed validation. Example:
This field has valid input
<li>
<input type="text" name="address2" id...
Hello friends,
I would like to create a global var inside my bootstrap, this is the configuration:
require_once 'Initializer.php';
require_once 'Zend/Loader/Autoloader.php';
require_once 'Zend/Controller/Router/Route.php';
require_once 'Zend/Controller/Action/HelperBroker.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$aut...
Okay, so, I wanna be able to choose different versions of Zend Framework (and other frameworks) using Zend_Loader. Well, the code isn't tricky at all, but the problem is, there are so many require_once lines in the framework itself that would practically make the autoloader useless.
The Zend directory has to be in the include_path whic...
Hi, i am working on a site to include Multilingual Support.
I can translate strings using Zend_Translate but what about the content??
For example do i have to add multiple records for same product's for each language? Or is there any other way?
I am new to multilingual please help.
Thanks in advance.
--- Addition -----------------------...
It is possible to make form and table (View) by both using zend_form with decorators, validators , filters etc, and we can also do this directly in view phtml file writing html as usual. I want to know which one is the best way to do in terms of
Performance
Time
Simplicity
I am new to zend framework.
...
I am currently working on PHP sites (80% work is on heavy database queries) and also working with Zend Framework.
In my 2 yr development experience I never worked on any CMS like Wordpress, Magento but I have idea how they work.
Shall I continue with what I am doing or shall I switch myself towards CMS.
Guide me which one is beneficia...
Hello. I am using Zend Framework.
My task is to send JSON data from controller to Javascript.
I have an simple array:
$array = array('a' => 1, 'b' => 2);
After i am encoding this array to json format:
$jsonData = Zend_Json::encode($array);
But I don't know, how I can get this data in Javascript. I send an ajax request with jQuery....
Hey guys,
I've got a question considering Zend_Controller_Router. I'm using a a modular-structure in my application. The application is built upon Zend-Framework. The normal Routes are like this:
/modulename/actionname/
Since I always use an IndexController within my modules, it's not necessary to provide it in the url. Now I am able ...
Here's a sample of my code:
$httpClient = Zend_Gdata_ClientLogin::getHttpClient( $username, $password, $service, $client, $source, $loginToken, $loginCaptcha, $authenticationURL);
$httpClient->setHeaders('X-GData-Key', "key=${myDeveloperKey}");
$yt = new Zend_Gdata_YouTube($httpClient);
$myVideoEntry = new Zend_Gdata_YouTube_VideoEntr...
I'm learning Zend Framework at the moment and came across the following syntax.
class Zend_Controller_Action_Helper_Redirector extends Zend_Controller_Action_Helper_Abstract
{
/**
* Perform a redirect to an action/controller/module with params
*
* @param string $action
* @param string $controller
* @param...
I am trying to set up a Zend Controller Route to Route to ALL of the Following URLs:
http://www.domain.com/controller
http://www.domain.com/controller/id
http://www.domain.com/controller/action
http://www.domain.com/controller/id/action
Is this possible with Zend Framework?
In particular I am having trouble routing to:
http://www....
How can I add a Oauth provider to a web application using Zend Framework? Zend Framework has support for oauth consumers, but I don't see a provider support. What do you use to implement a Oauth provider in php (with Zend Framework)?
...
Hello, Im looking answer for my question. I must include this in my project. Can u tell me how do it. What I should know, what i should have, how should look scenario with this save login.
I was looking in google but cant find anything.
EDIT:
I get https in adress when i go to login page with change .htaccess:
RewriteCond %{HTTPS} !=o...