Stunning Nodejs-based real-time web development Framework Meteor Introduction

Source: Internet
Author: User

Yesterday I stumbled across the Meteor Web development Framework, I've been exposed to a web development framework of about more than 10 different languages, and this meteor framework shocked me, It's too different from the other frameworks (including some of the same nodejs-based frameworks like Express, new Python-based framework Flask,tornado, etc.).

      Meteor is a real-time web framework based on Nodejs and MongoDB database, both front-and back-end code is based on JS development and can be blended together , in the development if the js,css,html and other documents changed, the page will be automatically updated, the same if the data in the MongoDB database changes, the page will be automatically updated, the development does not need to refresh the page at all, is not very shocked!

        As with other new frameworks, it also provides meteor command-line tools that can be used to generate template projects, and integrated with Nodejs and MongoDB, Getting started is easy. The Cordova framework is also integrated to encapsulate apps and support Android and iOS platforms.

      personal feeling this framework is suitable for rapid development of some new real-time web sites, as for the development of traditional Web applications, because there is no practical experience in this area, Not sure if it's the right fit. But meteor on GitHub already has more than 22,000 star, should still be more popular.

Here is the official introduction https://www.meteor.com/


meteor is a ultra-simple environment for building modern websites. What once took weeks, even with the best tools, now takes hours with Meteor.

the web is originally designed to work in the same is that mainframes worked in the 70s. The application server rendered a screen and sent it through the network to a dumb terminal. Whenever the user did anything, which server rerendered a whole new screen. This model served the Web well for over a decade. It gave rise to LAMP, Rails, Django, PHP.

but The best teams, with the biggest budgets and the longest schedules, now build Applicat Ions in JavaScript this run on the client. These apps has stellar interfaces. They don ' t reload pages. They is reactive:changes from any client immediately appear on everyone's screen.

They ' ve built them the hard-to-do. Meteor makes it an order of magnitude simpler, and a lot more fun. You can build a complete application in a weekend, or a sufficiently caffeinated hackathon. No longer does need to provision server resources, or deploy API endpoints in the cloud, or manage a database, or Wrangl e an ORM layer, or swap back and forth between JavaScript and Ruby, or broadcast data invalidations to clients.

Quick start!

The following works on all supported platforms.

Install Meteor:

$ curl https://install.meteor.com | /bin/sh

Create a project:

$ meteor create myapp

Run It locally:

$ CD  myapp$ meteor# Meteor server running on:http://localhost:3000/  

Unleash it on the world (for a free server we provide):

$ meteor deploy myapp.meteor.com
Principles of Meteor
  • data on the Wire . Meteor doesn ' t send HTML over the network. The server sends data and lets the client render it.

  • one Language.  meteor lets you write both the client and the server parts of your application in JavaScript.

  • database Everywhere . You can use the same methods to access your database from the client or the server.

  • latency compensation . On the client, Meteor prefetches data and simulates models to make it look like server method calls return instantly.

  • full Stack reactivity . In Meteor, realtime is the default. All layers, from the database to the template, update themselves automatically when necessary.

  • embrace the Ecosystem . Meteor is open source and integrates with existing open source tools and frameworks.

  • Simplicity Equals Productivity. The best-of-the-something seem simple are to has it actually be simple. Meteor ' s main functionality has a clean, classically beautiful APIs.

Learning Resources

There is many community resources for getting help with your app. If Meteor catches your interest, we hope you ' ll get involved with the project!

TUTORIAL
Get started fast with the official Meteor tutorial!

Stunning Nodejs-based real-time web development Framework Meteor Introduction

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.