tanks for your answers ! hapijs and sails are looking good to make http rest api but we would like to make websocket only server and i can't find a framework that makes life easier for that.
Le jeudi 28 août 2014 03:32:37 UTC+2, Jeff Barczewski a écrit : > > Yes, I would recommend http://hapijs.com/ > > We have been using it at MasterCard since October and it is rock solid, > intuitive, performant, it has just what you need built in. > > The code base is clean and easy to understand, I've only had to go in a > few times to extend, which turned out to be easy, and the WalmartLabs guys > merged the requests quickly. Hapi and all its related modules are just > great. > > It is wonderful for building REST api's or web pages. Handles streams > well. You can easily hook into the life cycle of a request. > > None of the headaches that I had when trying to get Express setup. It just > works. > > It doesn't have a built-in ORM so you could use whatever you like, however > I would suggest that maybe consider something lighter like sqlbits. It is > just a small amount of sugar to help you build your SQL and manage the > params. That way you can use the full power of SQL optimizing how you need, > while making it easy to mix in params or even dynamic queries. I have a > podcast episode and show notes going over it. > http://codewinds.com/podcast/003.html > > Hapi and SQLBits has worked out really well for us at MasterCard. Highly > recommended. > > If you have any questions, just let me know. > > > > On Wednesday, 27 August 2014 10:56:37 UTC-5, Mark Volkmann wrote: >> >> Jeff Barczewski would recommend hapi - http://hapijs.com/. >> I haven't used it yet, but it looks good. >> >> >> On Wed, Aug 27, 2014 at 7:41 AM, Kyle Cordes <[email protected]> >> wrote: >> >>> On Tuesday, August 26, 2014 7:26:15 AM UTC-5, Alexandre Tiertant wrote: >>>> >>>> hi, >>>> >>>> we use a java server to interact with oracle database and angularjs >>>> frontend on a websocket that we want to recode it using node.js >>>> we need oracle database but we would like use and an orm to support >>>> other database too. >>>> >>>> which node.js framework do you think we should use? >>>> >>>> >>> I have a similar question, and if anyone could point over to something >>> in the Node community where people are discussing tool stacks which bring >>> many of the same things to the table as (for example) Java + Spring + >>> Jersey + Jackson + validators + hibernate + etc, that will be very helpful. >>> Substitute your own preferred stack, I'm not looking to start a banter >>> about which set of Java tools is best, I just made one example above. I >>> know there are a lot of Node tools out there, the sheer size of NPM his >>> impressive, I'm hoping to find some discussion of which ones are really >>> ready for prime time in which try to solve a big stack of the needs >>> together. notwithstanding the question of whether node is a great idea or >>> not, I would love to have an answer for people when they ask me, "I am >>> using Node, which stuff should I used to most effectively to build a data >>> centric backend behind my AngularJS app?". >>> >>> >>> -- >>> Kyle Cordes >>> http://kylecordes.com >>> >>> >>> >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "AngularJS" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/angular. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> R. Mark Volkmann >> Object Computing, Inc. >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
