Tag Archives: zend-framework

Pare de renderização de layout para solicitação do Ajax com o costume de roteamento

Como posso parar a renderização de layout, quando o envio de solicitação por meio de AJAX..
O problema que enfrentamos é json dados é ecoado na class="IL_AD" , não passou a tha função de chamada de retorno do jquery
aqui está o meu script

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

Continue lendo

Tagged , , , , | Deixe um comentário

Get Instance of selfwriten Zend_Controller

I have an Callback-Method like setStatusCallback().
Agora, I want to overgive the Action-Method statusAction() which is placed in my User_IndexController-Class.
Eu sei, that I can overgive a Callback-Method to setStatusCallback() como setStatusCallback(array(&$obj, 'statusAction'));…
Next Probelm ist now, when I write Continue lendo

Tagged , , , | Deixe um comentário

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

Continue lendo

Tagged , , , | Deixe um comentário

Configurar o 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 

Continue lendo

Tagged , , | Deixe um comentário

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.
Atualmente, I found to methods to output URLs to Continue lendo

Tagged , , | Deixe um comentário

PHP Session ExpirationWhen does it refresh?

I’m using Zend with a session expiration set to 1,800 segundo. 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 theContinue lendo

Tagged , , | Deixe um comentário

Zend Server “Cachingof JS and CSS files

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”. Digo “cem cache#8221; because they aren’t, in the true sense, being cached, but rather when I addContinue lendo

Tagged , , , , | Deixe um comentário

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 

Continue lendo

Tagged , | Deixe um comentário

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 couldContinue lendo

Tagged , , , | Deixe um comentário

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. É… Continue lendo

Tagged , | Deixe um comentário
52 páginas