Archivo de la etiqueta: Zend-marco

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
aquí está mi script

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

Sigue leyendo

Etiquetado , , , , | Deja un comentario

Get Instance of selfwriten Zend_Controller

I have an Callback-Method like setStatusCallback().
Ahora, I want to overgive the Action-Method statusAction() which is placed in my User_IndexController-Class.
Sé que, that I can overgive a Callback-Method to setStatusCallback() como setStatusCallback(array(&$obj, 'statusAction'));…
Next Probelm ist now, when I write Sigue leyendo

Etiquetado , , , | Deja un comentario

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

Sigue leyendo

Etiquetado , , , | Deja un comentario

La creación de 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 

Sigue leyendo

Etiquetado , , | Deja un comentario

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.
En la actualidad, I found to methods to output URLs to Sigue leyendo

Etiquetado , , | Deja un comentario

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 theSigue leyendo

Etiquetado , , | Deja un comentario

Zend Server "Caché” de JS y 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”. Yo digo ̶en cachéed” because they aren’t, in the true sense, being cached, but rather when I addSigue leyendo

Etiquetado , , , , | Deja un comentario

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 

Sigue leyendo

Etiquetado , | Deja un comentario

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 couldSigue leyendo

Etiquetado , , , | Deja un comentario

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. ¿Es… Sigue leyendo

Etiquetado , | Deja un comentario
52 páginas