Wednesday 21 May 2008 9:14:00 am
The validation and storage of content in eZ Publish is based on datatypes, and this article described the necessary elements to create a custom datatype. Also, I introduced the concepts of exceptions and form handling with the UserInput component.
Another good source of datatype programming information is the source code of existing datatypes.
If you create a datatype that can also be of use for others, consider publishing it as Open Source on http://projects.ez.no/.
Finally, a big kudos to Derick Rethans! He is not only the author of the PHP DateTime class used in this tutorial, but also of the filter extension and the associated UserInput component.