× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe,

yes powerEXT supports any client framework and any binary client platform

In order to make use of the autogeneration data model in the OO javascript
based
frameworks you just have to extend it with DOJO or JQUERY templates such as
FIELD, FORM and GRID and then program rather simple generic client
controllers
(that is OOjavascript).

If you look at the packing of templates you have 3 main parameters in each
template

1. type of entity
2. type of client framework and version
3. type of use

<!--#tag="alpha_ExtJS3_grid"-->
{header : "<% pxGridHeading %>" <% pxRender %>
,width : <% pxGridWidth %>
,dataIndex : "<% pxField %>"
,align : "<% pxGridAlign %>"
,sortable : <% pxGridSort %>
}
<!--#tag="alpha_ExtJS3_hidden"-->
{fieldLabel : "<% pxFormText %>" <% pxRender %>
,name : "<% pxField %>"
,xtype : "hidden"
}
<!--#tag="alpha_ExtJS3_display"-->
{fieldLabel : "<% pxFormText %>" <% pxRender %>
,labelStyle : "<% pxFormStyle %>"


To take the field templates there are 17 generic templates that are
populated
from the data dictionary via an API ... some examples:

actioncol.asp
alpha.asp
boolean.asp
booleanJN.asp
booleanYN.asp
checkbox.asp
checkboxJN.asp
checkboxYN.asp
combo.asp
comboRpc.asp
date.asp
dropdown.asp
htmleditor.asp
numeric.asp
textarea.asp
time.asp
upload.asp


It is rather simple - the system request a field by calling an API and in
what format
and where it has to be used and the code are generated accordingly
the data dictionary

On Tue, Mar 13, 2012 at 5:00 PM, Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>wrote:

EGL is just as client centric as, say, powerEXT. PowerEXT uses Ext JS.
EGL uses Dojo. Both are good frameworks, and each has strengths and
weaknesses. Here's a good discussion:

http://bockuscentral.com/gordonbockus/?p=9

But since EGL is a framework that's designed to be extensible, you could
always extend the widgets to support other frameworks if you choose.
For example, IBM includes several of its own widgets that do things Dojo
doesn't do. Can powerEXT support Dojo?

More important, though, is that EGL is designed to allow you to create
your own widgets on top of the base framework. I have data-aware
dropdowns, for example, that load themselves from data on the host. I
have prompt widgets that include the label and an editable field. I
designed an entire framework for fields that can be selected from a data
grid loaded from the host. I can add a database driven promptable field
to a UI with a single line of code.

And just as important, while those widgets use SQL today, I could modify
them to load from a web service if I so desired. And this would be
completely transparent to the application. Future proof!!!

Joe

@Joe,

the problem is that like in an android/iOS app that has their own SDK EGL
dosn't support
a wide range of other client frameworks like EXT JS or Sencha Touch.

EGL is server centric while the world is moving towards client centric


On Tue, Mar 13, 2012 at 4:22 PM, Joe Pluta<joepluta@xxxxxxxxxxxxxxxxx
wrote:

On 3/13/2012 7:47 AM, john e wrote:
Anyway, i suppose you don't have to use "data aware" widgets (controls)
if
you don't want to.
EGL can be used to implement an MVP style architectue.
But then you have a completely different story than in the Demo room.
And why choose EGL then (because this is one of the "unique" selling
points).
Have you actually tried the new open source EGL? The WYSIWYG editor
creates widgets with varying degrees of MVC depending on your
architectural approach. Simple widgets with no intelligence for
applications with less future proofing required (say your typical user
ID prompt screen), widgets with MVC capabilities that will intelligently
bind to data, and full form-level MVC where the application talks only
to a form and the form can be adjusted as the application data changes.

EGL has perhaps the most complete MVC implementation of any 4GL out
there. And it's all still part of the demo. :)

Joe
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.