Presentation on theme: "EWD Web Applications Fragments and Actions Dima Kassab & Luis Ibanez Distributed under the Creative Commons by Attribution 3.0 LicenseCreative Commons."— Presentation transcript:
EWD Web Applications Fragments and Actions Dima Kassab & Luis Ibanez Distributed under the Creative Commons by Attribution 3.0 LicenseCreative Commons by Attribution 3.0 License
For Instructors How to setup your Sever https://github.com/SUNY-Albany-CCI/open-source-web-development- tutorial/tree/master/source/EWD/Install See: installEWD.shinstallEWD.sh See: installEWD.shinstallEWD.sh
For Students Follow the Instructions and Enjoy the Ride ! Follow the Instructions and Enjoy the Ride !
Set up your Environment Using Vim or Nano, open your file: ~/.bashrc Go to the end of the file and add the line: source /INF362-EWD/gtm/setup/add_to_bashrc.txt save the file, quit the text editor and from the command line do: source ~/.bashrc
Join the Party mkdir /INF362-EWD/Apps/username Put here YOUR Username Create your own directory
Join the Party cd /INF362-EWD/Apps/username Go to your new directory Put here YOUR Username
You need two Screens To open multiple screens in the server, use the command tmux then, to open a second screen, use the key combination CTRL+b followed by the key "c" Then you can move between the two screens with the key combination CTRL+b followed by the key "n"
Start Simple Top Level ContainerWhere Sencha Touch is Installed Write this text in a file called mobile01.ewd
Build the Application../build.sh In the same directory type the command
How about a List ? Create the file: mobile02.ewd
It look like this in Android Tap the Items, Don't be shy..
Let's add Actions Create the file: mobile03.ewd
Let's add Actions " html="You selected " /> Create the file: fragment04.ewd Then do:../build.sh Replace XX with your computer number
Let's Add Controller Code getSelectedListItem(sessid) d copyRequestValueToSession^%zewdAPI("recordNo",sessid) QUIT "" ; Create the file: ST01.m Ever heard of the M Language ? http://opensource.com/health/12/2/join-m-revolution
Let's Play Nice ! Copy the file: ST01.m /INF362-EWD/gtm/r/ST01XX.m To Replace XX with your Computer Number !
Build some More cd /INF362-EWD/gtm/o mumps../r/ST01XX.m then Replace XX with your Computer Number !
Your consent to our cookies if you continue to use this website.