[fw-general] How to be removed from these mailing lists?

2006-10-12 Thread Alexander Hanhikoski

Dear Zend framework community,

How can I remove my e-mail address from the mailing lists? There should 
be clear how-tos about this on the website!


Br,
-Alex


Re: [fw-general] How to be removed from these mailing lists?

2006-10-12 Thread Matthias Zitzmann

Take a look at the mail headers, the List-unsubscribe-tag contains the
email-address, to which you have to send a mail in case to remove from
the list - it's

[EMAIL PROTECTED]


Greets

Matthias


Alexander Hanhikoski wrote:

Dear Zend framework community,

How can I remove my e-mail address from the mailing lists? There 
should be clear how-tos about this on the website!


Br,
-Alex




Re: [fw-general] Controller/Action Name

2006-10-12 Thread Lee Saferite
Matthias, 

I agree that 'controller' and 'action' do not belong in the parameter
list. And they are not always there even. If you use the default
router (well for me at least) you do not get those parameters. With
the rewrite router you do. and with the MJS stuff, you get them as
well.
Renan,With the Zend Framework default router, the URL format is:  /controllerName/actionName/paramName/paramValue/paramName/paramValueAnd you use: $this-_getParam('paramName'); or
 $this-_getParam('paramName', 'defaultValue');
If you do not specify a default value, it will return null if the parameter is not found.Example:/news/view/article/11226You could call: $this-_getParam('article', '0') and get back '11226' (keep in mind it is a string at this point)
If you want to pass just values after the controller/action, you will need something a bit more advanced that will let you specify how routes are matched.Hope that helps. Lee
On 10/12/06, Matthias Zitzmann [EMAIL PROTECTED] wrote:
Oh, I overread the paragraph with the alternate methods($this-_action-get...Name()).I haven't tested it yet, but this seems to be more efficient. In thiscase, controller and action should be removed from *Param* methods.
MatthiasMatthias Zitzmann wrote: I think, it isn't the best way, there should be a set of separate methods. In this way, you aren't able to define a parameter called action, this variable is overwritten by the controller action.
 However, I think that this is currently the best way because it works with user defined routes, too. With _getAllParams() you will get an associative array containing all paramters. If you only want to get one specific parameter, try to use
 _getParam('PARAMNAME'), e.g. $this-_getParam('controller'). Matthias Renan Gonçalves wrote: Yes, this method is functionaly. ehehehe
 In the manual don't say that things :(. And now, How I can get additionals param ? I.E: /controllerName/actionName/addtionalvalue1/addtionalvalue2 Thanks for all.
 (Please, give me a good website with Zend Framework Tutorial's) 2006/10/11, Lee Saferite [EMAIL PROTECTED]:I currently use:
 $this-_action-getControllerName() $this-_action-getActionName() Not sure if this is the best way. Lee
 On 10/11/06, Matthias Zitzmann [EMAIL PROTECTED] wrote:  Try to use $this-_getParam('controller') and $this-_getParam('action')
  for that.MatthiasRenan Gonçalves wrote:   How I can get Controller and Action name ?
 Thank's 


Re: [fw-general] RE: Help with WSDL Schema Validation

2006-10-12 Thread Davey Shafik

Martel,

Thank you so much for this, that was exactly the problem. :)

- Davey

On Oct 12, 2006, at 4:20 AM, Martel Valgoerad wrote:


Davey Shafik wrote:

Can anyone offer some assistance here? I'm starting to think that  
all WSDL's deviate from the schema, because other than the obvious
differences (different/more methods) the Paypal and Google WSDLs  
are identical.


Have you actually tried to validate the Google wsdl with this  
schema? What's the result?


If the result is positive try to strip your wsdl to the only one  
erroneus operation line. Let's find out if it's the one under  
portType or the ones under binding.


Ok, forget that. I have copied and pasted the code to the Eclipse  
wsdl editor. It seems it doesn't like the soap:operation elements  
under binding operations. These two:


soap:operation soapAction=http://dummy.php#testFunc2/
soap:operation soapAction=http://dummy.php#testFunc3/

Move them to the front and place them as the first element under  
the bindings. Before inputs and outputs.



- Davye


--
Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | http:// 
aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 
=-=-=-=-=-=
Generosity is giving more than you can, and pride is taking less  
than you

need. -- Kahlil Gibran





Re: [fw-general] ZF Shirts

2006-10-12 Thread Chris Hartjes

On 10/12/06, Richard Thomas [EMAIL PROTECTED] wrote:

http://benramsey.com/archives/phpc-t-shirts/

Someone should do the same for us ;)




CafePress would let you set something up like that pretty quickly...

--
Chris Hartjes

The greatest inefficiencies come from solving problems you will never have.
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard


Re: [fw-general] ZF Shirts

2006-10-12 Thread Jan Pieper
Yeah this would be cool :)

 Original-Nachricht 
Datum: Thu, 12 Oct 2006 10:21:43 -0500
Von: Richard Thomas [EMAIL PROTECTED]
An: Zend Framework General fw-general@lists.zend.com
Betreff: [fw-general] ZF Shirts

 http://benramsey.com/archives/phpc-t-shirts/
 
 Someone should do the same for us ;)
 
 
 -- 
 Richard Thomas - CEO
 Cyberlot Technologies Group Inc.
 507.398.4124 - Voice

-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl


Re: [fw-general] ZF Shirts

2006-10-12 Thread Richard Thomas

Muuhahaha

http://www.cafepress.com/cyberlot

Image didn't really scale but It does make for a funny t-shirt

Course be better if Zend did something a little more offical like ;)


Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Chris Hartjes wrote:

On 10/12/06, Richard Thomas [EMAIL PROTECTED] wrote:

http://benramsey.com/archives/phpc-t-shirts/

Someone should do the same for us ;)




CafePress would let you set something up like that pretty quickly...



Re: [fw-general] ZF Shirts

2006-10-12 Thread Andries Seutens

Perhaps with a text at the bottom that says:

Zend Framework(er)

Best regards,

Andries Seutens
Belgium
http://andries.systray.be

Richard Thomas schreef:

Muuhahaha

http://www.cafepress.com/cyberlot

Image didn't really scale but It does make for a funny t-shirt

Course be better if Zend did something a little more offical like ;)


Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Chris Hartjes wrote:

On 10/12/06, Richard Thomas [EMAIL PROTECTED] wrote:

http://benramsey.com/archives/phpc-t-shirts/

Someone should do the same for us ;)




CafePress would let you set something up like that pretty quickly...







Re: [fw-general] RE: Help with WSDL Schema Validation

2006-10-12 Thread Richard Thomas

Sweet, I hadn't looked at the Zend classes yet.

I don't normally use WDSL, most of the soap stuff I do is internal, and 
most of the time classes can auto discover, I only recently had to start 
using WDSL when dealing with a person using Foxpro puke to connect to a 
service, it requires a wdsl for any soap action.


Does the Zend class use the Soap extension if its available for speed?

Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Davey Shafik wrote:

pfft :P

Zend_Soap_AutoDiscover works like this:

$wsdl = new Zend_Soap_AutoDiscover();

$wsdl-setClass('foo'); // add all public, non-magic methods
// and/or
$wsdl-addFunction('bar'); // can be called multiple times to add more 
functions

// and/or
$wsdl-addFunction(array('bat', 'baz'); // or add an array of functions

$wsdl-handle();


so, three lines to expose an entire class :)

- Davey

- Davey

On Oct 12, 2006, at 11:25 AM, Richard Thomas wrote:

I find myself using PEAR's disco-getWSDL method to build my WSDL, 
then using php's build in soap extension to handle it all.



Here is a short example.

?php
echo 'NOT NEEDED AT THIS TIME';
exit();
require_once('../../config.php');
require_once('SOAP/Server.php');
require_once('SOAP/Disco.php');
require_once('soap_handler.php');

/**

* Initialize the SOAP server
*/
$server = new SOAP_Server();


// initialize the pathfinder class
$webservice = new Soap_Handler($db);


// set the path finder class as default responder for the WSDL class
$server-addObjectMap($webservice,'http://schemas.xmlsoap.org/soap/envelope/'); 



$disco = new SOAP_DISCO_Server($server,'Beta');
header(Content-type: text/xml);
$wdsl =  $disco-getWSDL();
$wdsl = str_replace('localhostwdslmaker.php', 
'soap.soapsite.com/soap/', $wdsl);

echo $wdsl;





Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Davey Shafik wrote:

Martel,
Thank you so much for this, that was exactly the problem. :)
- Davey
On Oct 12, 2006, at 4:20 AM, Martel Valgoerad wrote:

Davey Shafik wrote:

Can anyone offer some assistance here? I'm starting to think that 
all WSDL's deviate from the schema, because other than the obvious
differences (different/more methods) the Paypal and Google WSDLs 
are identical.


Have you actually tried to validate the Google wsdl with this 
schema? What's the result?


If the result is positive try to strip your wsdl to the only one 
erroneus operation line. Let's find out if it's the one under 
portType or the ones under binding.


Ok, forget that. I have copied and pasted the code to the Eclipse 
wsdl editor. It seems it doesn't like the soap:operation elements 
under binding operations. These two:


soap:operation soapAction=http://dummy.php#testFunc2/
soap:operation soapAction=http://dummy.php#testFunc3/

Move them to the front and place them as the first element under the 
bindings. Before inputs and outputs.



- Davye


--Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 

Generosity is giving more than you can, and pride is taking less 
than you

need. -- Kahlil Gibran







Re: [fw-general] ZF Shirts

2006-10-12 Thread Chris Shiflett
Richard Thomas wrote:
 The logo says Powered by Zend Framework what more do you need

I Power the Zend Framework.

Chris


Re: [fw-general] ZF Shirts

2006-10-12 Thread Mat Scales

Ziff It!
Richard Thomas wrote:

The logo says Powered by Zend Framework what more do you need ;)
Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Andries Seutens wrote:

Perhaps with a text at the bottom that says:

Zend Framework(er)

Best regards,

Andries Seutens
Belgium
http://andries.systray.be

Richard Thomas schreef:

Muuhahaha

http://www.cafepress.com/cyberlot

Image didn't really scale but It does make for a funny t-shirt

Course be better if Zend did something a little more offical like ;)


Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Chris Hartjes wrote:

On 10/12/06, Richard Thomas [EMAIL PROTECTED] wrote:

http://benramsey.com/archives/phpc-t-shirts/

Someone should do the same for us ;)




CafePress would let you set something up like that pretty quickly...









Re: [fw-general] RE: Help with WSDL Schema Validation

2006-10-12 Thread Richard Thomas

Sweet thanks, another item I can move over to ZF ;0)

Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Davey Shafik wrote:
It /only/ uses the soap extension, there is no userland implementation 
for the actual soap stuff.


- Davey


On Oct 12, 2006, at 12:28 PM, Richard Thomas wrote:


Sweet, I hadn't looked at the Zend classes yet.

I don't normally use WDSL, most of the soap stuff I do is internal, 
and most of the time classes can auto discover, I only recently had to 
start using WDSL when dealing with a person using Foxpro puke to 
connect to a service, it requires a wdsl for any soap action.


Does the Zend class use the Soap extension if its available for speed?

Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Davey Shafik wrote:

pfft :P
Zend_Soap_AutoDiscover works like this:
$wsdl = new Zend_Soap_AutoDiscover();
$wsdl-setClass('foo'); // add all public, non-magic methods
// and/or
$wsdl-addFunction('bar'); // can be called multiple times to add 
more functions

// and/or
$wsdl-addFunction(array('bat', 'baz'); // or add an array of functions
$wsdl-handle();
so, three lines to expose an entire class :)
- Davey
- Davey
On Oct 12, 2006, at 11:25 AM, Richard Thomas wrote:
I find myself using PEAR's disco-getWSDL method to build my WSDL, 
then using php's build in soap extension to handle it all.



Here is a short example.

?php
echo 'NOT NEEDED AT THIS TIME';
exit();
require_once('../../config.php');
require_once('SOAP/Server.php');
require_once('SOAP/Disco.php');
require_once('soap_handler.php');

/**

* Initialize the SOAP server
*/
$server = new SOAP_Server();


// initialize the pathfinder class
$webservice = new Soap_Handler($db);


// set the path finder class as default responder for the WSDL class
$server-addObjectMap($webservice,'http://schemas.xmlsoap.org/soap/envelope/'); 



$disco = new SOAP_DISCO_Server($server,'Beta');
header(Content-type: text/xml);
$wdsl =  $disco-getWSDL();
$wdsl = str_replace('localhostwdslmaker.php', 
'soap.soapsite.com/soap/', $wdsl);

echo $wdsl;





Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Davey Shafik wrote:

Martel,
Thank you so much for this, that was exactly the problem. :)
- Davey
On Oct 12, 2006, at 4:20 AM, Martel Valgoerad wrote:

Davey Shafik wrote:

Can anyone offer some assistance here? I'm starting to think that 
all WSDL's deviate from the schema, because other than the obvious
differences (different/more methods) the Paypal and Google WSDLs 
are identical.


Have you actually tried to validate the Google wsdl with this 
schema? What's the result?


If the result is positive try to strip your wsdl to the only one 
erroneus operation line. Let's find out if it's the one under 
portType or the ones under binding.


Ok, forget that. I have copied and pasted the code to the Eclipse 
wsdl editor. It seems it doesn't like the soap:operation elements 
under binding operations. These two:


soap:operation soapAction=http://dummy.php#testFunc2/
soap:operation soapAction=http://dummy.php#testFunc3/

Move them to the front and place them as the first element under 
the bindings. Before inputs and outputs.



- Davye


--Michael Minicki aka Martel Valgoerad | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 

Generosity is giving more than you can, and pride is taking less 
than you

need. -- Kahlil Gibran









Re: [fw-general] ZF Shirts

2006-10-12 Thread Darek

just: Zend Framework Programmer

2006/10/12, Mat Scales [EMAIL PROTECTED]:

Ziff It!
Richard Thomas wrote:
 The logo says Powered by Zend Framework what more do you need ;)
 Richard Thomas - CEO
 Cyberlot Technologies Group Inc.
 507.398.4124 - Voice


 Andries Seutens wrote:
 Perhaps with a text at the bottom that says:

 Zend Framework(er)

 Best regards,

 Andries Seutens
 Belgium
 http://andries.systray.be

 Richard Thomas schreef:
 Muuhahaha

 http://www.cafepress.com/cyberlot

 Image didn't really scale but It does make for a funny t-shirt

 Course be better if Zend did something a little more offical like ;)


 Richard Thomas - CEO
 Cyberlot Technologies Group Inc.
 507.398.4124 - Voice


 Chris Hartjes wrote:
 On 10/12/06, Richard Thomas [EMAIL PROTECTED] wrote:
 http://benramsey.com/archives/phpc-t-shirts/

 Someone should do the same for us ;)



 CafePress would let you set something up like that pretty quickly...










--
Projektowanie stron www, skrypty php
http://netbrain.pl


Re: [fw-general] ZF Shirts

2006-10-12 Thread Gavin Vess

Hint:  There will be a surprise at the conference ;)

Cheers,
Gavin


Re: [fw-general] ZF Shirts

2006-10-12 Thread Nico Edtinger

Do we also get the surprise without being at the conference? :)

nico

[12.10.2006 21:30] Gavin Vess wrote:


Hint:  There will be a surprise at the conference ;)

Cheers,
Gavin





[fw-general] Problems with Zend_Search_Lucene

2006-10-12 Thread Jan Pieper

I am using rev1290 and when I execute this:

?php
/* ... */
echo file_exists('../../lucene/') -  . (file_exists('../../lucene/') 
? 'exists' : 'does not exist');

$index = new Zend_Search_Lucene('../../lucene/', true);
/* ... */
?

I´ll get this output:

file_exists('../../lucene/') - exists

Warning: opendir(../../lucene/) [function.opendir]: failed to open dir: 
No such file or directory in 
/var/www/html/private/lib/Zend/Search/Lucene/Storage/Directory/Filesystem.php 
on line 129


Warning: readdir(): supplied argument is not a valid Directory resource 
in 
/var/www/html/private/lib/Zend/Search/Lucene/Storage/Directory/Filesystem.php 
on line 130


The index will be created and I can use it but theses messages shouldn´t 
be there.


-- Jan


Re: [fw-general] Roadmap question

2006-10-12 Thread Bill Karwin




Ralf Eggert wrote:

  What about the rest of the roadmap? Are there any plans for the further release dates?  


Okay, I've now updated the rest of the Roadmap in JIRA.

We've established a goal to have 0.2.0 ready by the Zend Conference. 
The Zend Framework is a team effort.  Presenting a new release at the
Conference would be a great way to show the accomplishments of the ZF
community.  A huge amount of work has been done since the 0.1.5
release, and we all know that a new, fresh Preview Release is very
desirable.

Regarding versions following 0.2, we had a talk here at Zend about
version numbers.  We recognize the terrific work and progress that the
community has put into this project, working closely with the staff
here at Zend.  We feel that continuing with low numbers like 0.2.1,
0.3, etc. doesn't do justice to this progress.  It gives the false
impression that the 1.0 release is only 20% complete.  We don't feel
this is accurate. 

So after 0.2, we'd like to jump to 0.7, and continue from there. 
Actually, some of us initially thought that we're at 0.7 already, but I
want us to have the satisfaction of completing 0.2, which we have all
been working toward.  Numbers are really just for identifying the phase
of the project, and the community has known "0.2" as the name of the
current phase for a while, so I didn't want to change that.

Since this is an open, community project, I'd like to share with you
how I define completion criteria for the releases progressing toward
1.0.

Preview release 0.2: "The MVC release."  As we have been
planning, the criteria for 0.2 are the revisions to the MVC
architecture.  But it's not just MVC; included with this release are
all the other enhancements that have been made since 0.1.5.  There are
also some incubator components that are maturing and may move into core.

It is highly desirable for the ZF community and for Zend that this
is ready by October 31, so we can announce the release at the Zend
Conference.  To show such great progress at a public event like that is
crucial at this stage of the Zend Framework evolution.

Matthew Weier O'Phinney is the project coordinator for the MVC
components, but
all of us should
treat it as a priority to help this effort reach completion.  Matthew
is going to need help soon with code reviews and testing.

Preview release 0.7: "The I18N  Auth release."  Criteria
for 0.7 are
revisions to the I18N (Locale and others), Zend_Auth, and Zend_ACL
architecture and components, as well as enhancements to other
components as they
are available.

Preview release 0.8: "The DB release."  Criteria for
0.8 are revisions to Zend_DB, as well as enhancements to other
components as they are available.  

Preview release 0.9: "Beta." Criteria for 0.9 are that all the
remaining components have reached a state of "feature complete."  This
includes
the web services components, and a refactored Zend_Filter solution. 
Components still in incubator at this time will stay in incubator
through the 1.0 release.  The API's of non-incubator components are
relatively stable.  Starting at this point, we will refer to the
product as Beta
instead of Preview Release.

Within each of the above releases, we may make a number of
point-releases like
0.7.1, 0.7.2, 0.7.3, etc. as justified by the progress.  These will be
on an irregular, but short timeframe, perhaps about 2 weeks per
point-release.  This will make the downloadable Preview Release current
than it has been.

Release 1.0.0: "Release Candidate."  Criteria for 1.0 are that
all
non-incubator components are stable, and we've addressed all critical
and major issues (not counting feature requests).  All components, both
core and incubator, have adequate unit tests and reference
documentation.

The 1.0.0 and subsequent point-releases 1.0.1, 1.0.2, etc. will be
referred to as "Release
Candidates" until we are satisfied that Zend Framework is ready for
production use. 
We will strive for perfection during development and during Beta, but
we will also have a process for final quality-control criteria.

Release 1.0.x: "Production."  Criteria for 1.0 General
Availability (GA) are the same as 1.0.0, as well as satisfying the
quality-control standards of Zend, the ZF community, and other users of
Zend Framework.

I'm reluctant to put dates on these releases.  I'd rather let quality
and features be the criteria each given release.  But if we pitch in to
help the main contributors of each component, I'm sure we can make each
of these releases an average of four to six weeks apart.  Provided that
pace continues, it puts the
final GA release in March or April of 2007.

It's hard to give estimates any more precisely than that.  We don't
have detailed specs for each component from which to estimate the
amount of work.  Also, since a lot of the progress is dependent on
community members' schedules, we don't know our engineer-hours
available during a given period.  So using traditional project
management methods to estimate 

[fw-general] new backend for Zend_Cache

2006-10-12 Thread Stanislav Malyshev
I've added a backend for Zend_Cache into Laboratory SVN under 
Zend/Cache/Backend and the proposal is here:

http://framework.zend.com/wiki/x/TR

If you have any comments or suggestions please tell.


Re: [fw-general] Roadmap question

2006-10-12 Thread Thomas Weidner



Hy,

change from 0.2 to 0.7 seems to be ok in my 
opinion... it's only a number ;-)

  Preview release 0.7: "The I18N  Auth 
  release." Criteria for 0.7 are revisions to the I18N (Locale and 
  others), Zend_Auth, and Zend_ACL architecture and components, as well as 
  enhancements to other components as they are available.
Hmmm

Until now the I18N Team are 
Andrè and .
Me ?

André is coding the Zend_Locale_UTF8 
class...
and the other 14 classes are coded 
by...
Me ?

Unit tests are made by...
Me ?

Documentation for all classes are made 
by...
Me ?

And I've 6 weeks for completion ???
Well... I dont want to be negative, but I 
don't think that I get the relevant components ready in 6 weeks.


Zend_Measure is the only completed 
class.Zend_Locale_Format actualy stucks on Zend_Locale_UTF8 which is not 
supporting all needs for Date Format until now.
Zend_Date stucks on 
Zend_Locale_Format...
Zend_Calendar stucks on Zend_Date...
Zend_Currency will be implemented later on 
the road... 0.9 or so...
Zend_Translate is a own chapter... it's 
not accepted until now ;-)
I want to have Zend_Date out of mind 
before I will completly switch my energy to this class ;-)... and it's not 
accepted until now ;-)

Anyone knows a company which can make 
clones from me ???
No ??
Hmmm bad... bad...

But hey... I'll do my best ;-)


Greetings
Thomas


Re: [fw-general] Problems with Zend_Search_Lucene

2006-10-12 Thread Jan Pieper
There is no difference between the dirname with and without the last 
slash. Both of them works same.


[EMAIL PROTECTED] cli]# php foo.php
deletable
.
segments
..
_0.cfs

-- Jan



Hi Jan,

Please let me know, what happens if you remove last slash from dirname?
---
$index = new Zend_Search_Lucene('../../lucene/', true);
  =
$index = new Zend_Search_Lucene('../../lucene', true);
---

What is the result of:

$dir = opendir('../../lucene/');
while ($file = readdir($dir)) {
echo $file . \n;
}

and

$dir = opendir('../../lucene');
while ($file = readdir($dir)) {
echo $file . \n;
}

???


That also may be something wrong with directory permissions...

With best regards,
   Alexander  Veremyev.

Jan Pieper wrote:

I am using rev1290 and when I execute this:

?php
/* ... */
echo file_exists('../../lucene/') -  . 
(file_exists('../../lucene/') ? 'exists' : 'does not exist');

$index = new Zend_Search_Lucene('../../lucene/', true);
/* ... */
?

I´ll get this output:

file_exists('../../lucene/') - exists

Warning: opendir(../../lucene/) [function.opendir]: failed to open 
dir: No such file or directory in 
/var/www/html/private/lib/Zend/Search/Lucene/Storage/Directory/Filesystem.php 
on line 129


Warning: readdir(): supplied argument is not a valid Directory 
resource in 
/var/www/html/private/lib/Zend/Search/Lucene/Storage/Directory/Filesystem.php 
on line 130


The index will be created and I can use it but theses messages 
shouldn´t be there.


-- Jan










[fw-general] Re: ZF Shirts

2006-10-12 Thread Sebastian Bergmann
Chris Hartjes wrote:
 Is it a t-shirt that says I signed a CLA and all I got was this lousy
 t-shirt ? ;)

 Now, whom do I need to follow through the forest to find the
 swordmaster?

-- 
Sebastian Bergmann  http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69



[fw-general] Re: [fw-db] Zend_Db_Table

2006-10-12 Thread Simon Mundy

On 13/10/2006, at 7:42 AM, Abu Hurayrah (FW) wrote:

Ooohthis is looking good (after reading the explanation  
here: http://framework.zend.com/wiki/display/ZFMLGEN/mail/1625).  I  
would really like to see this going hand-in-hand with my previous  
proposal of making Zend_Db_Table_Rowset an implementation of the  
ArrayAccess interface.  Then you could have the individual elements  
of the Rowset be instances of your extended Zend_Db_Table_Row  
object...


Am I proposing insanity?


Well... maybe? :p

FWIW I am using this exact code in a project currently nearing  
production and it is working insanely well! I know that in-database  
joins work well for 'flat' views of data, but this proposed  
functionality makes manipulating my business models so much more  
flexible and intuitive.


With this enhancement and the removal of camelcaps fieldnames the DB  
libraries are getting close to (IMO) the right balance of simplicity  
and flexibility.


My other quick set of wishlists would be:-

- Allowing a Zend_Db_Table to modify the database structure on one or  
more columns.

  e.g.
  $table = new Mytable;
  $table-updateColumn('description', 'varchar', array('length' =  
255));

  $table-addKey('id', array('type' = 'primary'));
  $table-alter();

  Perhaps this could be an extension of Zend_Db_Table  
(Zend_Db_Table_Schema?) that provides table manipulation methods only?


- Allowing comparisons of Zend_Db_Table objects to view discrepancies  
in definitions. Much like 'diff' except you can resolve either column  
definitions, data or both. The 'source' table acts as the blueprint  
and the target is the one that gets updated. This would be truly  
invaluable in an environment where multiple test/development  
databases can start to pile on structural differences to the  
production database. Could belong above?


- pre Insert hooks for Zend_Db_Table / Update for Zend_Db_Table_Row  
(much like the project that Gavin provided a link to) that can  
manipulate array data before the operation. Useful for timestamps,  
removing non-existent column keys, etc.


--

Simon Mundy | Director | PEPTOLAB


202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654  
4124

http://www.peptolab.com




Re: [fw-general] How to be removed from these mailing lists?

2006-10-12 Thread Gavin Vess

http://framework.zend.com/wiki/x/GgE

Alexander Hanhikoski wrote:

Dear Zend framework community,

How can I remove my e-mail address from the mailing lists? There 
should be clear how-tos about this on the website!


Br,
-Alex




--
Cheers,
Gavin

Which ZF List?
=
Everything, except the topics below: fw-general@lists.zend.com

Authorization, Authentication, ACL, Access Control, Session Management
[EMAIL PROTECTED]

Tests, Caching, Configuration, Environment, Logging
[EMAIL PROTECTED]

All things related to databases
[EMAIL PROTECTED]

Documentation, Translations, Wiki Manual / Tutorials
[EMAIL PROTECTED]

Internationalization  Localization, Dates, Calendar, Currency, Measure
[EMAIL PROTECTED]

Mail, MIME, PDF, Search, data formats (JSON, ...)
[EMAIL PROTECTED]

MVC, Controller, Router, Views, Zend_Request*
[EMAIL PROTECTED]

Community Servers/Services (shell account, PEAR channel, Jabber)
[EMAIL PROTECTED] 


Web Services  Servers (HTTP, SOAP, Feeds, XMLRPC, REST)
[EMAIL PROTECTED]


How to subscribe:  http://framework.zend.com/wiki/x/GgE



Re: [fw-general] Component Naming Conventions (again)

2006-10-12 Thread Gavin Vess

For components that are placed under the ZF CLA, perhaps:
- ZLab_
- ZL_  I like this one
- ZFL_
- ?

Cheers,
Gavin

Ralph Schindler wrote:

Hey all,
  I know this came up before but I am not sure it got a solid 
response, plus it was many moons ago that it did come up.  Basically, 
the question is what do you name your component that:


* is intended for public consumption
* designed to work with the zend-framework
* is coupled with other components in the zend-framework
* you dont want to dirty up the root of the lib
*   -- insert other reason here. --

The idea here is that I have a component that (in this version) can 
only be used with the zend-framework.  I want to distribute it, I know 
it wont be part of the core, so what do I call it?


ZendExtra_
ZendXtra_
ZendComponent_
ZendC_
ZComponent_
ZFExtra_
ZFCom_
ZFComponent_
   ...

I'd rather stay away from using my own name like RalphsComponent_ and 
having a standardized name would allow everyone to create modules for 
public consumption and have them end up in the same place in a 
./lib/... right next to Zend_ but not in the same lib tree... 
namespace clashing would be less of an issue since its up to the user 
to find, collect and use the outside modules that he wishes.


Any ideas from the @zenders?  And welcome Bill! ... wanna weigh in? ;)

All ideas are appreciated..

-ralph


Re: [fw-general] How to be removed from these mailing lists?

2006-10-12 Thread Steph Fox
On the php.net lists there's an 'unsubscribe' link at the bottom of each 
post.


e.g.:
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

It might not be a bad idea to offer something similar to that page. This is 
a very high-volume list, and people will want to leave it on a fairly 
regular basis if they aren't directly involved.


- Steph


- Original Message - 
From: Gavin Vess [EMAIL PROTECTED]

To: Alexander Hanhikoski [EMAIL PROTECTED]
Cc: fw-general@lists.zend.com
Sent: Friday, October 13, 2006 2:45 AM
Subject: Re: [fw-general] How to be removed from these mailing lists?



http://framework.zend.com/wiki/x/GgE

Alexander Hanhikoski wrote:

Dear Zend framework community,

How can I remove my e-mail address from the mailing lists? There should 
be clear how-tos about this on the website!


Br,
-Alex




--
Cheers,
Gavin

Which ZF List?
=
Everything, except the topics below: fw-general@lists.zend.com

Authorization, Authentication, ACL, Access Control, Session Management
[EMAIL PROTECTED]

Tests, Caching, Configuration, Environment, Logging
[EMAIL PROTECTED]

All things related to databases
[EMAIL PROTECTED]

Documentation, Translations, Wiki Manual / Tutorials
[EMAIL PROTECTED]

Internationalization  Localization, Dates, Calendar, Currency, Measure
[EMAIL PROTECTED]

Mail, MIME, PDF, Search, data formats (JSON, ...)
[EMAIL PROTECTED]

MVC, Controller, Router, Views, Zend_Request*
[EMAIL PROTECTED]

Community Servers/Services (shell account, PEAR channel, Jabber)
[EMAIL PROTECTED]
Web Services  Servers (HTTP, SOAP, Feeds, XMLRPC, REST)
[EMAIL PROTECTED]


How to subscribe:  http://framework.zend.com/wiki/x/GgE


__ NOD32 1.1380 (20060125) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com