This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Road to ZF3 #1
Open
Description
Hi,
I've done a massive PR to this (zendframework/zendframework#5067) but it's a massive work and a big hell to review.
I suggest that we:
- 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).
- Remove them in v3, and start the refactoring work. Here are various things I have done in the past:
- Make validators stateless (each validator returns a ValidationResult, that can be translated using another component for instance).
- Using the new service manager of ZF3.
- 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).
- Various code cleaning, optimization for PHP 5.5
Metadata
Metadata
Assignees
Labels
No labels