On 29 oct, 10:44, rusty <[EMAIL PROTECTED]> wrote:
> I'm partly humoured partly intrigued. How would this GWT have access
> to the File System and other such resources, since by definition
> javascript can't do any of that kind of thing.
JavaScript (well, ECMAScript actually) is "just" a programming
language. Every JavaScript program runs in an "runtime environment" (a
web browser being one such environment, but not the only one –Rhino is
another one, which is used in several server-side platforms/
products–). Internet Explorer gives you "window.external", Mozilla has
signed scripts and UniversalXPConnect privilege, and Adobe AIR gives
you window.runtime.
http://help.adobe.com/en_US/AIR/1.1/jslr/flash/filesystem/File.html
> What if it wants to do other cool things on your system?
You explicitly installed the application (like any other non-JS
application) so you explicitly gave it higher privileges and thus
explicitly allowed it to "do other cool things on your system", just
like any desktop application.
> I've never been a fan of building bad desktop clients, which without
> wanting to start a flame war, J2SE is very good at. You get cross-
> platform but the worst of all worlds. I speak from experience, and
> perhaps ignorance as well, but I feel like doing a good desktop client
> really _requires_ you to use the technology on that platform that can
> take advantage of everything the OS has to offer. For Example
> Objective-C + Cocoa on OS X, .NET in windows, and whatever those crazy
> linux hippies build their UIs in these days (C++?)
>
> But maybe I'm just not enough of a visionary ;)
Check out Acrobat.com as a good example of both a web and desktop
application (for instance, the desktop app has a "minimized mode").
A media player such as Deezer could make a desktop app that would scan
your disk for MP3s and give you the ability to build playlist
including both local files and online songs.
An Adobe AIR application (I can't tell for Mozilla Prism) can also be
registered to handle files of certain types (e.g. use an hypothetical
Google Docs desktop app to open all your OpenOffice and MSOffice
documents, as an alternative to OpenOffice and MSOffice; use an
hypothetical Deezer desktop app as your media player of choice for
your MP3 files) and/or to automatically launch at startup (I guess
Twitter client desktop apps made with Adobe AIR already do that).
In a few words: a web app that gains new features and enhanced user
experience when installed as a desktop application.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---