Minimal 'Vanilla' markup with WordPress-like customisation


https://forum.kartris.com/Topic1678.aspx
Print Topic | Close Window

By thedrumdoctor - Fri 15 Jun 2012
I love WordPress!

It's such a simple template to work with, plus, you can build your own theme from scratch, adding all the essential components and getting rid of what you don't need.

At the moment, I feel that Kartris suffers from 'Divitis' which may or may not be to do with the way ASP.NET modules generate their default code.

Something leaner and totally customisable from a designers point of view would be a great release, say, with completely blank CSS.
By Paul - Fri 6 Jul 2012
ASP.NET creates a lot of the divs itself for this like update panels, etc. If you look at the .master page code itself, it's fairly simple - but the process of ASP.NET rendering a page does tend to add in a lot of complexities.
By thedrumdoctor - Fri 6 Jul 2012
Is that because ASP.NET has become more object based with essentially 'sealed modules' creating login functions etc, whereas with PHP there seems to be a lot more scope for customising HTML to wrap the functions in?
By thedrumdoctor - Wed 27 Apr 2016
I still maintain it would be good to have a 'vanilla' option without any ZURB Foundation content for those of us who don't want to use that particular framework as a template. v2.9003 upgrade testing is causing me extra grief because of the increasing integration with the ZURB Foundation framework.
By Tiggywiggler - Sun 1 May 2016
ASP.Net puts a lot of divs into the markup as part of how it renders the controls collection. As the Microsoft code goes through the controls and forms that build up the page it will insert divs to help structure the page. As a developer there is little that any of us can do to control that.

We do get some extra control by using custom controls, and you will see them used in Kartris, but you will still need to add divs simply because it is a necessary method of working with dynamically built forms.