ASP.NET MVC - DataAnnotation Localization

May 29, 2017 by Christoff Truter

Strangely enough - especially seeing that localization has been a requirement in all of my work related codebases for the last 4 years or so, this is the first time that I am writing on the subject of localization.

C#   ASP.NET   PostSharp   MVC  

PHP drop-down list - Part 6 (Adding Optgroups)

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.

PHP  

PHP drop-down list - Part 5 (Custom Serialization)

February 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.

PHP  

PHP drop-down list - Part 4 (Cleaning things up a bit)

February 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.

PHP  

PHP drop-down list - Part 3 (Maintaining State)

February 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?

PHP