-
Notifications
You must be signed in to change notification settings - Fork 177
Home
Folder samples..... contains the main demo "uidemo.html" Which you would alter and learn the Zebra functions However it is all running from a minimized files. You will need to open "uidemo.debug.html" which has none minimized files you can change.
Designer .... Dragging stuff in Designer would be ideal!, if you could set "Properties" of the widgets so that the Jason script is made for you. Dragging them around is only part of the task.
I am currently coding this and will add this functionality within my own add on JavaScript library's
Inputs.... Some input types do not work on IOS and touch only devices as Canvas will not trigger a keyoard input. My work around is to match a dynamic DOM input element onto the front of the canvas matching fonts with a transparent background. The user enters the text into the DOM input, which upon losing focus is past back to the canvas to re-draw the users input text.
Canvas as the ONLY DOM Element.... I try to just have canvas as the only HTML DOM element as HTML is such a poor way to design pixel perfect web pages!
WebSockets... Forget AJAX HTPP Requests a HTML5 Websocket gives you high speed real time two way data both ASCII and Binary The only down side is HTML page server and WebSocket has to be on the same Domain for security reasons. Using Zebra as a controls/widget platform and a slick user Web page designer turns anyone into a designer.
For Example radio controlled car running on a Raspberry PI the user can design steering wheels, controls and other drag and drop functions (From Zebra) All sending real time commands via the WEbSocket.
I have developed a number of controllers with built in servers using the Microchip Stack. Zebra(To be evaluated) and my own canvas widgets control all sorts of hardware including powerful lasers.
**I raise the challenge ahead... ** So come on all you budding JavaScript programmers add to this library and make it happen . I can be Emailed on david@rathbone.com if you have any real ideas.