#6146: [PATCH+TEST] Validation for cs+sk postal codes
----------------------------+-----------------------------------------------
    Reporter:  sluniicko    |         Owner:         
        Type:  Enhancement  |        Status:  new    
    Priority:  Medium       |     Milestone:  1.3.x.x
   Component:  Validation   |       Version:         
    Severity:  Normal       |    Resolution:         
    Keywords:               |   Php_version:  n/a    
Cake_version:  8066         |  
----------------------------+-----------------------------------------------
Comment (by ADmad):

 @sluniicko Surely it's not your fault. We can blame the EU leaders for
 that :-)  I repeat that all it takes is a single regex to validate each
 countries' postal code format using the existing custom regex feature. So
 i don't see the need to carry around an array map for dozens of EU
 countries (not to mention rest of the world) in my app and have them
 loaded each time i use the validator class.[[BR]]
 [[BR]]
 I can see people's view that if Validation::postal() has regexes for us,
 uk and few other's why not their country too? :-)  But imho the framework
 shouldn't try to please everybody else sooner or later the list/array map
 will end up having regexes for over 200 countries available here for eg.
 [http://download.geonames.org/export/dump/countryInfo.txt] Not sure if
 anybody wants that.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6146#comment:4>
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