background preloader

Frameworks

Facebook Twitter

Meteor

Koa - next generation web framework for node.js. Node.js Frameworks. 7 Minimal Node.js Web Frameworks for 2014 and Beyond. Node.js or most commonly know as Node, is a JavaScript platform that allows you to build large scale web applications. Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Hello World in Node.js The following code will start a web server through Node and print out the text ‘Hello World’ when someone views localhost:8080 It’s quite amazing how far the technology has evolved.

I do however understand that you most likely already know all this, and instead want to get straight to the list of frameworks. Why a Web Framework Generally, frameworks are created to save people a lot of unnecessary work. I’ve not discussed many programming matters here on CodeCondo, but I hope to start improving upon that very idea. 1. 2. 3. 6. 7.

Finally, the last one! SailsCasts. The repo for this episode can be found here: Howdy and welcome back. You’re watching the third and final installment of our three part series. In part one we learned how the http request/response protocol works with routes, controllers, actions and models to deliver a restful json CRUD api. In part two we took those concepts and built the api from scratch. In this episode we’ll explore Sails blueprint: actions and routes, a powerful combination of functionality that are often used but not always fully understood. First a small warning here. Let’s take a look at the roadmap of what we’ll be covering in this episode. There are four pre-built blueprint: actions (e.g. find, create, update and destroy). I want to make one thing very clear from the beginning. Let’s start with seeing what happens when we combine blueprint: actions and blueprint: rest routes.

Let’s jump in here and create a new mySleep project. But you DON’T believe me? Mean. Sails.js | Realtime MVC Framework for Node.js. API Guide | restify. Restify is a node.js module built specifically to enable you to build correct REST web services. It intentionally borrows heavily from express as that is more or less the de facto API for writing web applications on top of node.js. Why use restify and not express? I get asked this more than anything else, so I'll just get it out of the way up front. Express' use case is targeted at browser applications and contains a lot of functionality, such as templating and rendering, to support that. Restify does not. Restify exists to let you build "strict" API services that are maintanable and observable. In short, I wrote restify as I needed a framework that gave me absolute control over interactions with HTTP and full observability into the latency and characteristics of my applications.

About this guide This guide provides comprehensive documentation on writing a REST api (server) with restify, writing clients that easily consume REST APIs, and on the DTrace integration present in restify. Routing. CompoundJS. Node.js Frameworks. Meteor. Meteor против Derby. От переводчика: Не встречал на хабре материалов, посвященных фреймворку Derbyjs, который часто упомянается, как основной конкурент Meteor. Под катом сравнение этих двух фреймворков, сделанное авторами Derby. Сравнению уже больше года, но тем, кто не читал, думаю будет интересно. Нас часто просят сравнить эти два продукта. Хотелось бы поблагодарить Ника Рителлока (Nick Retallack), который проделал большую работу по их сравнению в нашей группе: Google Group.

Часть его выводов будет использована в данной статье. Как все начиналось Прежде всего, хотелось бы отметить, что впервые мы с Брайаном встретились с командой Meteor в ноябре, во время демонстрации ранней версии Derby на конференции Keeping it Realtime, организуемой &yet. Нас объединяет общее видение мира, где все приложения работают “в реальном времени” и “в режиме совместной работы”.

Мы с Брайаном обсуждали это год назад. Святой Грааль: сервеный и клиентский код Итак, к делу! GPL против MIT Система пакетов Meteor против npm API расширений. Derby. Express - node.js web application framework.