zend

Zend, slow load, "waiting for response" for 20-80 seconds on local site

So I have several sites running under the same zend setup. All of the sites run pretty normally except one. Upon loading or reloading this one site, reguardless of which page your on (excluding the 404 page explanation later...) you get a serious pause before any content begins to download. Using firebugs net panel you can see that the f...

Flexstore or JQuery for e-commerce site

Am currently evaluating the best RIA technologies to use for building a new e-commerce site. Currently there are two options we are looking at.One is the flexstore example where we intend to embed the intuitive shopping cart into our site or go full JQuery in providing the needed end user experience.We intend to use Zend as our server pl...

Ajax with Zendframework

Friends, How I integrate Ajax with zendframework.I need some good tutorials. ...

ZF create a new controller

Hello, I made my first project with ZF, used the Zend_Tool component. For the index controller a created some actions, and they work well. But my question is, when do you create a new controller? thanks! ...

data submission in zendframework

In my zend project ,I want to show some health problems along-with a drop-down box and a text-area.My Controller and views are given below. class IndexController extends Zend_Controller_Action { public function init() { /* Initialize action controller here */ } public function indexAction() { $healthproblems =new Model_DbTab...

Error with the ZF tool while setting up the GuestBook Application

Iam trying to set up the GuestBook Application which comes with zend framework tutorial , Iam following the steps one by one, However when I enter this command - zf create db-table Guestbook guestbook Iam getting an error, I have pasted the error here - C:\xampp\htdocs\quickstart>zf create db-table Guestbook guestbook ...

I'm having trouble understanding this really simple PHP code. Please help?

Here's the code: <?php class Order extends Zend_Db_Table_Abstract { protected $_name = 'orders'; protected $_limit = 200; protected $_authorised = false; public function setLimit($limit) { $this->_limit = $limit; } public function setAuthorised($auth) { $this->_authorised = (bool) $auth; } public function insert(arra...

Trouble with using a static method in a very simple hello world PHP program.

I'm learning by reading this tutorial: Link Here's the code: <?php require_once 'Zend/Loader.php'; class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { public static $root = ''; public static $frontController = null; public static function run(){ self::setupEnvironment(); self::prepare(); ...

How can I open my project in Zend? I accidentally removed it from the left pane.

I accidentally removed the application from the left pane and now I can't get it back no matter what I do. I tried opening the .solution file from within Zend Studio, but it only loads the file, not the entire solution. How can I have it load the entire application? Edit: I still can't what to open. In Visual Studio, you can open a pr...

Any Good Reference Zend Framework Based Applications for Beginners?

Hi, Iam coding my first Zend Framework application. Iam looking for some good applications for beginners to learn the framework and its intricacies. I went through the quick start guestbook application from Zend's website in first 2 days and it was a nice tutorial and I got to learn many things from it. However I want to go through ...

Where do I create my layout in the Zend Framework?

In ASP.Net you'd create a MasterPage and have whatever pages use that. I need my pages to use the same basic layout. Where do I create it? ...

Zend: How to use a custom function from a view helper in the controller?

Ive got a view helper in library/my/view/helper/gravatar and so in any view I can call $this->gravatar($email). But how can I access this function in the models (or controllers)? Sorry if its already been asked but Im new and the documentation is bloody awful in parts. Thanks everyone ...

Persisting Zend Framework ACL Lists

Does the Zend Framework (or applications built using Zend_Application) provide any mechanism for persisting ACL lists, or is that detail left to the individual system/application developer? Most of the examples I see online involve setting up your ACL rules in code. I'm curious if there's any standard/preferred way to save these rules ...

zend framework bootstrap objects for controllers?

Hello, ATM I set the currency and locale objects in the bootstrap and assign them to zend registry. Then in the controller that needs them, In the init I do: public function Init() { $this->locale = Zend_Registry::get('locale'); $this->currency = Zend_Registry::get('currency'); } I was wondering if there's away to make v...

Zend Framework path to helpers

fopen(C:/xampp/htdocs/adv/application/views\helpers/Layout.php) how to fix this path? And why does ZF is searching for bundled helpers in this folder and not in zend library folder? By the way, here path is fine, but still searching in wrong folder fopen(C:/xampp/htdocs/adv/application/controllers/helpers/ViewRenderer.php) ...

get statistics web pages in zend framework

whats the best way to get Statistics Web pages by the users visited ? anybody may explain how do we implement to get statistics web pages by the each users visited and the most page is visited? ...

How to determine if the contents of a .pdf file are scanned or not

So, I have a .pdf file and I need to be able to determine if it was created by being scanned into a PDF or not. I'm trying to determine if it is a pdf I can display as text or not. I have PHP & Zend at my disposal. I'm thinking I might be able to use Zend's $pdf->properties['Producer'] but I'm not 100% sure. Is there any way to be...

Zend Form - Set class on a label's dt

Hi all, Update I was able to get this to work by creating a custom Label decorator, which extended Zend/Form/Decorator/Label.php. I added a setTagClass() method to it and overrode the render method to create the enclosing tag with the desired class. There might be a more elegant way to do it but this seems to work. I'm looking for in...

I18n of Zend_Form values and errors

Hello, assume this situation $form->addElement('select', 'companies', array( 'disableTranslator' => true, 'label' => Zend_Registry::get('Zend_Translate')->_('companies'), 'filters' => array('Int'), 'required' => true, 'multiOptions' => array(1 => 'Company 1', 2 => 'Company 2') )); if($_POST...

Out-of-the-box Eclipse PDT (PHP Development Tool) not capable of debugging PHP, why?

I just finished reinstalling the "All-In-One Eclipse PDT" from zend.com. It's unable to debug even the simplest "Hello World" PHP script. How can such a major open-source app be released in such a bad shape? What am I doing wrong? This is the result of doing a "Debug As... 2. PHP Script": Problem signature: Problem Event Name: APP...