RE: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-15 Thread Michael Tramontano
The markup surrounding data in an xml document / feed is no different than the markup of an html page. This belongs in the view layer. Of course the code that fetches and possibly massages the raw data belongs in the model, but the idea is to be able to use this data for anything, xml feed,

Re: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-15 Thread Daniel Latter
Of course the code that fetches and possibly massages the raw data belongs in the model This was the point I was getting at, this is why I used the word Generating not Displaying, I am aware XM(ark-up)L is a mark up langauge I was merely pointing out that genertaing ie building not displaying

Re: [fw-general] Zend_Soap_AutoDiscover and document literal

2008-12-15 Thread Benjamin Eberlei
Setting document/literal will be possible with the AutoDiscover component that will be shipped with the ZF 1.8 release in february next year. Until then, you should extend and override the specific functions (setClass, addFunction) to gain the desired functionality. greetings, Benjamin On Sun,

[fw-general] Why isn't this working?

2008-12-15 Thread novastorm
Hello, I'm using the ZF to build an application. I have encountered a problem that I just don't understand. I can't get hold of the host url with the setBaseUrl() method from Zend_Controller_Front. Subsequently, all my links, that are made dynamically with smarty, don't work, because they turn

RE: [fw-general] How long need the CLA

2008-12-15 Thread Wil Sinclair
The person who processes CLA's told me she would get through all pending CLA submissions later today. Sorry, it's been busy around here! ,Wil -Original Message- From: bparise [mailto:bran...@4mostllc.com] Sent: Friday, December 12, 2008 8:57 PM To: fw-general@lists.zend.com Subject:

[fw-general] Merge Zend_Forms

2008-12-15 Thread Simon Corless
Hi, I was reading with interest a post by Matthew about storing Zend Forms in the model. I am now implementing this method after storing the form and model separately and utilising the form for validation. A simple question (I hope!) how do I merge a couple of forms, for instance I have a supply

RE: [fw-general] Why isn't this working?

2008-12-15 Thread Jan Pieper
Why do you think you have to use setBaseUrl()? There is no need to. You have to use setBaseUrl() if your url looks like this: http://tauren.dev/something/anything/news/show By default Zend_Controller_Front will use something as your controller, anything as your action and news=show as request

RE: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-15 Thread A.J. Brown
If both your HTML view and your XML view represent the same data in a particular controller, you can use a generic controller, and switch the view based on some variable. For example, In one of my applications I have routes like this: http://host.com/contrller/action.xml and

[fw-general] Zend_Search_Lucene PHP reimplementation

2008-12-15 Thread monkeyiq
Hi, Sorry if this is the incorrect forum for this question, but there seemed to be a few Lucene questions here. I'm wondering what the primary motivations for reimplementing the Lucene API in PHP were for the Zend_Search_Lucene project? For example, as opposed to using something like

Re: [fw-general] Zend_Search_Lucene PHP reimplementation

2008-12-15 Thread Matthew Weier O'Phinney
-- monkeyiq monke...@users.sourceforge.net wrote (on Monday, 15 December 2008, 05:25 PM -0800): Sorry if this is the incorrect forum for this question, but there seemed to be a few Lucene questions here. I'm wondering what the primary motivations for reimplementing the Lucene API in

[fw-general] enabling dojo in remote loading

2008-12-15 Thread Superbiji »
Hi! I've played around with Zend/Dojo.. (using 1.7.1) i have made a layout using vertical split container and both of content pane is HREF (remote loading) but i can't enable dojo things in remote loaded page.. while opening the page itself works.. is there any other way ? -- Kamus Online -

[fw-general] Unusual bug introduced with 1.7.1 in Zend_File.

2008-12-15 Thread Cameron
if ($form-isValid($formData)) { //the form is valid, finish moving the file about $adapter = new Zend_File_Transfer_Adapter_Http(); if ($adapter-isValid() === false) { print_r($adapter-getMessages());

RE: [fw-general] Why isn't this working?

2008-12-15 Thread novastorm
So I think you do not need to set an base url. You are right, I don't need to then. Let me provide more information. I use the following function to get my Url: public function getUrl($action = null, $controller = null) { // At this point, $url is nothing $url =

[fw-general] Re: enabling dojo in remote loading

2008-12-15 Thread Superbiji »
Hmmm it works by adding these: Zend_Dojo_View_Helper_Dojo::setUseDeclarative(); and $this-dojo()-setDjConfigOption('parseOnLoad',true) I think setusedeclarative should be default option for zend/dojo regards 2008/12/16 Superbiji » superb...@gmail.com: Hi! I've played around with