[Klone-users] Create request

thomas fossati tho at koanlogic.com
Tue May 5 08:46:20 EDT 2009


Hi Mickael,

On May 5, 2009, at 2:23 PM, Mickael Auger wrote:
> I would prefer to use Klone internal mechanisms to minimize the size  
> of my executable.
> Moreover the KLone mechanism works well ;)
>
> My first need is sample. I want only get a page of another server  
> with GET/POST parameters. And send the same contents without any  
> treatment (at a first time, and transform or filter data at a second  
> time).
>
>
> For example :
>
> My AJAX request get a page (ex: page1.xml) to my KLone server  
> (server A), this server requests this page to another server (server  
> B). Server B send page1.xml to server B, and this last server send  
> page1.xml to Javascript.
> The server A is is running on a first machine and the server B is  
> ruunnig on another machine, so my AJAX request cannot get a page on  
> server B cause it's a remote server.
>
> Schema :
>
> AJAX  --(page1.xml)->  KLone server  --(page1.xml)->  other server  -\
>                                                                                                    |
> AJAX  <-(page1.xml)--  KLone server  <------------- 
> (page1.xml)------------/

this klapp should fit your needs (i.e. frontend/backend with an HTTP  
ipc channel):

	http://www.koanlogic.com/download/klone/foxui-0.9.2.tar.gz

You can find the relevant bits in the following files: DESIGN,  
frontend/webapp/www/led.kl1 and frontend/libhttpc/httpc.c.

Somewhere else we have some xml/xslt processing as a klone-ready  
library - should you need it...

Hope it helps, t.




More information about the klone-users mailing list