Re: [CakePHP : The Rapid Development Framework for PHP] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-03-18 Thread CakePHP : The Rapid Development Framework for PHP
#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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-03-18 Thread CakePHP : The Rapid Development Framework for PHP
#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 sluniicko):

 @ADmad I understand your point of view perfectly, off course. So before
 final decision, just lets take into account fact, that regexes used in
 your example countryInfo.txt dump for czech and slovak postal codes are
 wrong - they are using {{{^(\d{5})$}}} (compare with attached patches).

-- 
Ticket URL: https://trac.cakephp.org/ticket/6146#comment:5
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-03-17 Thread CakePHP : The Rapid Development Framework for PHP
#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):

 I don't see the need for adding support for more countries. Its
 unnecessary bloat imo. Especially when you just have to use your own regex
 as a custom rule to achieve your own validation.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6146#comment:2
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#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:  1.2 Final
   Severity:  Normal   |   Keywords:   
Php_version:  n/a  |   Cake_version:  8066 
---+
 Adds suport for validation of czech and slovak postal codes

-- 
Ticket URL: https://trac.cakephp.org/ticket/6146
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6146: [PATCH+TEST] Validation for cs+sk postal codes

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#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 |  
+---
Changes (by sluniicko):

  * version:  1.2 Final =

-- 
Ticket URL: https://trac.cakephp.org/ticket/6146#comment:1
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---