Re: [fw-general] HTTP Client

2007-06-13 Thread Ryan Boyd
On 6/13/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: -- Ian Warner <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 11:51 PM +0100): > Hi > > I want to send the following XMl through HTTP Client as a POST > > > $XMLDATA = ''; > $XMLDATA .= ''; >

Re: [fw-general] HTTP Client

2007-06-13 Thread Matthew Weier O'Phinney
-- Ian Warner <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 11:51 PM +0100): > Hi > > I want to send the following XMl through HTTP Client as a POST > > > $XMLDATA = ''; > $XMLDATA .= ''; > $XMLDATA .= ""; > $XMLDATA .= "test"; >

Re: [fw-general] Has someone gotten the different results when using Luke and Zend_Search?

2007-06-13 Thread partout
Hi,Alexander, I really appreciate you for the feedback. I have tested you script by adding setDefaultSearchField(), but no effect. I could send you a small index to you by email for demonstration, and zip file is attached in another email for your test. I searched with the joined string in the

[fw-general] HTTP Client

2007-06-13 Thread Ian Warner
Hi I want to send the following XMl through HTTP Client as a POST $XMLDATA = ''; $XMLDATA .= ''; $XMLDATA .= ""; $XMLDATA .= "test"; $XMLDATA .= "test"; $XMLDATA .= "test"; $XMLDATA .= ""; $XMLDATA

Re: [fw-general] CLI non-object error in Zend_Search_Lucene

2007-06-13 Thread Alexander Veremyev
Hi Jemima, Index closing and resources cleaning up were a little bit reorganized in ZF v1.0 RC2 (http://framework.zend.com/issues/browse/ZF-1492). Please try it. With best regards, Alexander Veremyev. Jemima wrote: Further to this, I discovered that commenting out the line does cause pr

Re: [fw-general] Examples for Presentation

2007-06-13 Thread Sascha René Leib
Hello Thomas, thank you, very good work! In fact, I must say that the i18n components are IMHO the actual killer feature of ZF. I know that a lot of the people around here use it for MVC, but I don't believe in that. I believe in solid functionality, and these components really provide it. Keep

Re: [fw-general] Has someone gotten the different results when using Luke and Zend_Search?

2007-06-13 Thread Alexander Veremyev
Oh. Just replied in e-mail. I think the problem is in the default search field. Zend_Search searches through all fields by default. - Zend_Search_Lucene::setDefaultSearchField('contents'); ... $hits = $index->find($query); - Should give the same result as Apache (Java) Lucene. I

RE: [fw-general] number of includes and performance

2007-06-13 Thread Bill Karwin
I think that it goes without saying that using a bytecode cache like APC or Zend Optimizer is a good idea for any web app for which performance is important. It's not mandatory -- Zend Framework works fine without it. But typically you can achieve 40% to 100% performance improvement by using a b

Re: [fw-general] number of includes and performance

2007-06-13 Thread Matthew Weier O'Phinney
-- Franck Marcia <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 10:12 PM +0200): > I gave zf a try today and was very surprised by the number of included > files. > > I implemented just basic functions, using mvc and routes and printed > at the end of my bootstrap script the result of get

[fw-general] number of includes and performance

2007-06-13 Thread Franck Marcia
Hi all, I gave zf a try today and was very surprised by the number of included files. I implemented just basic functions, using mvc and routes and printed at the end of my bootstrap script the result of get_included_files(). It was 33 files from zf + 5 files from my app. I didn't even use datab

Re: [fw-general] Examples for Presentation

2007-06-13 Thread Shekar C Reddy
AWESOME!! On 6/12/07, Thomas Weidner <[EMAIL PROTECTED]> wrote: Hy fellows... for the previous mentioned presentations I also made some examples... As examplefiles can not be integrated into slideshare I added them here for your convinience. All are showing I18N features and are for now no

Re: [fw-general] my 2 cents on views in the ZF MVC

2007-06-13 Thread Daniel Freudenberger
Actually it's quite easy to change the directory layout for the views. Just create an instance of the ViewRenderer-helper and call the setViewScriptPathSpec method with your desired file / directory format. -Ursprüngliche Nachricht- Von: Alan T. Miller [mailto:[EMAIL PROTECTED] Gesendet:

Re: [fw-general] my 2 cents on views in the ZF MVC

2007-06-13 Thread Nico Edtinger
It's quite easy to use a different view/template engine. Maurice Fonk has written an example for Smarty: http://naneau.nl/2007/05/31/using- naneau_view_smarty-with-rc1/ [13.06.2007 17:54] Alan T. Miller wrote: Is it just me or is the way in which the Front Controller implements views going

[fw-general] [MAIL] Get mail source as string from mail object

2007-06-13 Thread Toorop - Protecmail
Bonjour, I create a Zend Mail object from mail as file and i need to : - Add/Delete headers (for adding it's OK but i didn't find how to remove header). - Get complet mail source as string from modified mail object. (like Python => email.as_string()) Is it possible directly whith ZF, and if yes

[fw-general] my 2 cents on views in the ZF MVC

2007-06-13 Thread Alan T. Miller
Is it just me or is the way in which the Front Controller implements views going to have to change? I understand maybe there was a reason for making certain assumptions about how people are going to use the MVC framework, but I have been following this list for a few weeks now and it seems ther

Re: [fw-general] Controller modular directories issue.

2007-06-13 Thread Juan Felipe Alvarez Saldarriaga
Juan Felipe Alvarez Saldarriaga wrote: Matthew Weier O'Phinney wrote: -- Juan Felipe Alvarez Saldarriaga <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 09:55 AM -0500): I have this issue using a modular structure in ZFW, v1.0.0-rc2, I add my own modular struc

Re: [fw-general] Controller modular directories issue.

2007-06-13 Thread Juan Felipe Alvarez Saldarriaga
Matthew Weier O'Phinney wrote: -- Juan Felipe Alvarez Saldarriaga <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 09:55 AM -0500): I have this issue using a modular structure in ZFW, v1.0.0-rc2, I add my own modular structure to the front controller: Director

Re: [fw-general] Controller modular directories issue.

2007-06-13 Thread Matthew Weier O'Phinney
-- Juan Felipe Alvarez Saldarriaga <[EMAIL PROTECTED]> wrote (on Wednesday, 13 June 2007, 09:55 AM -0500): > I have this issue using a modular structure in ZFW, v1.0.0-rc2, I add > my own modular structure to the front controller: > > Directories structure: > controllers/ >admin/ >scr

[fw-general] Controller modular directories issue.

2007-06-13 Thread Juan Felipe Alvarez Saldarriaga
Hey :) I have this issue using a modular structure in ZFW, v1.0.0-rc2, I add my own modular structure to the front controller: Directories structure: controllers/ admin/ scripts/ default/ scripts/ IndexController.php Front controller config: $objFrontController =

RE: [fw-general] Zend_DB_Adapter question

2007-06-13 Thread Bill Karwin
It's actually doing one better than quoting. The insert() method uses parameterized queries for most values. So under the covers it's doing this: INSERT INTO tablename (col1, col2, col3, col4) VALUES (?, ?, ?, ?) Then the values are sent as a separate operation. So there's no opportunity for

Re: [fw-general] Unofficial add-on classes repository

2007-06-13 Thread Cristian Bichis
Hello, Yes, i hope will be ready soon that code repository for ZF. Work is in progress now. Amny interesting talks on #zftalk channel, i suggest to join to channel. -- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zflinks.com | www.zftalk.com On Wednesday 13 Ju

RE: [fw-general] Unofficial add-on classes repository

2007-06-13 Thread Bill Karwin
That's a fine idea. We encourage the ZF ecosystem to grow, and wish you Godspeed. However, because the Zend Framework project uses a CLA, all submissions that Zend Framework hosts must be submitted through the proposal process, and under the terms of the CLA. It's very important to keep this sep

[fw-general] RE: RE: Many-to-many Relationship question

2007-06-13 Thread Jorisa
Hm ok I get your point. I'll try to get it working with the select object. One final thing that came to mind was this: protected $_referenceMap = array( 'Like' => array( 'columns' => 'food_id', 'refTableClass' => 'Food', 'refColumns'

Re: [fw-general] Zend_View, Complex View

2007-06-13 Thread fly.captain
Thanks for your answer. I'll wait your ZF proposal code ;-) For the View_Helper, I like this way, I'll adopt it. I don't have yet all of ZF functionalities in my brain :-( I just need to change the default xgettext behavior to generate my .po files. Regards, Fabien (FR) - Original Message

Re: [fw-general] Zend_View, Complex View

2007-06-13 Thread Pádraic Brady
Hey :), Glad you enjoyed the blog series. I had a ball writing it too. I'll just hit one of your questions for now, will get to others when I have more time. When the Wiki is back up, definitely check out the Proposal. I've made some changes and did some refactoring since the earlier blog posts

[fw-general] Zend_DB_Adapter question

2007-06-13 Thread Cristian Bichis
Hello, Anyone knows if insert method of adapters is automatically quoting things form array $bind: Column-value pairs. ? I am trying to avoid SQL Inject attempts... -- Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zflinks.com | www.zftalk.com

Re: [fw-general] Is there a way to disable "echo", "print" inside a method

2007-06-13 Thread depace
thank you guys.. lets c wat can be done.. at the moment the best way i can see is through education... i hope that doesn't end up bring a guerrilla :-)

[fw-general] Wiki is down for the count...

2007-06-13 Thread Pádraic Brady
Just a quick one. The wiki seems to be having a bad morning and isn't responding ;). P. Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com Choose the right car based on your n

Re: [fw-general] Unofficial add-on classes repository

2007-06-13 Thread Graham Anderson
On Wednesday 13 June 2007 06:27:41 back-2-95 wrote: > Hi! > > Could there be some place within Zend Framework sites where users could > submit unofficial classes to use with Zend Framework. I think a couple of people might have been working on somethingn seperately. You could drop by #zftalk on f

[fw-general] Zend_View, Complex View

2007-06-13 Thread fly.captain
Hi, I just start to work with ZF, I'm a beginner, I don't speak english very well, please be indulgent. I would like to thank Pádraic Brady about his different articles about complex Views. I use your Zend extension (ZPS) which uses "Composite Pattern", and "Factory Pattern". http://blog.ast