|
I think Todd is saying the same thing I was saying. If you generate
your Web application with client-side technologies (HTML5, JavaScript,
jQuery, etc), and make requests to a server-side program (RPG on IBM
i) for JSON data, the application is much more portable since the user
interface is not being generated by a server-side application. The
function of the server-side program (RPG) is to provide the data in
JSON. Much cleaner as well.
Jim Cooper
Program Coordinator
Lambton College
jim.cooper@xxxxxxxxxxxxxxxxx
519-542-7751 ext. 3219
________________________________________
From: web400-bounces@xxxxxxxxxxxx [web400-bounces@xxxxxxxxxxxx] on
behalf of Allen, Todd [Todd.Allen@xxxxxxxxxxxxxxxxx]
Sent: Friday, December 07, 2012 4:40 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Web Enabling Applications
We're talking about 2 different things - jQuery is a client-side
Javascript library while CGIDEV2 is a server-side application.
Javascript libraries can be used with any server application,
obviously. You also lose all portability that way in that only an IBM
i system can run your server-side app. Using PHP allows the
flexibility to put your web server on most any platform. (The back
end stays on the IBM i.) That may not be a concern now but it may be in the future.
Can you create web applications with CGIDEV2? Sure, but I would think
long and hard before going down that road.
Thanks,
Todd
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Vernon Hamberg
Sent: Friday, December 07, 2012 3:06 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Web Enabling Applications
Allen
there's no reason you can't use things like jquery when using CGIDEV2
- the latter is just a way to externalize HTML, similar to how it is
done with DSPFs.
I'm converting to use CGIDEV2 in one of our products. I see it as very
similar in concept to tags as used in PHP or Java.
Again, doesn't JQUery have plugins for JSON?
Just as I said to someone who said about this facelifted interface - I
didn't know you could do that on the iSeries. I said, HTML is just
text
- you can do anything!
Same with CGIDEV2 - it's just a streamlined way to put out the text
that comprises HTML.
Just the humble opinion of a newbie to CGIDEV2 and lovin' it!
Regards
Vern
On 12/7/2012 1:06 PM, Allen, Todd wrote:
I may be in the minority here but I'd shy away from using CGIDEV2any sort of web development. I say minority on this list only. The
for
percentage of all web developers that have used or heard of CGIDEV2 is
probably less than .001%. We've found that RPG developers are hard to
find. RPG developers that have web experience are even harder to
find. If JSON is a requirement then I'd also be concerned about
processing JSON data with RPG. There are plenty of libraries out
there for JSON processing but I don't know if you'll find one for RPG.
and connect to your SQL stored procedures on the i fairly easily.
You could stand up a Linux server running an Apache web server with
PHP
There are JSON functions built in to the PHP language. You did not
mention Java so I assume that is not an option.
may help drive your decision. If you have access to a lot of RPG
A big consideration for you is the expertise in your organization.
That
developers then CGIDEV2 may be worth a look but keep an eye on the future.
That's my biggest hesitation with CGIDEV2.
the returned data to be in JSON format. I'm obviously concerned about
Thanks,
Todd
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx
[mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Michael Ryan
Sent: Friday, December 07, 2012 11:55 AM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Web Enabling Applications
Ok...wide ranging topic I'm sure, but it's Friday. Here's what I'm
looking for...opinions, solutions, ideas regarding web enabling
(browser access) to i applications. A couple of points: The logic on
the i will be written
(re-written) to be accessed by a procedure call. I'm pretty sure I
want
security and session state. This application would be for in-house
users, not the public.
proprietary...others?
I'm thinking three main middleware paths - PHP, CGI, and vendor
Zend, powerEXT..others?
Some products/frameworks that I know of are easy CGIDEV2,
Renaissance,
comments.
Feel free to contact me off list if desired. I look forward to the
Thanks!
For More Than 80 Years—Delivering Solutions That Exceed Expectations.
This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please
contact the sender. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
--
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.
P Please consider the environment before printing this email This
e-mail may be privileged and/or confidential, and the sender does not
waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.
--
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.
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.