|
however the CRTICEPGM command is used from within RDi /eclipse if you wantto control the compile phase.
Hi Aaron , gents ..
thereArron wrote: The bummer (in IceBreak) I have so far with it is that
is no MVC built into the product<<
The "one-size-fits-all" has never been the idea of IceBreak, rather give
the
user some choices. Many RPG programmers don't feel comfortable with any
kind
of web technologies or frameworks simply because there are far too many
disciplines to learn. So - yes - you can build programs with a JSP / ASP
approach - which are good for quick and dirty stuff and/or educational
purposes. The build in JIT compiler delivers the result, just by refreshing
the browser page, however the CRTICEPGM command is used from within RDi /
eclipse if you want to control the compile phase.
In "real world web applications" you would also rely on a framework of some
kind and some tooling to support it. Adobes flash powered Flex is an
excellent choice, however, in IceBreak we did chose to follow the ExtJS
path.
shows how IceBreak can do the things that you are talking about? (i.e.Arron wrote: Maybe you have some application code you can share that
solid
MVC with extJS)<<
I think I can demonstrate it with a program containing only one line of
code:
The hole idea in MVC is to decouple any of these M, V, C components from
each other. Our solution is to support "data stores" for the ExtJS
framework
- look at the following IceBreak program
SQL_Execute(
I_EXTJSMETA: // A JSON object including metadata
'Select * from product':
numberOfRows:
startingFromRow
);
This returns a partial result set for a paging grid.
IceBreak simply produces a JSON object in the responseObject and returns it
to the Ext client, which happily renders the grid and allows the user so
use
page up and down using a AJAX request for setting the "startingFromRow"
attribute. This is only possible because IceBreak provides session
stability
for dataset too.
So our MVC model let you do the decoupling 1where IceBreak is gluing the
"V"
and "C" together behind the scenes with JSON ... and you don't even have to
look at it.
The IceBreak ExtJS component wizards even produce grids, dropdowns and
complete programs.
I suggest this kind of modeling instead of the SOAP webservice approaches,
which in my opinion is to over engineered for this particular job. – You
need to parse the SOAP, XML – and you need to provide some session
stability
for the dataset etc….
Niels Liisberg
IceBreak Chief SW Architect
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.