Solved

Need some pointers on applying Bootstrap to my ColdFusion page

Posted on 2014-01-25
4
1,225 Views
Last Modified: 2014-01-30
I'm looking into updating my CF search database page to be friendly with tablets and data phones.

How can apply a Bootstrap template when my search page needs a .cfm for the ColdFusion to process? Frames?

Are there other technologies besides Bootstrap that will be friendlier with ColdFusion?
0
Comment
Question by:DJPr0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39808755
I am not a CF developer, but bootstrap is basically css and javascript that runs after the page loads.  Server side languages run on the server before the page loads so it should not interfere with the CF side of things.

If you have sites where you load css and libraries like jquery already, there is no issue.   What you may have a hard time doing is converting your site.   You can simply add the css and js files, but you  then need to rethink your css classes and how a page looks on multiple formats.  That will be the hard part.
0
 

Author Comment

by:DJPr0
ID: 39820762
ColdFusion pages need to end with .cfm

Do I just rename my Bootstrap template page from .html to .cfm?

Or is there another method?
0
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39821615
CF runs on the server and not in the browser.   CSS and Javascript run in the browser (unless you are running js serverside).  This means you CF page runs all of the calculations and db functions on the server, then generates html based on your programming and sends it to the browser.  The html is rendered to the browser, then CSS styles are applied and javascript functions manipulate and calculate.

When you are using bootstrap, it is simply a mix of CSS and JS/Jquery.  It will not matter if you use .cfm, .asp, .aspx, .php etc.  It is the rendered html that counts.  

>Do I just rename my Bootstrap template page from .html to .cfm?
Yes.
0
 

Author Closing Comment

by:DJPr0
ID: 39821896
Thanks Scott!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question