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

  1. Meteor website: http://www.meteor.com
  2. Meteor documentation: http://docs.meteor.com
  3. "Fast Node" by Andreas Möller, Linux Magazine, May, 2013, pg. 84 (in German)
  4. Reactive programming: http://en.wikipedia.org/wiki/Reactive_programming
  5. "Blooming Interfaces" by Andreas Möller, Linux Magazine, January, 2012, pg. 28 (in German)
  6. Meteorite: https://github.com/oortcloud/meteorite/
  7. Atmosphere: https://atmosphere.meteor.com
  8. Handlebars: http://handlebarsjs.com
  9. Listings for this article: ftp://ftp.linux-magazin.com/pub/listings/magazine/161
  10. Public sample installation: http://starpublisher.meteor.com

The Author

Andreas Möller (http://pamoller.com) has been developing Internet-based software since 2001. This includes database and web applications, as well as work in the field of single-source publishing. He currently works as a consultant and freelance writer.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Visual Aid

    Wekan lets self-organzing teams manage a project's workflow by tracking task ownership and progress visually.

  • Google Web Toolkit

    The Ingenious Google Web Toolkit builds optimized JavaScript applications in a hurry.

  • Helma

    The powerful Helma application server brings new powers to the JavaScript language. We'll show you how to use Helma to build a simple RSS reader.

  • Perl: AJAX

    AJAX technology adds dynamic elements to enhance sluggish websites. All it takes is a server-side Perl program and some client-side JavaScript code.

  • Linux Kernel 6.3 Release Includes Interesting Features

    Although it's not a Long Term Release candidate, Linux 6.3 includes features that will benefit end users.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News