[Linuxtrent] Ancora su AJAX [was: Re: Sun & Google per AJAX Office: un artico...]

  • From: Antonio Galea <ant9000@xxxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Mon, 17 Oct 2005 14:44:18 +0200

On Sun, Oct 16, 2005 at 09:18:07AM +0200, Guido wrote:
>
> Ok; si stavo chiedendo se appunto c'erano ambienti di sviluppo integrati 
> che utilizzassero tecniche AJAX; nek '93 avevo fatto la stessa domanda 
> ed ottenuto la stessa risposta.
> Effettivamente gli "application server" attuali si preoccupano di 
> codificare un ambiente solo lato server che è adatto ad applicazioni WEB 
> tradizionali.
> Se si vuole utilizzare il modello ad eventi non sono specifici e sei 
> costretto a fare i salti mortali.
> 

Di recente sono inciampato in un framework che comprende codice client oltre
che server; ha un "sapore" diverso dal solito AJAX ma mi sembra piuttosto
interessante:

  http://getahead.ltd.uk/dwr

Grosso modo, sul server c'e` un servlet java che fa da proxy tra il codice
Javascript del client e quello Java del server, e consente al Javascript di
istanziare oggetti ed invocare metodi Java sul server in modo 'trasparente':

 DWR takes a novel approach to AJAX by dynamically generating JavaScript code
 based Java classes. Thus the web developer can use Java code from JavaScript
 as if it were local to the web-browser; whereas in reality the Java code runs
 in the web-server and has full access to web-server resources. For security
 reasons the web developer must configure exactly which Java classes are safe
 to export.

Ant9000

-- 
-----------------------------------------------------------------------------
Dr. Antonio Galea       N e t   W i s e                 http://www.netwise.it
Sviluppo tecnico     Tecnologie per il Web    Tel 0461.421016 Fax 0461.426021
-----------------------------------------------------------------------------
Open source software - with no walls and fences, who needs Windows and Gates?
-----------------------------------------------------------------------------
--
-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: