wap cfprog

Information about wap cfprog

Published on March 25, 2008

Author: Alohomora

Source: authorstream.com

Content

Wireless Possibilities for CF Programmers:  Wireless Possibilities for CF Programmers Charles Arehart Founder/CTO, Systemanage [email protected] © 2001 Charles Arehart, Agenda:  Agenda Quick Intro to Wireless Development Looking at it from a CF Point of View Getting and Using WAP Emulators Developer Resources for Learning More Common Challenges for WAP Developers Considering Advanced Features Industry Trends and Battle Lines Audience:  Audience Those considering deploying wireless applications (WAP in particular) Should you? Shouldn’t you? Why? Those who are cynical about WAP Why you should or shouldn’t be All should come away with greater understanding of issues, opportunities Who Am I?:  Who Am I? Author of monthly Journeyman ColdFusion article in CFDJ Speaker at Allaire Developers Conference and CFUGs around the country, on all manner of CF and related topics Recent focus on wireless application development Co-author of, Professional WAP (Wrox Press, 2000) Speaker at: Wrox Press Wireless Developer Conference in Amsterdam Wireless DevCon in San Jose in December A trainer by trade, programmer at heart, with nearly 20 years IT experience What is WAP?:  What is WAP? WAP: Wireless Application Protocol A well-defined and broadly supported standard for sending data to wireless phones and other devices Managed by the wapforum (wapforum.org), supported by hundreds of members: Phone manufacturers Phone service providers Content providers Developers Bottom line: a way to access web content customized for small, mobile devices Is All Wireless Data Comm. Based on WAP?:  Is All Wireless Data Comm. Based on WAP? WAP is definitely not the only game Just one of many players in the wireless data communication space Others include Palm Computing Platform I-mode (hugely popular in Japan) Java based (J2ME MIDp) Microsoft Mobile Explorer Symbian Epoch And more We will focus on WAP, discuss others later So, How Does WAP Work?:  So, How Does WAP Work? From Phone.com¹ (maker of up.link server) ¹ Phone.com is now known as OpenWave What is WML?:  What is WML? WML: Wireless Markup Language The language of choice for defining layout and appearance of WAP sites Looks and acts very much like HTML Designed for the limited display and keyboard input features of today’s phones Generally can only be viewed in phones or “phone emulators” There are significant differences. Not really HTML-lite. Differences in tags Differences in how it’s coded WML “Hello World” Code:  WML “Hello World” Code <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card> <p> Hello World! </p> </card> </wml> Notice: 2 head tags, new non-HTML tags WML tags are entered lowercase, always closed (WML is a subset of XML), text must be within <p></p> tags Might be stored as a “hello.wml” Will show were to learn more about WML WML “Hello World” Code in CF:  WML “Hello World” Code in CF <CFCONTENT TYPE="text/vnd.wap.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> <p> <CFSET name=“Buck Williams”> <CFOUTPUT>Hello #name#!</CFOUTPUT> </p> </card> </wml> Notice: CFCONTENT tag <?xml> tag on same line Might be stored as a “hello.cfm” Using WAP in CF Apps:  Using WAP in CF Apps Can any CF Server serve WML? Certainly. All you need is the CFCONTENT tag and WML content in your template Can any browser view WML pages? No, only phones and phone emulators can view output of a page sent as WML Can WML do forms? Support URL variables? Yes, all based on HTTP. CF treats it just like regular HTML pages in that respect All capabilities of CF can be used to generate WML just as if generating HTML Can Your Phone “Do” WAP?:  Can Your Phone “Do” WAP? WAP services enabled by phone and phone service provider Most recently manufactured phones are enabled to do WAP (or older form, HDML) Major wireless service providers (ATT, Sprint, Verizon, etc.) all support Some charge a monthly fee, or charge per minute (or both); some offer services free Can Any Site be Browsed on Phone?:  Can Any Site be Browsed on Phone? Some assert that tools can convert HTML sites to WML on the fly Doesn’t work well in real world Only sites designed specifically for WAP will render effectively Not difficult to create “wap sites” Coded with WML Targeted for phones and mobile users Easy, drill-down navigation Few keystrokes Remember past visits Quick Demo:  Quick Demo Let’s visit a major WAP site, Amazon Using a PC-based WAP emulator Allows display of real WAP interface on PC More on emulators in a moment Getting an emulator:  Getting an emulator Several to choose from, all free Mostly provided by phone manufacturers, or “phone browser” vendors Most popular may be that of phone.com Visit developer.phone.com Download the up.sdk, free No longer need to register (except to use advanced features) Easy to install, includes lots of WAP docs Should Web Developers Get Excited?:  Should Web Developers Get Excited? WML Development is very much akin to web development WAP is based on HTTP (architecture of web) WML is similar to HTML (some differences to support smaller devices, different network) Tools like ColdFusion, ASP, JSP, PHP can be used to create dynamic WML pages More and more WAP sites coming out People will become more and more comfortable and familiar with idea Companies will seek to WAP-enable their sites Developers can easily provide solutions Some Major Brand Sites Using WAP Today:  Some Major Brand Sites Using WAP Today ABCNews.com (abcnews.go.com) ESPN (espn.go.com) USA Today (usatoday.com) Wall Stree Journal (wsj.com) Barnes and Noble (mobile.bn.com) Weather Channel (weather.com) CBS Sportline.com (cbs.sportsline.com) Edmunds.com (mobile.edmunds.com) Zagat (Zagat.com) And more Some Major Tech Sites Using WAP Today:  Some Major Tech Sites Using WAP Today AOL (aol.com/anwywhere) Yahoo (yahoo.com) eBay (ebay.com) Expedia.com, travelocity.com Mapquest.com E*Trade (www.etrade.com), Schwab ZDnet (zdnet.com) And more Some Unique Mobile Applications Available:  Some Unique Mobile Applications Available biztravel (biztravel.com) comprehensive travel information for frequent business travelers iQradio (iqradio.com) interactive nationwide radio station directory NextBus (nextbus.com) Real-time arrival info for arriving bus or train (in select cities, tracked via satellite) TrafficStation (trafficstation.com) Personal Traffic Advisor, area reports, personalized, route-specific traffic reports, Personal Traffic Advisor Telewarning System Learning More:  Learning More Books Phone, Emulator Documentation Wireless Service Providers WAP Developer Portals Magazines Mailing Lists Top 10 Usability Guidelines for WAP Applications Books:  Books Several Books Professional WAP Beginning WAP: WML and WMLScript WAP Development with WML and WMLScript Programming Applications with the Wireless Application Protocol And more every month Most include reference materials, topic discussions, complete apps Phone Manufacturers’ SDKs and Documentation:  Phone Manufacturers’ SDKs and Documentation Software Development Kits (SDKs) OpenWave (Phone.com) Nokia (nokia.com) Ericsson (ericsson.com) Most contain documentation, developer guidelines, emulators, editors Code created (and tools and documentation offered) generally apply to any WML device Wireless Service Providers:  Wireless Service Providers Several in US/Canada ATT PocketNet (attws.com) Sprint PCS (sprintpcs.com) Verizon (verizonwireless.com) Nextel (nextel.com) And more Others in Europe, Asia, elsewhere Most also offer developer sites, documentation, and some tools Also highlights about current and new WAP content providers Wireless Developer Portals:  Wireless Developer Portals Several rich wireless developer portals Anywhereyougo (ayg.com) Wireless Dev Net (wirelessdevnet.com) AllNetDevices (allnetdevices.com) WapUSeek (wapuseek.co.uk) And more Usually very rich and deep with: news, market analysis, technical articles, links to other resources and sites, reviews of hardware and software, and lots more Magazines:  Magazines Many magazines discuss WAP/WML, but these are focused on the industry and technology: Wireless Business and Technology (www.sys-con.com) Mbusiness (mbizcentral.com) Certainly are others Technical articles, industry analysis, software/architecture/hardware comparisons, and more See my 2 articles on WAP in CFDJ, at www.coldfusionjournal.com Mailing Lists:  Mailing Lists See all the portals, phone manufacturers, and wireless phone service providers Also see: Wrox WAP discussion list (p2p.wrox.com) CF Wireless mailing list (http://www.bromby.com/cfwireless/) LearnASP WAP discussion list (learnasp.com) Common Developer Challenges:  Common Developer Challenges No time to discuss in detail. See any of the portals, books, magazines, and discussion lists for more See my Wireless DevCon presentation at: www.systemanage.com/presentations/ Issues include: Browser incompatibility issues Browser detection in server-side code Problems using cookies (not always supported) Error handling challenges (returned in HTML) and more Extended Features Available:  Extended Features Available Again, no time to discuss in detail. See those previous resources for more Issues include: Security (WTLS/SSL, and “wap gap”) Location sensing Push/notification Using XML/XSLT WMLScript and more Is WAP Crap? :  Is WAP Crap? Explanations for Some Disappointment Unfortunate over-hype of "web surfing via phone" Evangelists of competing technologies Slow uptake in US Variety of networks Melodramatic bandwidth concerns Varied implementation of features on different phones Tiny interface and keypad on current phones Not Quite as Bad as All That:  Not Quite as Bad as All That Great services exist, targeted to phone interface and info needs Huge number of phones supporting WAP Tendency for people to keep phones for nearly 2 years Better phones are coming G3, very high bandwidth, is coming Consider your audience and where they are Easy to develop WAP applications Frequent WAP Battle Lines:  Frequent WAP Battle Lines WAP vs HDML Phone.com vs The World WAP in US vs WAP in Europe WAP vs I-mode More about the network and devices, cHTML WAP vs Java WAP vs MME (MS Mobile Explorer) WAP vs Palm WAP vs AvantGo WAP vs Bluetooth Proceeding with WAP for Now:  Proceeding with WAP for Now These battles will rage on for a while We’ve seen that many businesses have made substantial investments in WAP It’s very easy to get into Explore it, keeping an eye on mailing lists and magazines Create a simple sample Get over initial humps Try wap-enabling some small part of site Keep in contact with others doing it Go forth and enjoy! Slide33:  Questions Evaluation forms? Contact: [email protected] Available for training, mentoring, short-term consulting (1-3 days): Wireless development All manner of CF topics, beginner-adv Maximizing developer productivity Database design, Int/Adv SQL topics Testing, Source Code Control, and more

Related presentations


Other presentations created by Alohomora

Learning The Months Of the Year
02. 11. 2007
0 views

Learning The Months Of the Year

HIV STDs Presentation
06. 08. 2007
0 views

HIV STDs Presentation

17 Supply Chain
15. 11. 2007
0 views

17 Supply Chain

duxbury asa
04. 10. 2007
0 views

duxbury asa

Review Week 19
04. 10. 2007
0 views

Review Week 19

ChaneyPres2
16. 10. 2007
0 views

ChaneyPres2

collab filtering tutorial
17. 10. 2007
0 views

collab filtering tutorial

Winderemere Shibboleth 2005 11
17. 10. 2007
0 views

Winderemere Shibboleth 2005 11

1940 1950
23. 10. 2007
0 views

1940 1950

Curso Chagas clase 1
23. 10. 2007
0 views

Curso Chagas clase 1

eplan en
26. 11. 2007
0 views

eplan en

Angiosperms and Gymnosperms
07. 12. 2007
0 views

Angiosperms and Gymnosperms

ns1
13. 10. 2007
0 views

ns1

dahl poster
26. 08. 2007
0 views

dahl poster

RuneGangeskar
07. 11. 2007
0 views

RuneGangeskar

VOCsLouisville 5 18a AHewitt
07. 11. 2007
0 views

VOCsLouisville 5 18a AHewitt

darkts mlecture
13. 11. 2007
0 views

darkts mlecture

Ipertesto
24. 10. 2007
0 views

Ipertesto

SheepGoatHealth
15. 11. 2007
0 views

SheepGoatHealth

IntroLFG2
22. 11. 2007
0 views

IntroLFG2

HERC Waste Summit
14. 11. 2007
0 views

HERC Waste Summit

ENGS11 2007 ERP
28. 12. 2007
0 views

ENGS11 2007 ERP

Kerr
28. 11. 2007
0 views

Kerr

Bourgault
03. 01. 2008
0 views

Bourgault

CHM 103 Lecture 17 S07
03. 01. 2008
0 views

CHM 103 Lecture 17 S07

Stock
26. 10. 2007
0 views

Stock

russian project proposals plus
05. 01. 2008
0 views

russian project proposals plus

Heredity
06. 08. 2007
0 views

Heredity

interest
06. 08. 2007
0 views

interest

HowAdultsReallyLearn PPt1 13 05
06. 08. 2007
0 views

HowAdultsReallyLearn PPt1 13 05

neutrino
05. 01. 2008
0 views

neutrino

Early chemotherapy
15. 10. 2007
0 views

Early chemotherapy

pdb95
15. 10. 2007
0 views

pdb95

18 DanceLanguage
16. 10. 2007
0 views

18 DanceLanguage

Hermez
06. 08. 2007
0 views

Hermez

NIC
15. 10. 2007
0 views

NIC

indicators
23. 10. 2007
0 views

indicators

BodyPsychotherapy
17. 10. 2007
0 views

BodyPsychotherapy

cikm05 ium
19. 11. 2007
0 views

cikm05 ium

Strock
28. 02. 2008
0 views

Strock

Okereke King County
26. 08. 2007
0 views

Okereke King County

Quotable quotes 070508
26. 03. 2008
0 views

Quotable quotes 070508

e31 glob
07. 04. 2008
0 views

e31 glob

WCG CHAPTER13
27. 03. 2008
0 views

WCG CHAPTER13

KeenWhatsBehindRecor dDebt
09. 04. 2008
0 views

KeenWhatsBehindRecor dDebt

lecture05
10. 04. 2008
0 views

lecture05

GEO205 powerpoint 10
13. 04. 2008
0 views

GEO205 powerpoint 10

4903
14. 04. 2008
0 views

4903

021003 Pang Slides
16. 04. 2008
0 views

021003 Pang Slides

wward
17. 10. 2007
0 views

wward

UMBC presentation 050406
17. 04. 2008
0 views

UMBC presentation 050406

Eureka Gold Real Estate
22. 04. 2008
0 views

Eureka Gold Real Estate

IntroPolicy
07. 10. 2007
0 views

IntroPolicy

ncb klein brief01feb06
04. 03. 2008
0 views

ncb klein brief01feb06

26 canadian
18. 06. 2007
0 views

26 canadian

20 Grund Kurs Kurortmedizin 2005
18. 06. 2007
0 views

20 Grund Kurs Kurortmedizin 2005

wrapebs
18. 06. 2007
0 views

wrapebs

wirsindspoe
18. 06. 2007
0 views

wirsindspoe

Wagemans stud
18. 06. 2007
0 views

Wagemans stud

sgtalk eg 2k4a1
16. 10. 2007
0 views

sgtalk eg 2k4a1

Asset Trade In
18. 06. 2007
0 views

Asset Trade In

arte moderno
18. 06. 2007
0 views

arte moderno

AP Presentation
18. 06. 2007
0 views

AP Presentation

Americas Tour
18. 06. 2007
0 views

Americas Tour

African Americans A Z
18. 06. 2007
0 views

African Americans A Z

Advantage Webinar
18. 06. 2007
0 views

Advantage Webinar

56 personnel Schlegel
18. 06. 2007
0 views

56 personnel Schlegel

VRP15
26. 02. 2008
0 views

VRP15

GIApowerpoint
06. 08. 2007
0 views

GIApowerpoint

heck
15. 10. 2007
0 views

heck

amore travagliato
18. 06. 2007
0 views

amore travagliato

George HseTrust HIV Lawn
06. 08. 2007
0 views

George HseTrust HIV Lawn

Missao ACentral
22. 10. 2007
0 views

Missao ACentral

fun at work presentatie
15. 06. 2007
0 views

fun at work presentatie

Ellesparlentdeshommes
15. 06. 2007
0 views

Ellesparlentdeshommes

donde esta mama1
15. 06. 2007
0 views

donde esta mama1

Cs101 Lec34
15. 06. 2007
0 views

Cs101 Lec34

Creationism
15. 06. 2007
0 views

Creationism

close your eyes
15. 06. 2007
0 views

close your eyes

Cat V2
15. 06. 2007
0 views

Cat V2

projectmamage
12. 10. 2007
0 views

projectmamage

Healthmanagement7
29. 02. 2008
0 views

Healthmanagement7

area riservata 2006
18. 06. 2007
0 views

area riservata 2006

dominguez hills
26. 08. 2007
0 views

dominguez hills

University Forum Feb 232005
03. 01. 2008
0 views

University Forum Feb 232005

4 cornerstone readership
18. 06. 2007
0 views

4 cornerstone readership

Where is the Donkey
01. 11. 2007
0 views

Where is the Donkey

agbus 435 lec9 f04
29. 10. 2007
0 views

agbus 435 lec9 f04

conchicoll
15. 10. 2007
0 views

conchicoll

nystax
27. 09. 2007
0 views

nystax

RussianAFMuseum
02. 10. 2007
0 views

RussianAFMuseum

weitz
24. 02. 2008
0 views

weitz

Jean McLellan
06. 08. 2007
0 views

Jean McLellan

Andrey Uroda
26. 10. 2007
0 views

Andrey Uroda

ED Lafco Present092805chew
26. 08. 2007
0 views

ED Lafco Present092805chew

buckinghamshirecc
26. 10. 2007
0 views

buckinghamshirecc

232nm14
30. 10. 2007
0 views

232nm14

Growingup Healthy with AFHK logo
06. 08. 2007
0 views

Growingup Healthy with AFHK logo