|
A browser UI event may need to trigger client code - a JavaScript function. The event may then need to forward "something" to the server. The event may need to update a variable in, or submit something from a different document in a separate in-line frame. Maybe the event should trigger a complex set of client actions, followed by a series of AJAX interactions.This is a prime reason why I like the EGL Rich UI interface. EGL Rich UI doesn't intermingle the client side and the server side. Although you use the same syntax (and more importantly the same data definitions), when you write client-side code, it's client code. On the server, you write EGL code to invoke your RPG business logic, but you then expose that as a service (it's a simple push of a button, but the point is that you are in control of the service and its parameters - which means you can also expose that same service as a SOAP service, but I digress).
There's often a need for some leeway in what code is run on the client and what code is run on the server. It may improve the UI to have additional control on the client - no fixed rule for every case. Other times it may be better for the server to be in control - in which case you don't want a UI event to "trigger" server code, but rather let the server decide which code to run - perhaps based on overall state.And this to me is pretty much the decision point between rich and thin. If in general your server decides what to do and what to show, you go thin. If, on the other hand, you want more graphically oriented applications that interact more finely with the user, then rich it is.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.