80 likes | 150 Views
Lab 12: Other Languages. User Interface Lab: GUI Lab Nov. 12 th , 2013. GUI Programming Languages. Web Javascript, CSS & HTML5 De facto standard of the web Flash/Flex Games OS Specific Windows: C# Macintosh: Objective C Linux: C Mobile Android: Java, NDK (C) IOS: Objective C
E N D
Lab 12: Other Languages User Interface Lab: GUI Lab Nov. 12th, 2013
GUI Programming Languages • Web • Javascript, CSS & HTML5 • De facto standard of the web • Flash/Flex • Games • OS Specific • Windows: C# • Macintosh: Objective C • Linux: C • Mobile • Android: Java, NDK (C) • IOS: Objective C • General • Java (Swing library) • OpenGL
Moving to Open Languages • Components (MXML) are now Form elements • The rest of HTML is just markup on text and media • Interaction (Actionscript) is now Javascript • It’s incredibly similar! • Note: most positioning needs to be done in CSS, or using tables
Javascript • Remarkably similar to Actionscript, BUT • Does not have typed variables • Can interact a little more directly with HTML • document.getElementById("demo").innerHTML="My First JavaScript Function"; • Used in response to somewhat different events • onclick, onload, etc.
HTML5 • Canvas for drawing on • Still uses Javascript to define how to draw • Elements for specific kinds of media • Audio, videos, plug-ins • Some other interactions are built-in • Dragging objects • Input selectors
OS/Mobile Specific… • Java • C