[fw-general] GData Warning messages

2009-06-29 Thread Deanna Bonds
When using gdata routines I am getting a series of warning messages for include files that don't exist. I don't think they are supposed to exist but it is the gdata framework testing to see if it does before it checks a different base class path. Is there any way to turn these off. I can tur

Re: [fw-general] Problem with raw image output

2009-06-17 Thread Deanna Bonds
unlex wrote: outside ZF. But I've tried to pass null and this had no effect. There is no matter what we pass in this case - '' or null. It works fine I use a view to output an image. After creating it with gd routines, I turn off layouts and set view->img This is my view code header('C

Re: [fw-general] Placeholder view helpers in partials don't work for layouts?

2009-06-16 Thread Deanna Bonds
dmitrybelyakov wrote: The Layout is the actually the template of my webpages with a main content area that is controlled by module controllers. Besides the main content area it may have some other included areas which may be simple included views, or rather complex like partials or other custom v

Re: [fw-general] Placeholder view helpers in partials don't work for layouts?

2009-06-15 Thread Deanna Bonds
dmitrybelyakov wrote: Hi, Today i came across an issue that i couldn’t find a nice solution for. In short it stated in the subject, placeholder view helpers like headScript() don’t work for partials (or any custom view helpers) when in layout context. Like in this example: headLink();

Re: [fw-general] Repeating Messages

2009-05-29 Thread Deanna Bonds
Matthew Weier O'Phinney wrote:- I can't say that I've seen any repeated messages... and they're not apparently showing up in Nabble. Is it possible it's something on your mail server? Don't see them on the mail server, but will rebuild the index of the mail folder locally to see if that help

[fw-general] Repeating Messages

2009-05-29 Thread Deanna Bonds
I wrote a response to a message a few days ago and I have received my response along with the original message and someone else's response back at least 20 times. The message subject is 'Server issue or Code? Domain to ZF module masking...?' Is anyone else getting these? The original message

[fw-general] Re: Server issue or Code? Domain to ZF module masking...?

2009-05-25 Thread Deanna Bonds
drj201 wrote: I have a Zend Framework app and I want to mask domains to modules as follows... http://www.domain1.com => http://server/default http://www.domain2.com => http://server/module2 http://www.domain3.com => http://server/module3 As mentioned my application uses ZF and a MVC architectur

Re: [fw-general] Re: Does Zend_Json_Expr work?

2009-05-20 Thread Deanna Bonds
Deanna Bonds wrote: If it doesn't work through the context switcher, I might can set up a callback on the json context and chain the existing method and set up a post processor for it. Then in the code have something like array( 'handler' => array('somewildtagna

Re: [fw-general] [OT] General design question

2009-05-20 Thread Deanna Bonds
fire-eyed-boy wrote: Deanna Bonds-2 wrote: I would use the join method. Calling out to the database is an expensive operation, so I try to minimize the number of calls. Also, try not to think in terms of loops when you consider data, it is more based in set theory. Set theory is

Re: [fw-general] Keep me logged in + Password reset for login forms

2009-05-20 Thread Deanna Bonds
bytte wrote: I've created a basic login system using Zend_Auth and Zend_Acl and now I'm wondering what's the best way to expand my login form with these two extra functionalities: - "keep me logged in on this computer" feature - password reset if visitor has forgotten password These two thing

Re: [fw-general] [OT] General design question

2009-05-19 Thread Deanna Bonds
I would use the join method. Calling out to the database is an expensive operation, so I try to minimize the number of calls. Also, try not to think in terms of loops when you consider data, it is more based in set theory. Or do you rather execute one large SQL statement in the UserManager mo

Re: [fw-general] Re: Does Zend_Json_Expr work?

2009-05-19 Thread Deanna Bonds
Deanna Bonds wrote: Benjamin Eberlei wrote: Have you enabled the enableJsonExprFinder option? http://framework.zend.com/manual/en/zend.json.advanced.html#zend.json.advanced.expr you have to add the option: $jsonObjectWithExpression = Zend_Json::encode( $data, false, array

[fw-general] Re: Does Zend_Json_Expr work?

2009-05-19 Thread Deanna Bonds
inder' => true) ); How would one do that using the context switcher? I don't call Zend_Json::encode directly, the context switcher does. On Mon, 18 May 2009 23:44:32 -0500, Deanna Bonds wrote: I tried enabling Zend_Json::$useBuiltinEncoderDecoder = true; and using json

[fw-general] Does Zend_Json_Expr work?

2009-05-18 Thread Deanna Bonds
I tried enabling Zend_Json::$useBuiltinEncoderDecoder = true; and using json context switching. When ever I try to send an Zend_Json_Expr('js code here'); it comes out "handler":{"__className":"Zend_Json_Expr"} in the output. I have tried disabling multibyte utf-8 settings. I tried m

Re: [fw-general] Speed up bootstrap process]

2009-05-14 Thread Deanna Bonds
Matthew Weier O'Phinney wrote: Push their initialization into a different location. For instance, you could create one or more front controller plugins that, based on the module or controller detected, initialize the session, or the database, or authentication session, or acls -- and pull config

[fw-general] Re: Implement ExtJs with ZF

2009-05-13 Thread Deanna Bonds
I am working on ZendX_ExtJS interface. It doesn't have an official project for it yet, but I will be doing it soon (been busy with a paying project atm). It will be for ExtJS and not ExtJS Core (which is more for decorating existing sites with javascript and ajax). If you have any particular u

[fw-general] Re: ZendX_ExtJS

2009-03-10 Thread Deanna Bonds
orm I would call $form->toJson(); to create the config to send back as ajax. But the form could still be used in a normal view as all forms are. Does this sound okay? Deanna Bonds wrote: Trying to finish up the design and prototype of the action controller helper. The current

[fw-general] Re: ZendX_ExtJS

2009-03-08 Thread Deanna Bonds
Trying to finish up the design and prototype of the action controller helper. The current name is enableAjaxExtJS, and you can pass it options in the direct call. Options are a different context key, either a list of methods to enable, or a list of methods to exclude (the default is to enab

[fw-general] Re: Modules won't load but the default one

2009-03-04 Thread Deanna Bonds
I think you need this for every module. Replace MODULENAME with the name of your module. $frontcontroller->_front->addControllerDirectory($this->_root . '/application/modules/MODULENAME/controllers', 'MODULENAME');

[fw-general] Re: Zend_ExtJS

2009-03-04 Thread Deanna Bonds
x27;t required, it just makes things easier client side. I also am looking to work with the ExtJS community doing this to make sure I cover most of the use cases, I can ask about the licensing there also - just to be safe. A few questions about some points Matthew Weier O'Phinney wrote:

[fw-general] Zend_ExtJS

2009-03-03 Thread Deanna Bonds
I had started this concept a while ago but never had time. I want to create a zend framework class set for ExtJS. I will use the model of dojo as far as it applies, but it and extjs have different scopes. dojo is more of a way to make your pages dynamic and ajaxie, extjs is more of an web

Re: [fw-general] Where to put my front controller plugin?

2009-03-03 Thread Deanna Bonds
Dan Ballance wrote: Thanks, I'll give that a try. Do I then need to manually include that myself or will the framework automagically detect it there? The bootstrap file (also in the application directory) uses this code to register the Initializer require_once 'Initializer.php'; $frontCon

[fw-general] Re: Where to put my front controller plugin?

2009-03-03 Thread Deanna Bonds
Dan Ballance wrote: Hiya folks,hopefully this will be a simple one. Have been googling like nuts but can't work out where I should place the actual file containing a front controller plugin in a default installation? Heeelp The Initializer front controller plug-in is in the applications d

[fw-general] Re: [fw-mvc] Application structure

2009-02-27 Thread Deanna Bonds
ation/modules/forums/models' . PATH_SEPARATOR . get_include_path()); define('PHPBB_ROOT_PATH', APP_PATH . 'application/modules/forums/models/'); Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer')->setNoRender(true); } Deanna B

Re: [fw-general] Re: [fw-mvc] Application structure

2009-02-27 Thread Deanna Bonds
Forgot a piece. I said I need to turn off view rendering for the forums. So in the Initializer preDispatch I have function preDispatch(Zend_Controller_Request_Abstract $request) { if($request->getModuleName() == 'forums'){ $this->_front->setParam('noViewRenderer', $reques

[fw-general] Re: [fw-mvc] Application structure

2009-02-27 Thread Deanna Bonds
vadim gavrilov wrote: Nice, Any way of having the structure or if possible the code. I am just looking on what kind of structure and the way other developers use. And if that something better/convenient then what i use then i would like to adopt new ideas. The code isn't finished, but I can

[fw-general] Re: [fw-mvc] Application structure

2009-02-27 Thread Deanna Bonds
vadim gavrilov wrote: Thanks for that. Did anyone made something that uses Modules? Not just controllers in a single directory? I am working on one that uses the new ZF structure that has modules. In the modules directory there are 3 modules. One is the marketing part of the application,

Re: [fw-general] Zend Framework and Dojo]

2008-05-21 Thread Deanna Bonds
I have plans on creating an ExtJS version of Zend_Form. I have a need to get it out soon so will be working on it this week. Do you have a specific interface planned out. My plan was to layout the form as a Zend_Form, add any extra extjs config that might be needed. And let the extjs form