[maemo-developers] Making Javascript Application embedded in a small gtk window.

From: koos vriezen koos.vriezen at gmail.com
Date: Fri Jan 9 23:19:10 EET 2009
2009/1/9 Benoît HERVIER <khertan at khertan.net>:
> Hello everybody,
>
> For different reasons, i'm thinking of doing apps using Javascript and
> HTML. Why ? :
>
> - Portability
> - More possibility in term of design (depends of operating system)
>
> But i have many questions for you as i ve ever write something in javascript :
>
> - How to store and retrieve data ? I know that there is some
> possibility with some part of the specifications of HTML5. I read
> somewhere that webkit support it.
> - Does the maemo actual webkit port support this feature ?
> - Does there is python binding for webkit ?
> - I suppose that with javascript we can't access nor the filesystem,
> nor the camera, isn't it ?
>
> And the main one is about performance on an n8x0 device, do you think
> it s could be really use to make application, as when i see how many
> time required to launch browser, or simply importing gtk python
> binding, i really doubt that my idea is a great one.
>
> What do you think ?

If I want to put scripts in a html page, I use javascript. If I want
to retrieve information out of text I use perl or sed. If I want to
write an app for maemo I use Hildon/Gtk, for Android Java and for KDE
I use Qt/kdelibs.
In short, I try to use the tools made for the job. Not that I think
that Gtk is the best solution for GUI programming, but it is on this
platforms _the_ preferred toolkit to develop against.)
So why not stick with it?

(Btw. Gtk or Qt code should be portable to Mac or Windows platforms
and you get a fast and good resource efficient, though not smallest,
solution)

Koos
More information about the maemo-developers mailing list