Real-time web applications with the Meteor framework
Deployment
This completes the application on your local computer. Meteor also helps you transfer it to a web server. When the developer calls meteor bundle starpublisher.tgz
in the root directory of the project, the framework creates a full Node.js application and stores it in the starpublisher.tgz
archive file.
After unpacking on the web server, the application only needs a Node.js instance and a MongoDB Server. A guide to deploying the application is provided in the readme
file that comes with the archive. Alternatively, the
meteor deploy starpublisher.meteor.com
command publishes the sample application for demonstration purposes [10].
Star in the Sky
The Meteor JavaScript framework simplifies web application development even before reaching version 1.0. It significantly reduces the effort involved in programming interactive web applications; the number of prebuilt Meteor packages plays an important role in allowing this to happen. In contrast to other web frameworks, such as Ruby on Rails, JavaScript is the only programming language that Meteor needs on the server and client sides.
Thanks to its protocol for distributing application data, Meteor also adds real-time capability to applications. Just like Rails with ActiveRecord, it provides compact access to the application data. To do this, Meteor works exclusively with the MongoDB NoSQL database system.
Infos
- Meteor website: http://www.meteor.com
- Meteor documentation: http://docs.meteor.com
- "Fast Node" by Andreas Möller, Linux Magazine, May, 2013, pg. 84 (in German)
- Reactive programming: http://en.wikipedia.org/wiki/Reactive_programming
- "Blooming Interfaces" by Andreas Möller, Linux Magazine, January, 2012, pg. 28 (in German)
- Meteorite: https://github.com/oortcloud/meteorite/
- Atmosphere: https://atmosphere.meteor.com
- Handlebars: http://handlebarsjs.com
- Listings for this article: ftp://ftp.linux-magazin.com/pub/listings/magazine/161
- Public sample installation: http://starpublisher.meteor.com
« Previous 1 2 3 4
Buy this article as PDF
(incl. VAT)