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

  • 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.

  • ECMAScript 6

    The new ECMAScript 6 language eliminates many historical problems associated with JavaScript.

  • AJAX Workshop

    Books were the original model for website design. Navigation was similar to flipping the pages. Thanks to AJAX, many state-of-the-art websites now behave like desktop applications.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News