WTK for APWTCL (WebTk for APWTCL) 1.

Slides:



Advertisements
Similar presentations
ASP.NET Intro An introduction to the languages and communication of an ASP.NET system.
Advertisements

MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
UbiStream Motivation  Streaming data are abundant in our surroundings: Length of queue at cafeteria If the stadium is crowded or not Course.
Where Do I Start REFERENCE: LEARNING WEB DESIGN (4 TH EDITION) BY ROBBINS 2012 – CHAPTER 1 (PP. 3 – 14)
An Overview of Qt - asankar1. Agenda About Qt –A brief intro of Qt Qt development tools –Tools used for building Qt application Qt Architecture –The underlying.
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Graphical User Interfaces in Haskell Koen Lindström Claessen.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
Software Requirements Specification (SRS)
Getting to Know TiVo: The Home Media Engine (HME SDK) Eric M. Upchurch CS 525 Spring 2008.
JavaScript II ECT 270 Robin Burke. Outline JavaScript review Processing Syntax Events and event handling Form validation.
Android Husam Abdel Rahman. Introduction Android Operating system is most popular operating system these days with the advance in voice communications.
ROOT Team Meeting October 1 st 2010 GUI thinking and testing ideas OpenGL GUI Root Team meeting 01/10/2010.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
JavaScript - A Web Script Language Fred Durao
AJAX Compiled from “AJAX Programming” [Sang Shin] (Asynchronous JavaScript and XML)
Copyright © by Shayne R Flint Simplified Web Application Development Shayne R Flint Department of Computer Science Australian National University.
ROOT’s graphics on iOS. ROOT’s graphics (general scheme):
1 3D API OPENGL ES v1.0 Owned by Silicon Graphics (SGL) Control was then transferred to Khronos Group Introduction.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
Graphics Concepts CS 2302, Fall /17/20142 Drawing in Android.
Graphics Pipeline Bringing it all together. Implementation The goal of computer graphics is to take the data out of computer memory and put it up on the.
Threads and Swing Multithreading. Contents I. Simulation on Inserting and Removing Items in a Combo Box II. Event Dispatch Thread III. Rules for Running.
ODFKit and WebODF Getting up to speed ● ODF ● ODFKit ● WebODF Discussion and brainstorming ● How would you use it? ● Office use-cases in 2010 and beyond.
Netbeanstcl (A netbeans plugin for Tcl) A GSoC (Google Summer of Code) Project by Michal Poczwardowski.
Itcl-ng Status. History Implementation started about 4 years ago October 2008 Itcl4.0a release December 2008 Itcl4.0b1 February 2009 Itcl4.0b2 October.
Computer Graphics Lecture 1 Introduction to Computer Graphics
>> Form Data Validation in JavaScript
Android Mobile Application Development
CST 1101 Problem Solving Using Computers
Mobile Application Development with MeeGo™ - Touch Apps & UI Design
Tk Widgets in Javascript
A look ahead: At the end of your project, you’ll be given an opportunity to make a standalone (.exe) version of your project. For this to work, you’ll.
The CareWeb Framework Douglas K. Martin, MD
GUI plans of work Revisit (reimplement) a new TreeViewer, possibly based on something like Viewpoints (see next slide) (
Starboard Training guide
“Under the hood”: Angry Birds Maze
JavaScript and Ajax (Internet Background)
Human Computer Interaction
Android Studio, Android System Basics and Git
Avraham Leff James T. Rayfield IBM T.J. Watson Research Center
SOFTWARE DEVELOPMENT KIT-ios and Blackberry
Play Framework: Introduction
Donna J. Kain, Clarkson University
Advanced Graphics Algorithms Ying Zhu Georgia State University
Java FX.
Event Driven Programming Dick Steflik
Creation of an Android App By Keith Lynn
Introduction Web Environments
Introduction to OpenGL
OpenGL: (for DEV may be…)
EEL 3705 / 3705L Digital Logic Design
Iteration 1 Presentation
Predefined Dialog Boxes
Java Applets.
GTK + Programming.
A simple, yet powerful user interface environment
NexTk/NtkWidget A replacement for Tk ?! 1.
Software Engineering for Internet Applications
Google Plus Hangouts Skills: Start a Hangout on Air, invite participants, conduct Hangout Concepts: none We will begin with some examples of Google Hangouts.
Director, Synon/2 Development
Prepared by Peter Boško, Luxembourg June 2012
Dot Net Application PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
Introduction to OpenGL
Chapter 5 SNMP Management
SharePoint 2010 Wizardry with Silverlight
Chapter 5 SNMP Management
OpenGL-Rendering Pipeline
Thread per client and Java NIO
Presentation transcript:

WTK for APWTCL (WebTk for APWTCL) 1

History Start was about March 2012 Looking for a GUI for APWTCL Use of WTK (WebTk from Mark Roseman) 2

The Idea First try with WTK in APWTCL Has a client server model Server is administrating data for widgets Client is displaying widget contents on screen Communication either using socket interface or direct calls Events go back from client to server for actions on administrative side 3

How the Current Version Started After implementation of itclinjavascript reimplementation based of Jim Tcl (APWTCL) Use of WTK for that version Implement APWTCL based on javascript version in Java for Android smart phones Implement APWTCL based on Java version in Objective-C for iPhone (iOS) Need of a modified version of WTK 4

The Message Interface Use of new message format and contents between client and server Message format: M<length of message>:<message> Examples: M53:9:wtkclient11:createLabel4:obj113:Hello Chicago M33:9:wtkclient7:newGrid4:obj05:grid0 M38:9:wtkclient4:grid5:grid09:insertRow1:0 M48:9:wtkclient4:grid5:grid03:row1:010:insertCell1:0 5

The Client Side Decode and interpret message M53:9:wtkclient11:createLabel4:obj113:Hello Chicago After decoding: {wtkclient createLabel obj1 {Hello Chicago}} Convert to Command: WtkclientCreateLabel obj1 {Hello Chicago} WtkclientCreateLabel is the part doing the work This part is calling native GUI element functions Using introspection to call the function having the string of the function name 6

Different Approach for GUI Missing functionality for Tk like widgets Experiments with OpenGL ES Use of screen buffer implementation Use of primitives like Lines Triangles polygons Performance ok because of use of OpenGL ES for games Give it a try 7

Use of OpenGL ES OpenGL ES has graphics context as UI element on iPhone Use of vertices for lines and triangles Build Tk button with 2 triangles and border lines Use of touch screen event with use of x and y coordinates Gives possibility to recognize button events Change of border line colors for relief effects Idea of use of themed Tk functionality for implementation Outstanding test of freetype fonts 8

Status‏ Server side part in Tcl for simple widgets partially done Client side decoding of messages and dispatching partially done Implemenation of GUI elements mostly missing Themed Tk implementation not yet started Freetype font and ftgles usage at the beginning of tests General strategy seems doable 9

Todos‏ Implementation of themed Tk functionality Interface to and use of freetype fonts and ftgles Test suite Prepare alpha version Take care of feedback to that version Documentation Demos 10

Demo URL's‏ Sorry (almost) none, only a poor one 11