Share » Learn » eZ Publish » Creating Datatypes in eZ Publish 4

Creating Datatypes in eZ Publish 4

Wednesday 21 May 2008 9:14:00 am

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

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.

36 542 Users on board!

Tutorial menu

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)