Hi Kelly
Mainly because when I tried it I found it very easy to use - following various tutorials likes SailsCasts. As I also wanted to learn Angular and Bootstrap at the same time and the tutorials I was following included both. It also introduced me to other things like Express and Grunt, which I knew nothing about before (you have to try it to form an opinion - right?). It also uses a nice database solution (Waterline ORM) and has a default database that works straight out of the box (no extra config) which is great to get started/develop/test before switching to a more conventional database for production. Of course, Waterline does not yet support DB2 but the built in DB was good enough for my web socket server (websockets are also there out of the box - basically a Sails augmentation of socket.io). So now I have a decent node web socket server and I can talk to it from our Renaissance Framework by plugging in the sails.io.js client library.
I like it, but I haven't tried HapiJS so I cannot compare it.
Cheers
Kevin
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kelly Cookson
Sent: 25 August 2015 19:05
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Which JavaScript framework would you recommend for IBM i?
Kevin,
What led you to choose Sails.js?
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Tuesday, August 25, 2015 11:34 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Which JavaScript framework would you recommend for IBM i?
I am using Sails.js on the IBMi (which uses Express) and I am also using the IBM toolkit with it. I have basically been using Sails as a websocket server (as a FOC alternative to Lightstreamer).
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kelly Cookson
Sent: 25 August 2015 17:20
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Which JavaScript framework would you recommend for IBM i?
In exploring Node.JS on the IBM i, I will eventually want to learn about using a JavaScript framework for routing requests.
I know Express.JS is very popular. But I've also read pretty good things about Hapi.JS. I know there are other frameworks out there as well. I'm trying to figure out which framework to install on the IBM i.
Has anybody actually started using Express.JS, Hapi.JS, or a comparable framework on the IBM i?
I assume Express.JS, Hapi.JS, and comparable JavaScript frameworks would all be equally easy to use with the Node.JS toolkits that IBM has provided (that use XMLSERVICE). Is this assumption correct? I don't know what I don't know here.
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
1.217.773.4486 ext. 12676
kcookson@xxxxxxxxxxxx<mailto:kcookson@xxxxxxxxxxxx>
--
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.
___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/
________________________________
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.
--
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.
--
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.
___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/
________________________________
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.