Hi all,

Am Freitag, den 17.11.2006, 18:11 +0100 schrieb Thomas Weidner:
> > Also relevant to an implementation of Zend_Filter::getAlpha(): 
> > http://framework.zend.com/issues/browse/ZF-550
> 
> 1.) Not all languages seemed to be supported
> 2.) Performance problems if used in standard... should be selectable when 
> used if use it or not
> 3.) This way ALL characters would be given... So if we have "Exámplé" it 
> would also returned but á and è are not
> contained within the english characterset. Could lead to problems...

Maybe we must rethink the whole filtering thingy. I would propose to
split out the locale-dependant filters from Zend_Filter and put them
into - let's say - Zend_Locale_Filter. Zend_Locale_Filter has a lot of
subclasses, for instance Zend_Locale_Filter_German,
Zend_Locale_Filter_English, Zend_Locale_Filter_Japanese, etc. which
implements the filters for there own needs. Zend_Locale_Filter has a
factory class, were you can pass a Zend_Locale object or a simple locale
string to make sure, the correct subclass is instanced. Maybe there is
no other chance to ship around this locale-aware filter problem.

Greets, Lars
-- 
      "Kriterium des Wahren ist nicht seine unmittelbare
          Kommunizierbarkeit an jedermann"
         -- Theodor Wiesengrund Adorno, aus: »Negative Dialektik«

name: Lars H. Strojny      web: http://strojny.net 
street: Engelsstraße 23    blog: http://usrportage.de
city: D-51103 Köln         mail/jabber: [EMAIL PROTECTED]
f-print: 1FD5 D8EE D996 8E3E 1417  328A 240F 17EB 0263 AC07

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to