Page 66 - DCAP512_WAP_AND_WML
P. 66

WAP & WML




                    Notes          Server-Side Programming
                                      JavaScript
                                      Visual Basic
                                      Perl

                                      CGI
                                      ASP
                                      Java
                                   Server-side programs or scripts will support most advanced wireless applications.

                                      Dynamic content generation
                                      CGI programs or Servlets
                                      ASP, JavaScript, Perl subroutines.
                                   The bulk development will be on the server side.




                                     Notes  The art of programming for WML depends on how finely data is extracted and
                                     served to the mobile device.

                                   5.5 WML Tasks

                                   A task specifies what action to perform when an event, like entering a card or selecting a link,
                                   occurs.
                                   Go Task
                                   The <go> task represents the action of switching to a new card.
                                   <?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>
                                    <anchor>
                                     Go To Test
                                     <go href="test.wml"/>

                                    </anchor>
                                   </p>
                                   </card>

                                   </wml>
                                   Prev Task




          60                                LOVELY PROFESSIONAL UNIVERSITY
   61   62   63   64   65   66   67   68   69   70   71