In many cases, you can still use WAP's standard WML to write your
applications, but not WMLscript. The upside of this is that older handsets,
which might support only early versions of HDML, are supported by the Phone.com
gateways.
If possible, you'll always want to code in WML instead of HDML simply because
WML is an XML language and HDML is not. Coding in WML will give you more options
for dynamically generating and manipulating your data in the future, and will
almost certainly allow eas-ier interoperability with other data assets.
In contrast, most of Europe and Asia support the WAP 1.1 standard in both
handsets and gateways. In these markets, applications written using HDML may or
may not work, depending on the type of WAP gateway used. If the gateway
automatically translates HDML to WML, such as Phone.com's version 4.x WAP
gateway product, then you might be OK-provided your HDML can be accurately
translated into WML.
For many businesses, the biggest hurdle with WAP is simply getting their
existing Web content into WML. Compared with HTML, WML is a stark, threadbare
display language, but is also quite simple.
As a rule of thumb, only the most essential information ends up on a WML
page, since WML pages are typically less than 50 characters long. Thus, HTML Web
pages aren't simply reduced to fit onto wireless devices-they're usually
completely reengineered. For example, graphics are rarely, if ever, used in the
wireless domain.
WAP allows only its own 1-bit graphics format, called Wireless BitMap, which
is typically only used for applications that demand graphics, such as
map-locator applications.
Developing WAP applications turns out to be much like creating Web
applications for the Internet. The main difference is that your Web server will
be serving up WML pages instead of HTML pages. Just as with Internet Web
applications, Common Gateway Interface programs, Java servlets, and other
server-side mechanisms can be used to help create interesting and dynamic WAP
applications.
In addition, several comprehensive free toolkits that include software cell
phone emulators, WAP gateway scaffolds, and WML syntax checkers to help build
and test WAP applications are available