instant web sites using coldfusion md cfug 1/11/2005 presented by jon brundage accessibility...

10
Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind @ windcompany .com

Upload: owen-townsend

Post on 28-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Instant Web Sites Using ColdFusion

MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer

[email protected]

Page 2: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

The Power of CF A great CF Page:

An empty canvas for you to create upon!

Page 3: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

The concept We are setting up a domain to allow

customers to create a web site. Each Customer site is created via a

series of forms. All the information needed to make

the pages is stored in a database. CF variables control the site.

Page 4: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Some assumptions We have already created an

account for the customer A great deal of validation and error

handling would be added in a production environment.

Javascript is supported.

Page 5: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Set-up Extract internetmusicsites folder to

WWWroot folder on CF server Create datasource

“internetmusicsites” that maps to internetmusicsites.mdb (MS Access) in the /database folder

Page 6: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Application flow Customers log in Go through “Wizard” that builds

site Subsequent log-ins allow them to

edit the site

Page 7: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Wizard Step 1 Builds Home page Enters basic information such as

site name, address, and contact information.

Chooses style sheet

Page 8: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Wizard steps 2 to 4 Chose an image for the header Upload a picture Add some event information

Page 9: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Exercise: create edit pages Provide pages for customers to

edit pages. When they log-in, check for

existence of site name- if “no” then go through wizard, otherwise provide edit pages.

Page 10: Instant Web Sites Using ColdFusion MD CFUG 1/11/2005 Presented by Jon Brundage Accessibility Consultant, CF developer Jonwind@windcompany.com

Thanks to you and TeraTech! Jon Brundage [email protected]

Independent consultant for Web Accessibility (Section 508 and W3C Web Accessibility Initiative)

Web site consulting and development If you need more information on the architecture

of this site, consult my previous presentation (April 2003) “Page layout and navigation in CF” http://www.cfug-md.org/meetings.cfm

Thanks to Charlie Arehart for CF custom tag “textareaformat.cfm”