× 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.



" In the end though, I would still argue that even with the messy ExtJS
syntax it is much easier/quicker for me to code an application than
CGIDEV2. "

I am puzzled as to why you would even want to compare CGIDEV2 with a javascript library like ExtJs. CGIDEV2 is just a shorthand term for a service program that simplifies (for RPG developers) the way you can retrieve data an HTTP request and return HTML/CSS/Javascript etc back to the browser. You don't code a UI with CGIDEV2, you just use to deliver content. Our UI is virtually all jQuery based now, but it is delivered to the browser by CGIDEV2 procedure calls (mostly). I expect powerExt delivers ExtJs based content using CGIDEV2 also.

I guess what I mean to say is that using CGIDEV2 does not preclude you from using ExtJs or jQuery or Glow or any other rich UI you care to use. I can't remember when I last bothered to fiddle with some HTML template to create a UI - which I guess is the way one is taught to use CGIDEV2 when you first play with it. Is it the latter technique to which you allude?



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: 14 October 2010 19:42
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Sencha Touch

Hi Nathan,

I fully agree that JSON and ExtJS syntax is messy. The JSON
messy-ness is resolve by having JSON composer/parser on both ends (in
ExtJS and RPG), and the Firebug plugin for Firefox has a nice JSON
renderer that I use for debugging.

The ExtJS syntax I am still working on. I hope to eventually store
the properties of a screen/panel in a DB2 table and have "render kits"
that take the DB2 data and render it to a particular UI framework
(i.e. ExtJS, SenchaTouch, jQTouch, Android, iPad, etc).

In the end though, I would still argue that even with the messy ExtJS
syntax it is much easier/quicker for me to code an application than
CGIDEV2. After awhile you get good at the syntax - it's just
Javascript arrays.

Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/



On Thu, Oct 14, 2010 at 1:18 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:
From: Aaron Bartell
I am also liking how these latest js frameworks are allowing and
focusing on configuring "screens" and all we need to do is show/hide
them and occupy them with information. Soooo much easier than the
traditional CGIDEV2 I grew up on - at least in my opinion.

Now I'm curious what you like about "configuring screens"? Looking at an HTML
page source where ExtJS code was for "configuring screens" makes me wonder what
you like about it? I find that long streams of JSON formating are hard to read
and hard to maintain, particularly with all the delimiters. One of the guys in
our user's group is learning Valence, and commented that the RPG code is fine,
but the JavaScript is hard. I assumed he meant that coding in JSON is hard.

-Nathan




--
This is the Web Enabling the AS400 / 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.


--
This is the Web Enabling the AS400 / 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.


NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.

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.