[fw-general] Zend_Workflow

2007-09-23 Thread Jeunejean Pierre

Any Zend_Workflow or Proof-Of-Concept planned in the future ?

TIA, Pierre

--
Pierre Jeunejean
gérant

[EMAIL PROTECTED]
www.adnexus.be

Wirtzfeld 3a, B-4760 Büllingen
Tel: 0478556586

A D N E X U S
Solutions informatiques Internet en sous-traitance pour les agences 
publicitaires.
Solutions informatiques de gestion sur mesure pour les entreprises.





RE: [fw-general] Zend Search Lucene demo - first Text field not searchable

2007-09-23 Thread Alexander Veremyev
Hi Markus,

Wildcard queries and range queries support is done, but not included into 
mini-releases since they are intended for bug fixes and non-significant 
changes. 
It's planned to include wildcard queries support into ZF 1.1.  Use SVN version 
or latest snapshot before that.

With best regards,
   Alexander Veremyev.

 -Original Message-
 From: Markus Fischer [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, September 23, 2007 9:25 AM
 To: Alexander Veremyev
 Cc: fw-general@lists.zend.com
 Subject: Re: [fw-general] Zend Search Lucene demo - first 
 Text field not searchable
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 Alexander Veremyev wrote:
  Just checked this in my environment. Works as expected.
  
  Could you give a result of the following code:
  --
  $query = Zend_Search_Lucene_Search_QueryParser::parse('path:co*');
 
 I throught wildcard queries weren't supported ... ?
 
 thanks,
 - - Markus
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFG9fiz1nS0RcInK9ARAsjEAKDGtak2wLhLnYR0UJMtuO/YtSX70gCgrJHa
 Q664PE9eYnZ+6Hio3KrB4Ik=
 =u4xt
 -END PGP SIGNATURE-
 
 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.488 / Virus Database: 269.13.28/1023 - Release 
 Date: 22.09.2007 13:27
  
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.28/1023 - Release Date: 22.09.2007 
13:27
 


[fw-general] Customizing messages of Zend_Validate_EmailAddress

2007-09-23 Thread Ralf Kramer
Hi,

I tried to customize the message of Zend_Validate_EmailAddress, it works quite 
well,  but I cant translate the messages that are added by 
Zend_Validate_Hostname in my $validators array.

Sample:
$validators = array(
'user_email' = array(
'EmailAddress',
'messages' = array(
array(
Zend_Validate_EmailAddress::INVALID = 
'%value%' ist keine gültige E-Mail-Adresse,

Zend_Validate_EmailAddress::INVALID_HOSTNAME  = 
'%hostname%' ist kein gültiger Hostname. Bitte 
prüfen Sie Ihre E-Mail-Adresse  '%value%',

Zend_Validate_EmailAddress::INVALID_MX_RECORD  = 
'%hostname%' kein MX Record gefunden '%value%',

Zend_Validate_EmailAddress::DOT_ATOM = 
'%localPart%' ungültiges Format (dot-atom),

Zend_Validate_EmailAddress::QUOTED_STRING = 
'%localPart%' ungültiges Format,

Zend_Validate_EmailAddress::INVALID_LOCAL_PART 
= '%localPart%' ungültiges Format '%value%',
)
)
)
); 

When $user_email == a I get this messages:
[user_email] = array(3) {
[0] = string(81) 'a' ist kein gültiger Hostname. Bitte prüfen Sie Ihre 
E-Mail-Adresse  '[EMAIL PROTECTED]'
[1] = string(60) 'a' does not match the expected structure for a DNS 
hostname
[2] = string(82) 'a' appears to be a local network name but but local 
network names are not allowed
  }

So, there are two messages which are not translated, and I don’t know how to 
translate them in my $validators array. Is there a way to achieve this? 

If not, we should imho contemplate to ensure that each Zend_Validate_XXX class 
must gain access to all possible messages that could be added to the $messages 
array

Though Bill explained, in a recent posting, that developers might use 
$input-getErrors();  to customize their messages, I'd prefer to translate the 
messages using the MESSAGES 
metacommand of Zend_Filter_Input. Having it all defined in one place, allows 
for instance to pass the $validator array to the view, where it could be used 
for AJAX and other Javascript operations. It would also be somewhat more 
'straight' if there is no exceptional rule bundled to the MESSAGES metacommand 

I am not sure whether the proposals Zend_Validate_Builder, Zend_Filter_Builder 
will solve this issue. Actually I am not even sure whether it is an issue... ;-)

Best regards
 /Ralf






Re: [fw-general] Zend_Workflow

2007-09-23 Thread Tobias Gies
what exactly should this component do?

2007/9/23, Jeunejean Pierre [EMAIL PROTECTED]:

 Any Zend_Workflow or Proof-Of-Concept planned in the future ?

 TIA, Pierre

 --
 Pierre Jeunejean
 gérant

 [EMAIL PROTECTED]
 www.adnexus.be

 Wirtzfeld 3a, B-4760 Büllingen
 Tel: 0478556586

 A D N E X U S
 Solutions informatiques Internet en sous-traitance pour les agences
 publicitaires.
 Solutions informatiques de gestion sur mesure pour les entreprises.






Re: [fw-general] Zend Framework Web Application (best practices, structure, skeleton)

2007-09-23 Thread PotatoBob

I'll join in as long as I'm not the only one working on it ;)


Ian Warner-4 wrote:
 
 Maybe it would be cool if we can organise a group of developers to 
 create some sort of Joomla like project, utilising the Zend Framework of 
 course, always good to have an end focus to work too.
 
 This can have the aim of providing a best practice selection of reusable 
 classes and modules.
 
 I would be interested to help organise and create such a group and even 
 provide some hosting space etc.
 
 As always the hard thing with something like this is starting and 
 maintaining the momentum.
 
 If anyone is interested then please let me know.
 
 Cheers
 
 Ian
 
 Ralf Kramer wrote:
 It would be nice to have a Best practises page on the Wiki and also a
 basic but powerful skeleton demo capable of handling large web
 applications. 
 
 I feel the Zend Framework would benefit from a such 'one-stop-shop' for
 new
 developers who would like to use it as their framework of choice for
 large
 web applications. 
 
 Hi Antonio,
 
 It seems like there is a proposal for such demo application in the
 pipeline: 
 http://framework.zend.com/wiki/display/ZFPROP/Zend_Application+-+Bill
 +Karwin
 
 I agree with you. Having an official approach will put - at least for me
 - a lot of added value to the framework. So I can turn my focus back to
 the business logic, and be sure that the community keeps my applications
 on the bleeding edge of technology...
 
 But if I get it right, its just a matter of time ;-)
 
 Best regards
  /Ralf
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Zend-Framework-Web-Application-%28best-practices%2C-structure%2C-skeleton%29-tf4496725s16154.html#a12853082
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Zend_Workflow

2007-09-23 Thread Ralph Schindler
Interesting you should bring this up.  I am in the planning and 
discovery stages for this component. Once I get an api planned and a 
skeleton created, I will propose it for consideration to be included in 
the core.


The quick overall idea is that it will be a component (not completely 
unlike Acl in a sense) that will be able to define workflows and spawn 
jobs of a specific workflow type.  As far as defining the workflow, 
there is a wealth of information (very academic) here 
http://www.workflowpatterns.com/patterns/index.php


There are a few projects that I have tried out, and or talked to the 
authors of:


OpenWfe - http://www.openwfe.org/manual/
Spiff Workflow - http://pypi.python.org/pypi/Spiff%20Workflow/

Features I'd like to implement/see:
- full workflow pattern coverage
- participants (resource allocation)
- workflow data collection
- workflow data callbacks (basically checking if a condition is met 
before allowing the job to proceed)

- interface for job state storage, persistence

Long term:
- generation of colored petri nets to display workflow
- ability to import/export workflow definitions


Of course I am actually building it for a current project, so I wont be 
backing off, if it doesn't get approved for core inclusion, I will 
gladly host as Xend_Workflow.


-ralph


Tobias Gies wrote:

what exactly should this component do?

2007/9/23, Jeunejean Pierre [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:


Any Zend_Workflow or Proof-Of-Concept planned in the future ?

TIA, Pierre

--
Pierre Jeunejean
gérant

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.adnexus.be http://www.adnexus.be

Wirtzfeld 3a, B-4760 Büllingen
Tel: 0478556586

A D N E X U S
Solutions informatiques Internet en sous-traitance pour les agences
publicitaires.
Solutions informatiques de gestion sur mesure pour les entreprises.