cfm vs html pages
Hi folks I am building a new website that will have about a 100 pages with an extensive menu that will need to change over time. My thought is to create a separate menu file and create all the pages as cfm files rather than html pages and use cfinclude to include the menu. That way I only need to edit the menu file as I make changes rahter than go thru and update 100 separate pages. Any downsides to doing that? Thanks Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Core Elements of the Appreciative Way http://www.clergyleadership.com/ 503-647-2378 or 503-647-2382 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338970 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages
As long as you have a ColdFusion server (or one of the open source CFML servers) this is a perfect solution. Wil Genovese Sr. Web Application Developer/ Systems Administrator Trunkful Technologies, inc. 651-894-4238 wilg...@trunkful.com www.trunkful.com On Nov 8, 2010, at 4:08 PM, Rob Voyle wrote: > > Hi folks > > I am building a new website that will have about a 100 pages with an > extensive > menu that will need to change over time. > > My thought is to create a separate menu file and create all the pages as cfm > files > rather than html pages and use cfinclude to include the menu. That way I only > need to edit the menu file as I make changes rahter than go thru and update > 100 separate pages. > > Any downsides to doing that? > > Thanks > Rob > > Robert J. Voyle, Psy.D. > Director, Clergy Leadership Institute > For Coaching and Training in Appreciative Inquiry > Author: Core Elements of the Appreciative Way > http://www.clergyleadership.com/ > 503-647-2378 or 503-647-2382 > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338971 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages
Always a good idea to give you 1 file to update. Regards, David McGraw Oyova Software, LLC http://www.oyova.com On Mon, Nov 8, 2010 at 5:08 PM, Rob Voyle wrote: > > Hi folks > > I am building a new website that will have about a 100 pages with an > extensive > menu that will need to change over time. > > My thought is to create a separate menu file and create all the pages as > cfm files > rather than html pages and use cfinclude to include the menu. That way I > only > need to edit the menu file as I make changes rahter than go thru and update > 100 separate pages. > > Any downsides to doing that? > > Thanks > Rob > > Robert J. Voyle, Psy.D. > Director, Clergy Leadership Institute > For Coaching and Training in Appreciative Inquiry > Author: Core Elements of the Appreciative Way > http://www.clergyleadership.com/ > 503-647-2378 or 503-647-2382 > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338972 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages
On Mon, Nov 8, 2010 at 5:12 PM, Wil Genovese wrote: > > As long as you have a ColdFusion server (or one of the open source CFML > servers) this is a perfect solution. > Although ... depending on how those 100 pages are maintained, you might want to consider the Mura CMS. It's free, it's excellent, and it'll keep that menu updated (along with lots of other things) itself. http://www.getmura.com -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338973 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages
Is the content only HTML? You can have one master navigation that links the HTML pages. You can also have one master page that gets the html document too. index.cfm?page=about.html, then include the about.html in the master page. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338974 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages
The age old method is to create a header.cfm, footer.cfm, menu.cfm, index.cfm index.cfm contains the main layout, and cfinclude all the other files. You then have 2 options. create individual pages that work the same way as index.cfm, or create content pages that get included into the index.cfm. so u might have a url of index.cfm/aboutus in your index,cfm you look for the value after the index.cfm/ and then use this to determine which file to include, in this case aboutus.cfm most of the frame works work roughly in this type of way, so you may want to just consider using one of those. If this is a really simple site then Framework 1 may be the best solution for you, it is small and simple to use. http://fw1.riaforge.org/ -- Russ Michaels www.cfmldeveloper.com - Supporting the CF community since 1999 FREE ColdFusion/Railo hosting for developers. blog: www.michaels.me.uk ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338975 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages
Also, if it really is just flat HTML you are working with, you could use SSI includes inside shtml pages (Apache or IIS will serve them without the need of a separate application server). Dominic On 8 November 2010 22:18, Russ Michaels wrote: > > The age old method is to create a header.cfm, footer.cfm, menu.cfm, > index.cfm > > index.cfm contains the main layout, and cfinclude all the other files. > > You then have 2 options. > > create individual pages that work the same way as index.cfm, or create > content pages that get included into the index.cfm. > > so u might have a url of > > index.cfm/aboutus > > in your index,cfm you look for the value after the index.cfm/ > and then use this to determine which file to include, in this case > aboutus.cfm > > most of the frame works work roughly in this type of way, so you may want > to > just consider using one of those. > > If this is a really simple site then Framework 1 may be the best solution > for you, it is small and simple to use. > http://fw1.riaforge.org/ > > > > -- > Russ Michaels > www.cfmldeveloper.com - Supporting the CF community since 1999 > FREE ColdFusion/Railo hosting for developers. > > blog: www.michaels.me.uk > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338981 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages - one drawback
Thanks guys for th e input. I have discovered one downside. I have a virtual private server running Cold fusion that I host my websites. But to view the pages as I develop them means that I have to upload them to the web to see the finished page. Because of my physical location the fastest internet access is satellite which has lousy upload speed. this makes the final tweaking editing of pages a real bummer as I spend more time waiting for even small pages to load to the web. Is there a way to view cf pages on my local computer without going to the web server. years ago Homesite had a cut down version of CF that worked well is there an alternative? Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Core Elements of the Appreciative Way http://www.clergyleadership.com/ 503-647-2378 or 503-647-2382 On 8 Nov 2010 at 16:12, Wil Genovese wrote: > > As long as you have a ColdFusion server (or one of the open source > CFML servers) this is a perfect solution. > > > Wil Genovese > Sr. Web Application Developer/ > Systems Administrator > > Trunkful Technologies, inc. > 651-894-4238 > wilg...@trunkful.com > www.trunkful.com > > On Nov 8, 2010, at 4:08 PM, Rob Voyle wrote: > > > > > Hi folks > > > > I am building a new website that will have about a 100 pages with > an extensive > > menu that will need to change over time. > > > > My thought is to create a separate menu file and create all the > pages as cfm files > > rather than html pages and use cfinclude to include the menu. That > way I only > > need to edit the menu file as I make changes rahter than go thru > and update > > 100 separate pages. > > > > Any downsides to doing that? > > > > Thanks > > Rob > > > > Robert J. Voyle, Psy.D. > > Director, Clergy Leadership Institute > > For Coaching and Training in Appreciative Inquiry > > Author: Core Elements of the Appreciative Way > > http://www.clergyleadership.com/ > > 503-647-2378 or 503-647-2382 > > > > > > > > > ~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag= > houseoffusion > Archive: > http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:33 > 8971 > Subscription: > http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: > http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338976 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages - one drawback
Sure is, just install the development version of ColdFusion (for free) on your local computer. Wil Genovese Sr. Web Application Developer/ Systems Administrator Trunkful Technologies, inc. wilg...@trunkful.com www.trunkful.com On Nov 8, 2010, at 5:03 PM, Rob Voyle wrote: > > Thanks guys for th e input. > > I have discovered one downside. I have a virtual private server running Cold > fusion that I host my websites. > > But to view the pages as I develop them means that I have to upload them to > the web to see the finished page. Because of my physical location the fastest > internet access is satellite which has lousy upload speed. this makes the > final > tweaking editing of pages a real bummer as I spend more time waiting for even > small pages to load to the web. > > Is there a way to view cf pages on my local computer without going to the web > server. years ago Homesite had a cut down version of CF that worked well is > there an alternative? > > Rob > > Robert J. Voyle, Psy.D. > Director, Clergy Leadership Institute > For Coaching and Training in Appreciative Inquiry > Author: Core Elements of the Appreciative Way > http://www.clergyleadership.com/ > 503-647-2378 or 503-647-2382 > On 8 Nov 2010 at 16:12, Wil Genovese wrote: > >> >> As long as you have a ColdFusion server (or one of the open source >> CFML servers) this is a perfect solution. >> >> >> Wil Genovese >> Sr. Web Application Developer/ >> Systems Administrator >> >> Trunkful Technologies, inc. >> 651-894-4238 >> wilg...@trunkful.com >> www.trunkful.com >> >> On Nov 8, 2010, at 4:08 PM, Rob Voyle wrote: >> >>> >>> Hi folks >>> >>> I am building a new website that will have about a 100 pages with >> an extensive >>> menu that will need to change over time. >>> >>> My thought is to create a separate menu file and create all the >> pages as cfm files >>> rather than html pages and use cfinclude to include the menu. That >> way I only >>> need to edit the menu file as I make changes rahter than go thru >> and update >>> 100 separate pages. >>> >>> Any downsides to doing that? >>> >>> Thanks >>> Rob >>> >>> Robert J. Voyle, Psy.D. >>> Director, Clergy Leadership Institute >>> For Coaching and Training in Appreciative Inquiry >>> Author: Core Elements of the Appreciative Way >>> http://www.clergyleadership.com/ >>> 503-647-2378 or 503-647-2382 >>> >>> >>> >> >> >> ~| >> Order the Adobe Coldfusion Anthology now! >> http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag= >> houseoffusion >> Archive: >> http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:33 >> 8971 >> Subscription: >> http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm >> Unsubscribe: >> http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm >> > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338977 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages - one drawback
> Is there a way to view cf pages on my local computer without going to the web > server. years ago Homesite had a cut down version of CF that worked well is > there an alternative? You can just download CF and install it on your local computer. It's free for development use. That's what Homesite came with, actually. It's identical to the non-free version except that it only accepts a limited number of connections. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338978 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfm vs html pages - one drawback
If you don't want to run your own dev server then you can always use www.cfmldeveloper.com instead. Russ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338982 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfm vs html pages - one drawback
Thanks Dave That has worked well. Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Core Elements of the Appreciative Way http://www.clergyleadership.com/ 503-647-2378 or 503-647-2382 On 8 Nov 2010 at 18:07, Dave Watts wrote: > > > Is there a way to view cf pages on my local computer without going > to the web > > server. years ago Homesite had a cut down version of CF that > worked well is > > there an alternative? > > You can just download CF and install it on your local computer. > It's > free for development use. That's what Homesite came with, > actually. > It's identical to the non-free version except that it only accepts > a > limited number of connections. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > > > ~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag= > houseoffusion > Archive: > http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:33 > 8978 > Subscription: > http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: > http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339105 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm