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
voici mon script

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

Continuer la lecture

Tagged , , , , | Laisser un commentaire

Get Instance of selfwriten Zend_Controller

I have an Callback-Method like setStatusCallback().
Maintenant, I want to overgive the Action-Method statusAction() which is placed in my User_IndexController-Class.
Je sais que, that I can overgive a Callback-Method to setStatusCallback() comme setStatusCallback(array(&$obj, 'statusAction'));…
Next Probelm ist now, when I write Continuer la lecture

Tagged , , , | Laisser un commentaire

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

Continuer la lecture

Tagged , , , | Laisser un commentaire

Mise en place zend framework

J'essaie de mettre en place le Zend Framework sur mon netbeans.When je lance l'application, je reçois le message suivant:

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

et l'erreur suivant:

Fatal 

Continuer la lecture

Tagged , , | Laisser un commentaire

Comment obtenir l'image réelle à partir de Picasa à l'aide Gdata

J'essaie de sortir l'URL réelle de l'image haute résolution d'un photoentry. Une entrée de photo Zend_Gdata_Photos_PhotoEntry… de l'Gdata contient les données de la photo stockées dans Picasa.
Actuellement, I found to methods to output URLs to Continuer la lecture

Tagged , , | Laisser un commentaire

PHP Session ExpirationWhen does it refresh?

I’m using Zend with a session expiration set to 1,800 secondes. 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 theContinuer la lecture

Tagged , , | Laisser un commentaire

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”. Je dis “mis en cached” because they aren’t, in the true sense, being cached, but rather when I addContinuer la lecture

Tagged , , , , | Laisser un commentaire

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 

Continuer la lecture

Tagged , | Laisser un commentaire

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 couldContinuer la lecture

Tagged , , , | Laisser un commentaire

Est-il sécuritaire de développer pour les anciennes versions de 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. Is itContinuer la lecture

Tagged , | Laisser un commentaire
52 pages