|
Hi Joe,like
I think that your "sooner rather than later" is here now. With products
Ext and Ajax the server only provides data in the form of XML or JSON. TheThat's right. The data is sent in messages - that's the "decoupling" of
server knows nothing about the presentation of that data. It is merely a
data source. The server never needs to send any HTML pages to the browser,
with the possible exception of the very first page in the application.
If this is the way of the future, then investing some time learningmove.
JavaScript (especially 'OO' JavaScript) is probably a very good career
Knowing JavaScript is one option, and to me the best one because it
I find that this is an excellent way to work. The presentation layer isYes, your client program layer is actually my middle layer above; a set
exclusively browser based, using JavaScript widgets and other derived
JavaScript objects. The server has two layers - one layer comprises the
programs that send/receive data to/from the client (the client interface
layer), and the business layer which comprises a set of service programs
that contain the business logic and the interface to the database itself.
Data validation takes place in the business layer and if required errorthe
messages (derived from i5/OS message files and associated APIs) are echoed
back to the client. The values and structure of the XML or JSON sent to
browser indicate success or failure and the JavaScript respondsaccordingly,
displaying messages if required.You still need room for some client-side validation, of course.
This approach does mean learning how to use the widgets and 'OO'JavaScript.
However, the effort is well worth the result. Excellent functionality andFor now it means you have to learn JavaScript. Check back with me in a
really great looking browser pages can be designed quite quickly after the
initial learning curve has been passed.
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.