#5145: Cake should have a alphanumeric+whitespace validation rule
----------------------------+-----------------------------------------------
    Reporter:  mryellow     |         Owner:         
        Type:  Enhancement  |        Status:  closed 
    Priority:  Low          |     Milestone:  1.2.x.x
   Component:  Validation   |       Version:  RC3    
    Severity:  Normal       |    Resolution:  wontfix
    Keywords:               |   Php_version:  n/a    
Cake_version:               |  
----------------------------+-----------------------------------------------
Changes (by jperras):

  * status:  reopened => closed
  * resolution:  => wontfix

Comment:

 An alphanumeric + whitespace rule is almost completely
 useless.[[BR]][[BR]]

 @michaelc: your example of possible use in a 'name' and an 'address' field
 seems fine, until you figure out that Matthew O'hare who lives on 23
 Saint-Joseph rd. can't seem to get past your validation
 criteria.[[BR]][[BR]]

 For the infinitesimally small number of times where a multibyte
 alphanumeric + whitespace validation rule is actually useful, it does not
 merit inclusion into the CakePHP core validation rules.[[BR]][[BR]]

 Good frameworks tend to follow the 80/20 rule, and CakePHP is no
 exception. This 'feature' would definitely be found in the lower end of
 the 20.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5145#comment:10>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to