Open jmohler1970 opened 7 years ago
Bootstrap proves the roadmap for tags and classes that should be used.
In older versions of Bootstrap, there was some criticism that it used way way too many <div>
tags. I like using <nav>
and <main>
tags to be more descriptive.
Having said that, I was inspired by Bootfaces, a JSF library. I think the Bootfaces approach is useful. Below is an example from their documentation
Enter ColdFusion
Bootfaces might be advanced in the JSF world, but ColdFusion can do custom tags all day long. So I built a ColdFusion version of Bootfaces. See: https://github.com/jmohler1970/BS-4-CF. Here is a part of the summary from the Github landing page
Without Bootstrap for ColdFusion
<cfif showme>
<button type="button" class="btn btn-default btn-lg">
<i class="glyphicon glyphicon-floppy-disk"></i><!-- Don't forget the whitespace here -->
<cfoutput>#rc.savelabel#<cfoutput>
</button>
</cfif>
With Bootstrap for ColdFusion
<b:button processed="#showme#" value="#rc.savelabel#" icon="floppy-disk" size="lg" />
It was outside the scope of this request, so I did not this library to this project.
HTML Structuring