Mykyta Semenistyi
Donetsk National Technical Uni
@msemenistyi
Chief Technology Visioner@BinaryStudio
http://www.binary-studio.com/
Trying everything existing
https://github.com/B1naryStudio/nodejs-taskmanager-examples
● Minimal and flexible
● Myriad of HTTP utility methods
● Thin layer of fundamental features
● Sinatra inspired routing
● Largest community
TJ
● MVC architecture
● Connects to any database
● Renders with any template engine
● Adheres to REST principles
● Built on Express
Jared Hansson
Problems to be solved by frameworks
● Security issues
How Homakov hacked Github
Helmet Kraken/Lusca
Problems to be solved by frameworks
● Avoid common mistakes
https://github.com/tj/node-blocked
What’s wrong with atomic modules
● You have to find the right ones
● You have to compose them again and again
● The API isn’t consistent
● There is a gap between modules after integration
● We need more combined opinionated solutions
Features planned
● ORM / ODM● DAL● Configuration● Routing / Controllers● Logging● Validation● CLI for generators / migrations● Authentication, Authorization● WebSocket support
How I want it to be done
● Convention over ConfigurationShould be structured right at once, no XMLs to be lost within
How I want it to be done
● ModularEvery component may be used in the wild or exchanged to custom one
How I want it to be done
● With love to detailsCreate error page, handle HTTP status code automathically, etc.
https://github.com/B1naryStudio/express-api-response
How I want it to be done
● With love to JSLeverage native possibilities rather that trying to mimic other langs