Re: [Vala] Blitzen: A Vala Application Server



Hi,

My idea is to write a widget that extends GtkWebkit widget 
and uses embeds a blitzen
query server only accessible for this webkit instance. 
I dont want to use it via HTTP,
just want to hook the query signals of webkit to the 
query handler methods of >blitzen.
Blitzen works with GIOChannels. But HTML and JS is written to it. 
Maybe you can set these channels as sources for your webkit widget, 
but that would not be as trivial as it might look.

The difference is that if you control the instance of blitzen you can 
communicate the native gtk application with the blitzen 
application rendered inside the same window, so you can write 
gtk widgets using web technologies with full integration
on vala and native code.

This would be possible if blitzen where build in a library,
so one could use it to create that widget.
Blitzen made of three parts:
-Kassandra the http-connector
-Blitzen itself, the server
-Stk with widgets.

Blitzen and Stk are strongly tied together by the StkApplication class.

You can use Blitzen/Stk without any http-connector if you want to, 
but you'll have to feed him and get responses using GIOChannel. 
You might use/implement a select()-like function for that. 
But again, it's not really intended for thatkind of use.

There is a convenience library liblitzen.la created during
the build process. You can start experimenting there.

Is there a public API for the application server? Is there
a way to get the URL where the blitzen instance is running?
Not for the moment. Might come.

Cheers,
Samuel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]