Date: Thursday, 24 August 2006 04:49 pm (UTC)
One of the fascinating things I've discovered is that mac is blurring the lines between web apps and local apps. OS X includes SOL (sqlite) and dashboard widgets are really locally executed javascripts. For example:
{
    if(window.widget)
    {
        document.getElementById("outputText").innerText = 
            (widget.system("/usr/bin/uptime", null).outputString);        
    }
}


That piece from /Developer/Examples/Dashboard/Uptime/Uptime.wdgt/Uptime.js from the Xcode download.

I've browsed Apple's beginner tutorials and if Tiger weren't going to make things so much easier to generate widgets, I think I'd be doing some widget programming in my free time right now.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

December 2024

S M T W T F S
12 34567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Wednesday, 24 December 2025 03:21 pm
Powered by Dreamwidth Studios