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



Just a general comment concerning Express... I started with Express and
have mostly moved to recommending (and using) HapiJs. It just feels like
it is ready to be used in business-type applications and has a nice focus
on configuring vs. manual coding. For example, here is how a route is
configured in HapiJs that includes validation using the Joi npm.

{
method: 'GET',
path: '/HYPB999/{FLD1}/{FLD2}',
config: {
handler: Handlers.get_HYPB999,
description: 'Get specific HYPB999',
notes: 'Get specific HYPB999',
tags: ['api'],
validate: {
params: {
FLD1 : Joi.string().required().description('D or P'),
FLD2 : Joi.number().required().description(' ')
}
}
}
}

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Mon, Feb 26, 2018 at 8:27 AM, Kelly Cookson <KCookson@xxxxxxxxxxxx>
wrote:

Thanks for sharing that, Tim. There are a lot of good ways to bring the
IBM i to the web.

What was your shop's learning curve with Angular? I've heard Angular has a
relatively steep learning curve, but I usually hear that from people
advocating for other technologies. So I'd like to know your take on the
learning curve for Angular.

The reasons why I'm looking at Node, Express and React are because: (a) we
have another development team interested in Node on the IBM i for their own
reasons, (b) a lot of people use Express with Node, and (c) React is being
used in one form or another by some high volume sites. For example, Walmart
is using Node with something called Electrode, which is based on React. And
React was created by Facebook.

But other technologies can be equally good at meeting the needs of various
shops.

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
www.dotfoods.com<http://www.dotfoods.com>


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.