MozillaFoundation / engineering-handbook

Mozilla Foundation's Engineering Handbook
https://mozillafoundation.github.io/engineering-handbook/
13 stars 11 forks source link

Write a Chapter: "Framework & Library Choices" #16

Closed simonwex closed 3 years ago

simonwex commented 9 years ago

I think the most important thing here is framing the choices we make based on our overall software requirements. Things like:

I'm happy for the first stab at asserting the choices to simply be a bullet list and the bulk of the effort be an app that we can collaborate on.

toolness commented 9 years ago

I also wonder if there are some "philosophical" things we can address here too, or heuristics that help us determine whether a tool is worthwhile to use?

For example:

simonwex commented 9 years ago

@toolness, totally.

We had some other crappy notes that we worked on before, worth noting and maybe extracting: https://wex.etherpad.mozilla.org/stack

Pomax commented 9 years ago

So I'm stubbing this, but there's a lot of placeholding at the moment.

Pomax commented 9 years ago

Filed as #23

Pomax commented 9 years ago

@jbuck the more I read up on Hapi, the more it seems it's merely "better by convention", not better by design. I can't really find anything that isn't just as loose as in Express, and something that even if we switch over, still requires implementation-approach review when we do development work. There's also preciously few tutorials/examples/docs available that give "how to Hapi" rundowns, so I'm not really sold on it.

Can you list some of the things you would say Hapi is a better choice here?

davidascher commented 9 years ago

Wanted to make sure that @Pomax and @jbuck knew about http://koajs.com/ as well. I haven't tried it, but I love the use of generators to make the middleware elegant, and the Context as a thing that lives for the duration of the entire HTTP transaction. Requires --harmony.