background preloader



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 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. Conventions Routing Events

Meteor Simplest example. A live-updating high score list. Try it yourself In about 3 minutes, you'll make your own copy of Leaderboard and deploy it live on the Internet for you and your friends to use. Pick a name for your new app.I'll call it... Look around the source code Leaderboard is very simple — under 50 lines of JavaScript, a significant fraction of which is the list of scientists! The parts of Leaderboard: A MongoDB collection (leaderboard.js:4) which holds the players and their current scores. The only other code is the CSS in leaderboard.css. Make some changes Ready to edit your copy of Leaderboard? $ meteor Now point your web browser at localhost:3000. Here are some ideas to get you started: Make a button that toggles between sorting by score and sorting by name. When you're ready to push your changes live to the internet for all of your users, simply run meteor deploy once again. Excited? You can also ask more in-depth questions on Stack Overflow. Get on the mailing list!

Yesod Web Framework for Haskell Meteor против Derby От переводчика: Не встречал на хабре материалов, посвященных фреймворку Derbyjs, который часто упомянается, как основной конкурент Meteor. Под катом сравнение этих двух фреймворков, сделанное авторами Derby. Сравнению уже больше года, но тем, кто не читал, думаю будет интересно. Нас часто просят сравнить эти два продукта. Хотелось бы поблагодарить Ника Рителлока (Nick Retallack), который проделал большую работу по их сравнению в нашей группе: Google Group. Как все начиналось Прежде всего, хотелось бы отметить, что впервые мы с Брайаном встретились с командой Meteor в ноябре, во время демонстрации ранней версии Derby на конференции Keeping it Realtime, организуемой &yet. Нас объединяет общее видение мира, где все приложения работают “в реальном времени” и “в режиме совместной работы”. Мы с Брайаном обсуждали это год назад. Святой Грааль: сервеный и клиентский код Gmail, Twitter и другие сайты, которые рендерятся только на клиенте, слишком медленно грузятся. Итак, к делу! GPL против MIT

Learn Node.js Completely and with Confidence Duration of Course: About 2 weeksPrerequisite: JavaScript knowledge of 5/10 This is the age of the JavaScript developer, and it will only get better, particularly because of the widespread adoption of HTML5; the abandonment of Flash; the ubiquity of mobile devices; the recent rise of Meteor.js; and the popularity, stability, and robustness of Node.js, which allows developers to use JavaScript on the server. Our Career Paths and Courses Website Is Now Live New UPDATE: June 8, 2015 Enrollment for our Career Paths is well underway. The second cohort for Career Path 5: Modern Fullstack Developer is also full. Node.js, a revolutionary technology, is the immediate and near future of modern web application development with JavaScript as the sole server-side language. Why Learn Node.js JavaScript is the language of the web today and unquestionably for the near future because there is no known alternative to JavaScript in the works. How Not to Learn Node.js

Lift :: Home 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?

Learn Backbone.js Completely (More Than Just a Complete Backbone.js Tutorial) Duration: 25 to 30 hoursPrerequisite: JavaScript knowledge of 5/10 Below, I provide you with a comprehensive study guide that I myself have used (indeed, I have refined it for this article) to learn Backbone.js properly. This study guide should take just about 30 hours to complete. Our Career Paths and Courses Website Is Now Live New UPDATE: June 8, 2015 Enrollment for our Career Paths is well underway. The second cohort for Career Path 5: Modern Fullstack Developer is also full. After I learned Backbone.js, the first application I built was an eCommerce web application for a client—a startup. Before we Continue I should note that Angular.js and Ember.js are robust and feature-rich front-end frameworks that offer more than Backbone.js, and they allow you to develop applications with less code than Backbone.js. What is Backbone.js and Why You Should Learn It What is Backbone.js? That’s It! 11. 12. Be good.

JavaScript Un article de Wikipédia, l'encyclopédie libre. Le langage a été créé en 1995 par Brendan Eich (Brendan Eich étant membre du conseil d'administration de la fondation Mozilla) pour le compte de Netscape Communications Corporation. Le langage, actuellement à la version 1.8.2, est une implémentation de la 3e version de la norme ECMA-262 qui intègre également des éléments inspirés du langage Python. Histoire[modifier | modifier le code] LiveScript et Mosaic Communications Corporation[modifier | modifier le code] Brendan Eich a initialement développé un langage de script côté serveur, appelé LiveScript, pour renforcer l'offre commerciale de serveur HTTP de Mosaic Communications Corporation. Netscape et ECMAScript[modifier | modifier le code] En , Sun et Netscape annoncent[5] la sortie de JavaScript. Netscape soumet alors JavaScript à Ecma International pour standardisation. Mise en œuvre[modifier | modifier le code] Concepts[modifier | modifier le code] Hello world[modifier | modifier le code]