" I think "lots of shops" is also an exaggeration. But also subjective."
I think that's kind of the work Aaron does, so he probably sees a disproportionate number of those.
-----Original Message-----
From: Bradley Stone [mailto:bvstone@xxxxxxxxx]
Sent: Friday, March 16, 2018 1:50 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Rise of Node
I think "lots of shops" is also an exaggeration. But also subjective.
I've always liked JS and for me, if I can't use RPG, I'll use Node for sure. But, with how quickly it's updated, and how the updates seem to break things, it's a learning curve. In the RPG world we're used to even our RPGII programs still working with an OS upgrade, or PTF, etc, with maybe a recompile at the most is needed. Most times not even that. Not with node.
The biggest example is from Node4 to Node6 and the complete change of how the db2 functions work. Something that is integral to a Node application on the IBMi. Why? IBMi deals with data! Not just web pages and storefronts.
The biggest change was moving db functions to asynchronous in nature.
That's going to trip up anyone that isn't very familiar with async calls,or just thinks they can just change the require for db2(a) in their source.
I had put together an encapsulated set of Node functions to do DB stuff (return result sets, insert, update, etc). It took me a few hours to update it so it would work as it did before with node6 (I chose not to use the available but no longer update synchronous versions) which of course also meant updating anything and everything that called those functions as well.
And of course, the examples are terrible. Most, that aren't IBM, are just copied from IBM with little or no change.
I have more thoughts on that which I will save for a later date.. .;) While this type of thing is frustrating, I also find it invigorating.
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #11 <
https://www.bvstools.com/mailtool.html>: Save Emails
- Save emails that are sent out at a global, user or individual email level.
As an Amazon Associate we earn from qualifying purchases.