|
Henrik/Kevin,
Your approach of generic EXTJS UI components is good but why not leverage
SQL to define the business model AND UI grid JS object model? This allows
subfile/work with type applications to be created instantly with no
client side JS.
For example:
select cusnum, lstnam, state, baldue from qiws/qcustcdt
This defines a generic "work with customers" grid.
You have a dynamic business object CUSTOMER with attributes CUSNUM, LSTNAM,
STATE, BALDUE. The UI can generated based on the metadata of the
attributes.
The generic WORK WITH list of records is the #1 most developed pattern in
all of software development and with this approach the programmer instantly
has WORK WITH screens for any of their database files.
Here is the development approach:
http://www.youtube.com/watch?v=MDuczx7Z6ng
This is an example CUSTOMER WORK WITH application:
http://www.planetjavainc.com/wowADDONDEV/runApp?id=185&_pj_lib=wowsamp
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
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.