Re: [fw-general] Zend View vs. Smarty

2009-04-23 Thread Philip Iezzi
I think you can use views all the way. For example: !-- email.phtml -- Dear ?=$this-escape($this-firstName)? Thanks for registrering at ?=$this-siteName?! Cheers, Webmaster And in your controller, you'd do: $this-view-assign('firstName', $firstName); $this-view-assign('siteName',

Re: [fw-general] Zend_Tag - lack of examples

2009-04-23 Thread holografix .
Hi Thank you very much. I'll wait for the final docs and the screencast. Cheers holo 2009/4/23 Ben Scholzen 'DASPRiD' m...@dasprids.de -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh, and just as a footnode: I'll publish a complete feature-covering screencast about Zend_Tag together with

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread lightflowmark
Hi Matthew, Not totally sure what you mean by $testArr is a single item - it's an array, surely, in the same way that array($testArr) is an array? It's just an assoc. array rather than a simple array (if that's the right term - simple array?) In any event, it's actually worse than that -

[fw-general] Zend_Db_Table_Abstract problem fetching db result on nested routine

2009-04-23 Thread Thesee
Hi all, i'm having a problem while fetching a result set on a nested routine. I think it's more simple to read the example: $myFirstTable = new myFirstTable();// extetend Zend_Db_Table_Abstract $mySecondTable = new mySecondTable();// extetend Zend_Db_Table_Abstract the i call a function that

Re: [fw-general] Zend View vs. Smarty

2009-04-23 Thread till
On Thu, Apr 23, 2009 at 11:06 AM, Philip Iezzi li...@iezzi.ch wrote: (...) See the difference? Both are ugly in some way if I want to stick with this template style full of opening and closing tags. But at least, in a Smarty-template we can provide real newlines while they would get cut off

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread Matthew Weier O'Phinney
-- lightflowmark 1...@lightflowinterrupted.com wrote (on Thursday, 23 April 2009, 03:05 AM -0700): Not totally sure what you mean by $testArr is a single item - it's an array, surely, in the same way that array($testArr) is an array? It's just an assoc. array rather than a simple array (if

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread lightflowmark
Is there a bonus to describing the deeper-nested objects as references rather than directly as in this example: http://www.nabble.com/file/p23196054/order_combined.json order_combined.json ? It seems to add obfuscation for deeply-nested arrays. Would code to convert my original $testArr to

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-23 Thread Ralph Schindler
How did you install ZF? Is it on your include_path? -ralph Rob Allen wrote: Hi, I've just downloaded 1.8b1 and am getting this with Zend_Tool: $ zf create project zf-app-test Fatal error: Class 'Zend_Controller_Action' not found in

[fw-general] expected behavior of getValues() on subform

2009-04-23 Thread Guillaume Oriol
I designed a generic CRUD controller doing the following operations for the CREATE action: if ($this-gt;_request-gt;isPost()) { $formData = $this-gt;_request-gt;getPost(); if ($form-gt;isValid($formData)) { $row = $this-gt;_model-gt;createRow();

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-23 Thread Rob Allen
Downloaded the Zip file and placed in /usr/local/ZendFrameworkCli. Then did: alias zf=/usr/local/ZendFrameworkClik/bin/zf.sh I would prefer not to have it on my global include path as we have multiple ZF versions and configure per site. What's most odd is that it worked fine with the alpha

Re: [fw-general] communicating with forwarded action

2009-04-23 Thread antonM
Hi lightflowmark, thanks for your followup. I appreciate it. =^D Let me explain my point in more detail so you can get a better picture of what I'm trying to do. Below is the directory structure of my module/controllers which I will use to help explain the following details of the project.

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread Matthew Weier O'Phinney
-- lightflowmark 1...@lightflowinterrupted.com wrote (on Thursday, 23 April 2009, 05:39 AM -0700): Is there a bonus to describing the deeper-nested objects as references rather than directly as in this example: http://www.nabble.com/file/p23196054/order_combined.json order_combined.json ?

Re: [fw-general] communicating with forwarded action

2009-04-23 Thread lightflowmark
Fair enough :-) In my own app, I change the layout on a per-controller basis, using a front-controller plugin, hooking into dispatchLoopStartup(). (You could also choose a layout on a per-module basis, a per-action basis, or any combination of these). If I've understood correctly, this is

[fw-general] Zend_Payment feedback

2009-04-23 Thread Vadim Gabriel
Hey, I have been working on a Zend_Payment component @link http://framework.zend.com/wiki/display/ZFPROP/Zend_Payment And there were a lot of good feedback, Since this is something that a lot will was wondering what you guys think about the following: 1. Should the gateways use the zend http

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Tim Fountain
On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote: 1. Should the gateways use the zend http component and it's adapters such as the Curl to process the payments or use the PHP Curl extension as is? Definitely use Zend_Http. If an application has already setup an instance of

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Matthew Weier O'Phinney
-- Vadim Gabriel vadim...@gmail.com wrote (on Thursday, 23 April 2009, 05:45 PM +0300): I have been working on a Zend_Payment component @link http://framework.zend.com /wiki/display/ZFPROP/Zend_Payment And there were a lot of good feedback, Since this is something that a lot will was

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Vadim Gabriel
On Thu, Apr 23, 2009 at 6:03 PM, Tim Fountain t...@tfountain.co.uk wrote: On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote: 1. Should the gateways use the zend http component and it's adapters such as the Curl to process the payments or use the PHP Curl extension as is? Definitely

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Vadim Gabriel
On Thu, Apr 23, 2009 at 6:07 PM, Matthew Weier O'Phinney matt...@zend.comwrote: -- Vadim Gabriel vadim...@gmail.com wrote (on Thursday, 23 April 2009, 05:45 PM +0300): I have been working on a Zend_Payment component @link http://framework.zend.com /wiki/display/ZFPROP/Zend_Payment And

[fw-general] Dojo dijit undefined error

2009-04-23 Thread Kostyantyn Shakhov
I’m tying the code below. When the test() JS function is called by an onchange event everything works as intended and dijit.byId is defined but I get the error “dijit is undefined” for “onload”. What did I miss or do wrong? Many thanks for advices in advance. In the View: ?php

Re: [fw-general][solved] setting validator error message in a config file

2009-04-23 Thread Mike Wright
Replying to self. I'm trying to define my forms within config.ini files and have made it part way. The part that I can't figure out is how to set the error message template or even the error message within those files. I put this in myForm.ini myForm.elements.verb.type = text

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Matthew Weier O'Phinney
-- Vadim Gabriel vadim...@gmail.com wrote (on Thursday, 23 April 2009, 06:24 PM +0300): On Thu, Apr 23, 2009 at 6:07 PM, Matthew Weier O'Phinney matt...@zend.com wrote: -- Vadim Gabriel vadim...@gmail.com wrote (on Thursday, 23 April 2009, 05:45 PM +0300): I have been working

Re: [fw-general] communicating with forwarded action

2009-04-23 Thread antonM
Great! Thanks lightflowmark. You got my point and I got yours too. I think the preDispatch method would work for me. I could change the predispatch module/controller/action to the action that will change the layout before the forwarded action is called. In this way, its not anymore necessary to

Re: [fw-general] Zend_Tool failure in 1.8b1

2009-04-23 Thread Ralph Schindler
hmm, well in that case, do this: export ZF_PATH=/usr/local/ZendFrameworkCli/library basically you'd be setting up an environment varaible to tell just the tool what the include_path should look like. let me know if that helps.. if it does, I will have to consider the use case of

Re: [fw-general] Zend_Application Bootstrapping

2009-04-23 Thread Steve Reed
Matthew Weier O'Phinney-3 wrote: Zend_Tool generates a public/index.php file, an application/Bootstrap.php file, and an application/configs/application.ini file. public/index.php pulls in Zend_Application, and passes it the path to the configuration file, which indicates the include paths

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Vadim Gabriel
Hey, Yea. I agree. I will complete the Tranzila gateway and move forward to the Paypal gateway as it will be probably the most usable. Is there anything else i should add or edit a current functionality? Or doing something i missed since this is my second zend component? Thanks. On Thu, Apr

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Tim Fountain
On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote: On Thu, Apr 23, 2009 at 6:03 PM, Tim Fountain t...@tfountain.co.ukwrote: I would also strongly recommend that you look into 3-D Secure authorisation and work out how you would build support for this into the component. It would be very

Re: [fw-general] Zend_Application Bootstrapping

2009-04-23 Thread Tim Fountain
2009/4/23 Matthew Weier O'Phinney matt...@zend.com There's an assumption that ZF is already on your vhost's include_path somewhere. Is this something that has changed recently? I know Zend_Tool originally copied the library/Zend folder into 'library' when a new project was created, but it no

Re: [fw-general] expected behavior of getValues() on subform

2009-04-23 Thread Thomas VEQUAUD
Damn, I met this issue 2 months ago and I was persuaded it was a regular behavior of subforms... On Thu, Apr 23, 2009 at 4:32 PM, Matthew Weier O'Phinney matt...@zend.comwrote: -- Guillaume Oriol gor...@technema.fr wrote (on Thursday, 23 April 2009, 07:14 AM -0700): I designed a generic

Re: [fw-general] Encoding issue UTF8

2009-04-23 Thread Thomas VEQUAUD
I didn't read carefully your email but I currently use UTF-8 encoding/charset on a web project with an oracle database. So, here is a sample of my own code where APP_ENCODING = 'utf-8' and APP_DB = 'database'. Hope you'll find your answer within it... *config.ini* [database] database.adapter =

Re: [fw-general] Zend_Payment feedback

2009-04-23 Thread Vadim Gabriel
I see. Well for the tranzila code snippet you could take a look at http://www.vadimg.co.il/2009/03/30/%D7%97%D7%99%D7%95%D7%91-%D7%9B%D7%A8%D7%98%D7%99%D7%A1-%D7%90%D7%A9%D7%A8%D7%90%D7%99-%D7%91%D7%90%D7%9E%D7%A6%D7%A2%D7%95%D7%AA-%D7%98%D7%A8%D7%A0%D7%96%D7%99%D7%9C%D7%94/ I wrote a class that

Re: [fw-general] MVC - Model in View

2009-04-23 Thread Thomas VEQUAUD
You short-circuit the MVC model offered by Zend Framework whereas you should use a Zend_Form for your HTML form element in a controller and populate it with your model, then you affect it to the view. A really quick example : *MyForm.php* function init() { $faculty = new

[fw-general] Re: expected behavior of getValues() on subform

2009-04-23 Thread Fire Eye'd Boy
Thomas VEQUAUD schreef: Damn, I met this issue 2 months ago and I was persuaded it was a regular behavior of subforms... On Thu, Apr 23, 2009 at 4:32 PM, Matthew Weier O'Phinney matt...@zend.com mailto:matt...@zend.com wrote: -- Guillaume Oriol gor...@technema.fr

Re: [fw-general] jotBug on IRC

2009-04-23 Thread Matthew Weier O'Phinney
-- Robert Castley robert.cast...@gmail.com wrote (on Thursday, 23 April 2009, 08:18 PM +0100): You can join in all the jotBug fun on IRC - irc.freenode.net #jotbug We are having some issues with 1.8 :-) so sticking with 1.7.8 for now :-) What issues are you having? -- Matthew Weier O'Phinney

Re: [fw-general] jotBug on IRC

2009-04-23 Thread Robert Castley
None now, human error :-) Sorry! - Robert 2009/4/23 Matthew Weier O'Phinney matt...@zend.com: -- Robert Castley robert.cast...@gmail.com wrote (on Thursday, 23 April 2009, 08:18 PM +0100): You can join in all the jotBug fun on IRC - irc.freenode.net #jotbug We are having some issues with

Re: [fw-general] jotBug on IRC

2009-04-23 Thread Robert Castley
http://jotBug.org now running 1.8.0b1 :-) - Robert 2009/4/23 Robert Castley robert.cast...@gmail.com: None now, human error :-) Sorry! - Robert 2009/4/23 Matthew Weier O'Phinney matt...@zend.com: -- Robert Castley robert.cast...@gmail.com wrote (on Thursday, 23 April 2009, 08:18 PM

Re: [fw-general] Re: expected behavior of getValues() on subform

2009-04-23 Thread Matthew Weier O'Phinney
-- Fire Eye'd Boy fire-eyed-...@hotmail.com wrote (on Thursday, 23 April 2009, 10:03 PM +0200): Thomas VEQUAUD schreef: Damn, I met this issue 2 months ago and I was persuaded it was a regular behavior of subforms... On Thu, Apr 23, 2009 at 4:32 PM, Matthew Weier O'Phinney

Re: [fw-general] Re: expected behavior of getValues() on subform

2009-04-23 Thread Thomas VEQUAUD
Hmm well ok... I followed a Matthew tutorial on devzone and I think I did the same with my subforms 2009/4/23 Fire Eye'd Boy fire-eyed-...@hotmail.com Thomas VEQUAUD schreef: Damn, I met this issue 2 months ago and I was persuaded it was a regular behavior of subforms... On Thu,

Re: [fw-general] Zend_Application Bootstrapping

2009-04-23 Thread Steve Reed
Matthew Weier O'Phinney-3 wrote: -- Steve Reed imstevier...@hotmail.com wrote (on Thursday, 23 April 2009, 09:16 AM -0700): Matthew Weier O'Phinney-3 wrote: Zend_Tool generates a public/index.php file, an application/Bootstrap.php file, and an application/configs/application.ini

Re: [fw-general] jotBug on IRC

2009-04-23 Thread Matthew Weier O'Phinney
-- Robert Castley robert.cast...@gmail.com wrote (on Thursday, 23 April 2009, 09:20 PM +0100): http://jotBug.org now running 1.8.0b1 :-) Awesome! 2009/4/23 Robert Castley robert.cast...@gmail.com : None now, human error :-) Sorry! - Robert 2009/4/23 Matthew Weier O'Phinney

Re: [fw-general] Zend_Application Bootstrapping

2009-04-23 Thread Matthew Weier O'Phinney
-- Steve Reed imstevier...@hotmail.com wrote (on Thursday, 23 April 2009, 02:39 PM -0700): Matthew Weier O'Phinney-3 wrote: -- Steve Reed imstevier...@hotmail.com wrote (on Thursday, 23 April 2009, 09:16 AM -0700): Matthew Weier O'Phinney-3 wrote: Zend_Tool generates a

[fw-general] Zend_Tag_Cloud screencast

2009-04-23 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I've just release my Zend_Tag_Cloud screencast, take a look at leave a comment if you like. http://www.dasprids.de/blog/2009/04/24/zend-tag-cloud-screencast Regards, Ben - -- ... : ___ _ ___ ___ ___ _

Re: [fw-general] Zend_Application Bootstrapping

2009-04-23 Thread Rob Allen
On 23 Apr 2009, at 23:42, Matthew Weier O'Phinney wrote: That said, we're seeing some momentum by shared hosts as well as xAMP stacks to include ZF in the default include_path (Zend Server falls in this category as well). In such cases, you may be able to bootstrap your ZF application and