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



Hi Henrik

No they haven't abandoned anything :) One is not replacing the other. We can use both frameworks - one for platform agnostic applications and one for IBMi applications. The fact that the node.js platform can also run on the IBMi is somewhat moot at the moment because IBM have not solved all issues yet. Until very recently you could only get 1021 connections on the IBMi but I finally got that fixed and had a PTF approved/released. There are still some issues with orphaned processes though that they are still working on.

Data queues - the RPG version of the Framework uses data queues, and the node.js version uses the same topology, with redis (busmq) being used instead of data queues.

"node.js is not a web server" - yes I knew that thanks ;)

Cheers
Kevin

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Henrik Rützou
Sent: 06 February 2017 08:48
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] powerEXT for node.js

Kevin,

So the programmers had to abandon whatever work they have done in RPG in your setup? What I want to do is to be able to run node.js side by side with ILE CGI.

Btw, node.js is not a web server but 'just' a Virtual Machine that runs javascript on any platform. It is very similar to Java's JVM that without a class library basically reads/writes data through StdIn and StdOut that through the included classes can point to anything including HTTP sockets and IFS files etc.

Neither node.js or JVM comes with a predefined structured environment like ILE (QSYS.LIB) that has a simple structure like /QSYS.LIB/LIBRARY/OBJECT.TYPE.

powerEXT for node is not a NPM that runs under node.js but an environment that runs on top of node.js VM in a predefined directory structure.and then it has a number of preinstalled node.js modules that supports web development and SQL DB I/O on JSON resultset level thus simplifying the SQL part that may be build by system delivered node.js modules or NPM's like Waterline ORM.

DataQueues - what are you talking about?

On Sun, Feb 5, 2017 at 10:03 PM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxx>
wrote:

I did a similar thing by rewriting the entire Renaissance Framework
server-side code in node.js. It is quite neat - each RPGLE server
program can be replaced by a node.js module that is simply "require"ed
at run-time. The developers (all RPG backgrounds) just have to write
the server programs as modules based on a boilerplate and it just
plugs right in. The client side is identical for the RPG and node instances so nothing
to learn. It can use any database supported by the Waterline ORM and uses
Redis for session data and to replace data queues.

[https://www.netcracker.com/assets/img/netcracker-social-final.png] ƕ
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Henrik
Rützou
Sent: 05 February 2017 18:55
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Subject: [WEB400] powerEXT for node.js

Hi all,


I started testing node.js like anyone else but couldn’t figure out how
to manage a whole application, node.js seems to be very nerdy where
everybody is chasing what NPM’s to use but I found very few
descriptions on how to handle node.js in a production environment and
how to chop up code in small Apps like I know it from ILE CGI on IBM i.



So I decided to build my own ‘package’ based on the experience from
CGIDEV2 and powerEXT Core that both hide the complexity of handle HTTP
requests in and out and complex string operations.



The result can be read about here http://powerext.com/core.htm



I will make it available for download as soon I have testet the ‘package’
on IBM i and made a simple installation procedure for I - but my plan
is that it should run as a base environment on any platform that runs
node.js and it is therefore developed on a Windows PC.



Feel free to comment …



--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>
--
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.




________________________________
The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential,
proprietary and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from any computer.
--
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.




--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>
--
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.



________________________________
The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.