GithubHelp home page GithubHelp logo

HTML Structuring about palomar HOT 1 OPEN

jmohler1970 avatar jmohler1970 commented on July 18, 2024
HTML Structuring

from palomar.

Comments (1)

jmohler1970 avatar jmohler1970 commented on July 18, 2024

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

bootsfaceslayout

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.

from palomar.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.