× 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 Aaron,

I haven't actually started with Express yet, so I may take your recommendation to heart.

Just a question: would Hapi be used mostly for the backend, with React for the front end? That is how I was thinking about the relation of Express and React.

Thanks,

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

From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Monday, February 26, 2018 8:41 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] [EXTERNAL] Re: Express, React, Node.JS

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<http://litmis.com/spaces>


On Mon, Feb 26, 2018 at 8:27 AM, Kelly Cookson <KCookson@xxxxxxxxxxxx<mailto: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><http://www.dotfoods.com<http://www.dotfoods.com>>

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400<https://lists.midrange.com/mailman/listinfo/web400>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400<https://archive.midrange.com/web400>.

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.