Tag Archives: zend-framework

Stop layout rendering for Ajax request with custom routing

How can I stop Layout rendering, when sending request through AJAX..
The problem I face is json data is echoed on the browser, not passed to tha call back function of jquery
ecco il mio script

jQuery.ajax({
    url: "/getPrivileges",
    type: "POST",
    

Continua a leggere

Tagged , , , , | Lascia un commento

Get Instance of selfwriten Zend_Controller

I have an Callback-Method like setStatusCallback().
Ora, I want to overgive the Action-Method statusAction() which is placed in my User_IndexController-Class.
So, that I can overgive a Callback-Method to setStatusCallback() come setStatusCallback(array(&$obj, 'statusAction'));…
Next Probelm ist now, when I write Continua a leggere

Tagged , , , | Lascia un commento

Doctrine automatically create all the database tables?

is there any way to tell doctrine automaticaly create schema tables without using this command :

doctrine:schema:update --force

Continua a leggere

Tagged , , , | Lascia un commento

Configurare Zend Framework

I’m trying to set up Zend framework on my netbeans.When I run the application I get the following error:

Warning: require_once(Zend/Application.php) [function.require-once]: failed to open stream: No such file or directory in C:Documents and SettingsmarybDesktopZENDZendFrameworkQuickstart-20100208publicindex.php

and the following error:

Fatal 

Continua a leggere

Tagged , , | Lascia un commento

How to get the actual image from Picasa using Gdata

I am trying to output the actual URL to the high resolution image of a photoentry. A photo entry Zend_Gdata_Photos_PhotoEntry… of the Gdata contains the data of photo stored in Picasa.
Attualmente, I found to methods to output URLs to Continua a leggere

Tagged , , | Lascia un commento

PHP Session ExpirationWhen does it refresh?

I’m using Zend with a session expiration set to 1,800 secondo. I was wondering if this session expiration time refreshes back to 1,800 seconds every time I make a request from the browser to the server on behalf of theContinua a leggere

Tagged , , | Lascia un commento

Zend "Server Caching” di JS e CSS

I’m running Zend Server in a CentOS VM on Vitrualbox and I’m having a problem with linked JS and CSS assets being “cached”. Dico “ccache#8221; because they aren’t, in the true sense, being cached, but rather when I addContinua a leggere

Tagged , , , , | Lascia un commento

PHP – instanceof v === null

Is there a specific benefit of using instanceof instead of === null before initializing objects in php.
I see code like this all the time in the Zend framework:

if (!self::$_httpClient instanceof Zend_Http_Client) {
        /**
         * @see Zend_Http_Client
         */
        #require_once 

Continua a leggere

Tagged , | Lascia un commento

phpunit testing with ajax and zend framework

i have a problem with writing tests for my action that gets called by jquery via ajax. i don’t know how to catch the data that is being sent back to the view, by the action, so that i couldContinua a leggere

Tagged , , , | Lascia un commento

Is it safe to develop for older versions of Zend Framework?

Our vendor-supported server’s O/S only supports PHP 5.1.6, which limits us to ZF 1.6. The current version of Zend Framework requires a higher version of PHP.
We’re struggling to decide whether to adopt ZF because of this incompatibility. E '… Continua a leggere

Tagged , | Lascia un commento
52 pagine