Building Wireless (WML) Apps With ColdFusion. Why Should You Stay? Why Should You Care? Charlie Arehart. Syste Manage

Similar documents
Building Dynamic WAP Applications with ColdFusion

Remote Development in Cold Fusion. Speaker Background. Introduction. More Than Meets the Eye FT Collins National CF Conference, July 1998

CF and JSP/Servlets. Topics Covered. What are they? Developed originally by Robi Sen For the CF UnderGround II Seminar, Apr 2001

New in CFMX 6&7. What did you miss? Charlie Arehart, Independent Consultant

Step Through Your CFML Code With FusionDebug. Charlie Arehart

ColdFusion: Just the Basics. Who Am I? Who Are You? Web site developer. Web application developer or development manager who s heard of ColdFusion

M.SARAVANA KARTHIKEYAN

Adobe ColdFusion level 1 course content (3-day)

Outline. CS5984 Mobile Computing HTTP. HTTP (especially 1.0) Problems 1/2. Dr. Ayman Abdel-Hamid, CS5984. Wireless Web.

Going From CF to Java

INTRODUCTION TO COLDFUSION 8

Developing Wireless Applications for Multiple Geographies. Christopher Koppe Speedware Corporation

Glossary. ADO.NET ActiveX Data Objects for.net. A set of data access technologies included in the.net Framework class libraries.

TECHNICAL HELP: PRESS * 0

C-Gate Server Application CGI User s Guide CG Series

Agenda. CFMX Hidden Gems. Not as Big, But Promoted. The Big New Things. Cookies Set Before CFLOCATION No Longer Lost!

Charlie Arehart Founder/CTO Systemanage SysteManage: our practice makes you perfect SM

Module1. Getting Started on the Wireless Web. The Goals of This Module

Location Protocols. Version 12-Sept Wireless Application Protocol WAP-257-LOCPROT a

WAP. Bringing the internet to you. Cynthia Luk Marianne Morris Harvey Wong. 4 April, 2002 CMPUT 499

Using ASP to generate dynamic WAP content

Mobile Station Execution Environment (MExE( MExE) Developing web applications for PDAs and Cellphones. WAP (Wireless Application Protocol)

Slicing and Dicing Data in CF and SQL: Part 1

Topics Augmenting Application.cfm with Filters. What a filter can do. What s a filter? What s it got to do with. Isn t it a java thing?

3. WWW and HTTP. Fig.3.1 Architecture of WWW

Potential Threats to Mobile Network Security

Unraveling the Mysteries of J2EE Web Application Communications

Using ColdFusion CHAPTER. In this chapter. Working with Templates. Using Functions. Using Variables. Working with Expressions

Glossary 1. ARPU or Average Revenue per User A method of measuring revenue associated with the delivery of mobile commerce services by MNOs.

Mobile Applications - 1 Vehicles transmission of news, road condition etc ad-hoc network with near vehicles to prevent accidents

What Dropbox Can t Do For Your Business

4. B2C,B2E Systems: Concepts and Architectures

Developing Mobile Applications

Wireless Access Protocol(WAP) architecture

Slicing and Dicing Data in CF and SQL: Part 2

The Now Platform Reference Guide

Lesson 1 Key-Terms Meanings: Web Connectivity of Devices and Devices Network

Enabling the Wireless Internet

PHP6 AND MYSQL BIBLE BY STEVE SUEHRING, TIM CONVERSE, JOYCE PARK

Wireless Internet: layers 3,4,5. Wireless Internet: Layers 3,4,5 Case Study: WAP. WAP: Wireless Application Protocol

Web Push Notification

Professional JSP : Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, And WML By Karl Avedal, Danny Ayers

First Simple Interactive JSP example

Using Java servlets to generate dynamic WAP content

COSC 2206 Internet Tools. The HTTP Protocol

Read & Download (PDF Kindle) Advanced Cold Fusion 4 Application Development

Steps To Create Approval Workflow In Sharepoint Designer 2007

$99.95 per user. SQL Server 2005 Reporting Services CourseId: 154 Skill level: Run Time: 17+ hours (99 videos)

Chapter 3. Technology Adopted. 3.1 Introduction

Writing Secure CFML Pete Freitag, Foundeo Inc. foundeo

HTML5 Responsive Notify 2 DMXzone

This document is intended for use by Nagios Administrators that want to use Slack for notifications.

WAP Access to SCADA-Typed Database System

Many CFML developers have felt that the one thing missing from their arsenal of tools

Wireless Application Protocol WAP. F. Ricci 2008/2009

EEC-682/782 Computer Networks I

Partner Integration Portal (PIP) Installation Guide

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

COMP519 Practical 5 JavaScript (1)

Setting up a ColdFusion Workstation

GRAPHICAL SIMULATION OF WIRELESS APPLICATION PROTOCOL

User Manual. Admin Report Kit for IIS (ARKIIS)

Lesson 1: Writing Your First JavaScript

WAP/ WML : Wireless Protocol wireless protocol

ThinAir Server Platform White Paper June 2000

Get to know SysKit Monitor

Windows 10 Tips and Tricks

1.1 A Brief Intro to the Internet

Charlie Arehart Independent Consultant

Introduction to Web Development

Introduction to LAN/WAN. Application Layer (Part III)

1.1 A Brief Intro to the Internet

1.1 A Brief Intro to the Internet

Client Side JavaScript and AJAX

FACEBOOK SAFETY FOR JOURNALISTS. Thanks to these partners for reviewing these safety guidelines:

MUM - Beirut, Lebanon - June 14 th 2016

POSTER SESSION. Wireless Cardiology Decision Support System. Proceedings Paper. Slide Presentation. Dr. Saji Salam SSI Technologies Chennai, India

Introduction to Web Technologies

DISCIPLINE SPECIFIC 4: WIRELESS APPLICATION PROTOCOL Semester : VI Course Code : 16UCS504 Syllabus UNIT II: The Wireless Markup Language: Overview

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

Developing WML applications using PHP

Changing The User Agent String In Safari User Guide For Web Developers

Web Standards. Web Technologies. Web Standards. URI and URL

ColdFusion MX 7, Learning the new features

SECURE SMART GRID DEVICE for HOME AREA NETWORKS Using WIRELESS APPLICATION PROTOCOL

[DOC] CISCO ACE 4700 CONFIGURATION EXAMPLE DOWNLOAD

Planning and Designing Your Site p. 109 Design Concepts p. 116 Summary p. 118 Defining Your Site p. 119 The Files Panel p. 119 Accessing Your Remote

Sophos Mobile Control Technical guide

Hands-On Perl Scripting and CGI Programming


MULTI-PLATFORM MESSAGING FOR WAP-ENABLED DEVICES DEBUTS.: An Article From: Telephone IP News [HTML] [Digital] READ ONLINE

WAP Development at 30,000 Feet

V2.0.0 (Release 2004)

QQWebAgent and QQMarketing Dashboard Quick Start Guide

SynapSense Software. Installation Manual. Release 7.1 Issue 1

Cross-Site Request Forgery: The Sleeping Giant. Jeremiah Grossman Founder and CTO, WhiteHat Security

DESIGN AND DEVELOPMENT OF WAP SERVICE ON GEOMAGNETIC ACTIVITY

Release Notes for iplanet Portal Server: Mobile Access Pack

Macromedia Flash MX Professional 2004 For Server Geeks By Nate Weiss READ ONLINE

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes

Transcription:

Building Wireless (WML) Apps With ColdFusion Charlie Arehart Syste Manage Carehart@systemanage.com CFUN2K Conference July 2000 Why Should You Stay?! In this session you ll learn: what wireless apps are and why they re useful what WAP is and why it s very intriguing how to build dynamic WAP apps w/ CF! Audience: both new and experienced CF developers Why Should You Care?! 80% of US wireless phones will soon be WAP-compliant! You can code apps for all of them, today, in CF!

What Will We Cover, Specifically?! Preaching the Good News of WML What are Wireless Web Apps About? What Makes Them So Great? Introduction to WML, the Early Leader for Building Them! Preaching to the Choir Serving WAP Content via ColdFusion Studio Features for Creating WAP Apps Tricks and Traps Who Am I?! Founder, CTO of SysteManage focusing on ColdFusion and wireless app dev, training formerly with Fig Leaf Software! Author contributor to Wrox s Professional WAP Programming contributor, tech editor of ColdFusion For Dummies! Allaire Certified Trainer & Developer! 20 Years IT Experience What are Wireless Web Apps About?! The Technologies, Devices & Networks Approaches! Palm, Mobile Explorer, WAP Phones, PDA s, etc Sprint, ATT, etc.! What's Working Now US Europe Japan

Examples! Some Wireless Enabled Business Sites/Services Yahoo BizTravel Weather Movies Stock Quotes Ebay Anywhere Amazon Advertising Payments Flooz What Makes Them So Great?! Universally accessible! Simple interfaces! Easily programmed! Location Sensitive! Nearly always on! Ability to receive notifications/messages! WML is easy to learn Alphabet Soup! WAP Wireless Access Protocol! WML Wireless Markup Language! HDML Predecessor to WML! WMLScript Lightweight scripting language for WML browsers

Hello World in WML <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN "http://www.wapforum.org/dtd/wml_1.1.xml"> <wml> <card> Hello World!<br/> Welcome to WML </p> </card> Typically served as a.wml file Serving WAP Content via ColdFusion! CF-generated pages are.cfm files rather than.wml files! Must set mime type for page <CFCONTENT TYPE= text/vnd.wap.wml >! Tells WML browser to expect WML similar setting for sending WMLScript Complete Skeletal CF/WML <CFCONTENT TYPE="text/vnd.wap.wml"><?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.phone.com/dtd/wml11.dtd" > <wml> <card> </card> </wml>! Note <?xml> tag on first line is placed next to CFCONTENT! prevents extra carriage return before <?xml>

Where to Go From There?! Learn WML place any valid WML on page! WML is different from HTML, do need to learn it use any ColdFusion tags to create WML code! can generate WML from database, or based on data gathered from other objects, applications, or sites perform actions in support of WML processing! can search/store data in databases, generate email, pass data to other objects, applications, or sites Cookin Up Some CF Examples! Form processing! Form-driven query processing! Dynamic select list! Identifying CGI Vars! CFHTTP agents! Source Code to be loaded on Conference Web Site Some CF/WML Traps! CFCONTENT Problems can be turned off by admin not supported in CFExpress! Studio Support based on Phone.com WML option may enter tags in upper case! CF s HTML Heritage CF Error messages, debugging output both in HTML format! Discussed Further in Pro WAP, Chapter 11

An Ounce of Prevention! Setup Application.cfm Turn off debugging Set up error handler! Can t use normal CFERROR type= request Can t use CFCONTENT! Can use type= exception in 4.5 Allows any CF tags Can catch many errors! Place it in same directory as WML code preferably a wml-only directory! Discussed Further in Pro WAP, Chapter 11 Some CF Tricks! Circumventing CFCONTENT restriction! Browser Detection! Converting semi-colon delimited multiple SELECT values! Escaping # and $! Discussed Further in Pro WAP, Chapter 11 Something Not in the Book! Phone.com browsers support sending messages to phone Called notification Documented as examples in Perl and C Can do in CF, just need to convert to CFOBJECT and object references

Using Phone.com Notification <cfobject TYPE="COM" ACTION="CREATE" NAME="ntfn" CLASS="Ntfn3Client.Ntfn3Client.1"> <cfoutput> Setting host: #ntfn.ntfnsethost("yourserver")# <p> Timeout value: #ntfn.ntfngettimeout()# <p> Posting alert: #ntfn.ntfnpostalert('yourid','yourwebpage',0,'d---','test',4)# <p> Result: #ntfn.ntfngetlastresult()# </cfoutput> <p> <cfif ntfn.ntfngetlastresult() is "204"> Result was ok (204 is good) </cfif> Classic WML Traps! Use well-formed WML <p></p> surrounding text <br/> rather than <br>! Lower case WML elements <card>, not <CARD>! Passing multiple URL parms Use & not &! WML Supports client variables They re persistent within session and SHARED among all apps on phone Classic WML Traps (Cont)! Do redirection with server-root relative paths not simply relative to current file, applies to CFLOCATION as well! Use get rather than post for forms

Studio 4.5 Features for Creating WAP Apps! Creating WML Pages New Page wizard! Adding WML tags tag insight, validation tag chooser! Editing WML Tags tag editors! Getting Help F1, help w/in tag editors Much More to Learn! Simulators Several, including some web-based ones! Gateways Don t need one, generally offered by phone company! Phone Differences Not all use phone.com browser, even then not all same! Security SSL is supported (WTLS) but not encrypted end-to-end! Sending information to phones Notification in phone.com, Push in WAP specs, SMS! Location/Personal Identification Not reported by all phones, gateways; privacy issues! Many more issues than can be covered here CF/WML Resources! CF Chapter in Professional WAP from Wrox Press Chapter available in pdf on conference cd! Magazine Articles January (Ben Forta), Aug-Oct 2000 (mine)! Some sites http://www.wapuseek.co.uk/wap_cf.cfm http://www.systemanage.com/wml/ http://forums.allaire.com! CF-WAP Mailing list sign up at! http://www.houseoffusion.com

Generic WML Resources! Wirelessdevnet.com! Anywhereyougo.com! Wapuseek.com! Wapforum.org! Wap.com! Wap.colorline.no! Soon, Wireless Journal Crossing the Finish Line! Dynamically generated WML is a powerful tool! ColdFusion is especially well-suited! Taking your sites to this next step will open new worlds of possibility CF/WAP Consulting and Training! For more information on ColdFusion and/or WAP consulting and training, please contact Charlie Arehart, CTO, Systemanage carehart@systemanage.com (voice) 301 604 8399 http://www.systemanage.com