February 17, 2017 by Christoff Truter
In this post we're going to extend our select element to support optgroups and thereby complete our support for all select child elements.
PHPFebruary 15, 2017 by Christoff Truter
In part 2 we quickly "talked" about having different serialization strategies for our html elements, but as an interim solution, I chose to use the XHTML spec as my standard markup, in this post we're going to decouple our serialization strategy.
PHPFebruary 14, 2017 by Christoff Truter
Up until this point we've got a very basic, but working drop-down list implementation, it is however quite fragile at the moment, since we're not doing enough validation checks not to mention all properties being public.
PHPFebruary 14, 2017 by Christoff Truter
Now that we've got everything serializing to HTML (or rather XHTML) properly, how do we retrieve selected values and maintain that state?
PHPFebruary 14, 2017 by Christoff Truter
In order to serialize our newly created classes to the required markup, what needs to happen? We need to supply some metadata.
PHP