I haven't used Ext.Direct yet, but I am currently building a site (three 
sites, really) that uses Ext JS 3.0 for the front end.

One site is essentially a CRUD app. The back end is a PostgreSQL 
database. The middle layer is a Lift app that uses JPA/Hibernate to 
access the database. It provides a REST interface to the data that 
accepts and returns JSON. (I've hand written this but must learn more 
about Lift's JSON capabilities.)

The front end is pure Ext JS. All connections to the database are via 
AJAX-like calls (AJAJ?). The REST interface is pretty pure, using only 
GET, PUT, and DELETE.

(I like idempotency, so I don't use POST. The back end generates UUIDs 
and prepopulates the add forms with a UUID, then the create calls use 
the same URL as the update calls. If the object with that ID already 
exists, it is updated. If it doesn't, it is created. Thus all calls are 
idempotent. This also improves security, as you're, um, unlikely to 
guess a UUID.)

I'd be happy to talk to you about this. It's still in the early stages, 
but I have to debut it in a couple weeks if not sooner (what's new?), so 
I'll be zooming through the front end stuff over the next few days.

I plan for all future sites that I build in Lift to follow a similar 
pattern on the front end.

Chas.

Naftoli Gugenheim wrote:
> Has anyone used lift with Ext.JS forms/Ext.Direct?
> 
> 
> P.S. It would be neat if it could interact with Lift's JSON support. I wonder 
> what it would take.
> 
> 
> > 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to