Conventional HTML in ASP.NET MVC: Adopting Fubu conventions | Jimmy Bogard

added by Paul Wheeler
7/16/2014 8:23:34 PM

2 Kicks, 87 Views

Now that we’ve established a base for programmatically building out HTML, we can start layering on top more intelligent model-centric conventions for both displaying and editing data. Eventually, I want to get to the point of not just supporting simple conventions like “DateTime = date picker” and “bool = checkbox” but much more powerful ones. Things like “a property named ‘Comments’ should be a textarea” or “a property of an entity type should make its dropdown options the list of items from the database”. These are all things that are universal to the metadata found on those properties.