JavaScript Debugging With Aardwolf

A JavaScript debugger from your desktop browser into the device (Android, iOS, BB6, WinPhone7).
A co-worker found this and she is writing up how to use this with SUP Hybrid Applications (running in the container on the device).  Yes – soon available on SDN.
This will greatly simplify debugging your applications while running on the actual hardware.

http://lexandera.com/aardwolf/

Yes, “aardwolf” is an “interesting name”, and the software is still pretty rough around the edges. However the promise is there. The author really did a great thing.

Advertisements

Windows 8 and Silverlight/HTML5

A good read about Windows-8 and the life and death (and continued life) of Silverlight.
The author is a former product manager from Microsoft, so the reader should keep salt handy and bear any axe-grinding and shoulder-chips in mind.

http://www.riagenic.com/archives/960

(one particularly funny point:
…whilst at the same time we had to find a way to make Steve Sinofsky believe that Silverlight was killed off. )

One interesting thought (quote from the article):

Q. So… you saying Windows 8 is really Silverlight 6?
A. Yeah in concept yes. Technically no, but if you take a step back from our bad messaging, public realtion screw-ups and lastly our idiotic executive we pretty much did what you asked – we fixed WPF and Silverlight parity & performance and we made it also work on both desktop and mobile. I give you Windows 8.
(quote from the above referenced article)

 

SUP Hack – Adding HTML Markup

Here’s a simple little workaround/hack to add a simple bit of snap to your Hybrid Web Container applications.  The ‘default value’ of any label control, or even the label on a control (like an entry field) can contain HTML markup.

This example shows:
a) A label field surrounded by <h1> presents as ‘header-1’ style text.
b) A label field with ‘default’ value of <hr /> presents as a horizontal rule.
c) The label for an entry field has the individual ‘N’ and ‘S’ set to bold.
d) This is executing on the Android emulator (using jQueryMobile as the framework).

Example showing HTML markup

Caveats:
a) Be careful about the HTML markup being used as an SUP ‘key’ – that is asking for trouble.
b) Make sure your HTML is properly closed.  Just about everything resides in its own ‘DIV’ which is pretty sensitive to unbalanced markup.
c)  We are planning on having a ‘correct’ implementation where everything can be tied to a CSS class, but this is still in the planning/talking stage.

Some good reads for HTML5 and JavaScript

For the new project I am spending time with HTML5 and JavaScript.  Hidden in the web I found a couple things which were helpful to me….

a) How Browsers Work – an in-depth look about browser internals.

b) From the same author, client side performance resources and tools – at http://taligarsiel.com/ClientSidePerformance.html.

c) JavaScript book set that I just purchased for JavaScript performance (YES – actual money was exchanged).  The books are written in a “too friendly” style for me, but that does keep me from falling asleep.  Good details for all aspects of JavaScript performance, give it a try.
The site:  http://javascriptrocks.com/performance/
Part 1 – “Understanding and measuring Performance”
Part 2 – “Loadtime”
Part 3 – “Runtime”
Part 4 – “Coping in the User Interface”
Includes a cross-browser profiling tool – “The DOM Monster” (have not tried it yet)