{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zend-validator/issues/1","labels_url":"https://api.github.com/repos/zendframework/zend-validator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-validator/issues/1/comments","events_url":"https://api.github.com/repos/zendframework/zend-validator/issues/1/events","html_url":"https://github.com/zendframework/zend-validator/issues/1","id":77773918,"number":1,"title":"Road to ZF3","user":{"login":"bakura10","id":1198915,"avatar_url":"https://avatars.githubusercontent.com/u/1198915?v=3","gravatar_id":"","url":"https://api.github.com/users/bakura10","html_url":"https://github.com/bakura10","followers_url":"https://api.github.com/users/bakura10/followers","following_url":"https://api.github.com/users/bakura10/following{/other_user}","gists_url":"https://api.github.com/users/bakura10/gists{/gist_id}","starred_url":"https://api.github.com/users/bakura10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakura10/subscriptions","organizations_url":"https://api.github.com/users/bakura10/orgs","repos_url":"https://api.github.com/users/bakura10/repos","events_url":"https://api.github.com/users/bakura10/events{/privacy}","received_events_url":"https://api.github.com/users/bakura10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-05-18T19:24:21Z","updated_at":"2015-07-17T19:38:18Z","closed_at":null,"body":"Hi,\r\n\r\nI've done a massive PR to this (https://github.com/zendframework/zf2/pull/5067) but it's a massive work and a big hell to review.\r\n\r\nI suggest that we:\r\n\r\n1. Move validators to their specifc components (for instance moving Db validators to the Zend\\Db component), and deprecating the validators here (for version 2.5).\r\n\r\n2. Remove them in v3, and start the refactoring work. Here are various things I have done in the past:\r\n\r\n* Make validators stateless (each validator returns a ValidationResult, that can be translated using another component for instance).\r\n* Using the new service manager of ZF3.\r\n* Homogeneize names (in ZF2, we didn't have time to use the \"underscore_separated\" convention for option name, which make it very incoherent with how the framework work).\r\n* Various code cleaning, optimization for PHP 5.5"},"comment":{"url":"https://api.github.com/repos/zendframework/zend-validator/issues/comments/122389248","html_url":"https://github.com/zendframework/zend-validator/issues/1#issuecomment-122389248","issue_url":"https://api.github.com/repos/zendframework/zend-validator/issues/1","id":122389248,"user":{"login":"bakura10","id":1198915,"avatar_url":"https://avatars.githubusercontent.com/u/1198915?v=3","gravatar_id":"","url":"https://api.github.com/users/bakura10","html_url":"https://github.com/bakura10","followers_url":"https://api.github.com/users/bakura10/followers","following_url":"https://api.github.com/users/bakura10/following{/other_user}","gists_url":"https://api.github.com/users/bakura10/gists{/gist_id}","starred_url":"https://api.github.com/users/bakura10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakura10/subscriptions","organizations_url":"https://api.github.com/users/bakura10/orgs","repos_url":"https://api.github.com/users/bakura10/repos","events_url":"https://api.github.com/users/bakura10/events{/privacy}","received_events_url":"https://api.github.com/users/bakura10/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T19:38:17Z","updated_at":"2015-07-17T19:38:17Z","body":"Not completely, as it's a piece to making the splitting of validators/filters more easier. Ideally, people should be able to install Zend\\Validator, then Zend\\Db, and being able to have Zend\\Db validators available in the plugin manager without having to wiring up more things."}}