Meteor is an open-source platform for building top-quality web apps in a fraction of the time, whether you're an expert developer or just getting started.
top-quality web apps 咱們放下不表,
fraction of the time 的提法很新穎,看來這個框架的目標是解放程序猿,少花時間多辦事。雖然具體的演化路徑我不得而知,但從網絡上的各類蛛絲馬跡來看,Meteor吸取了google wave, asana等平臺背後的開發工具的精髓,逐漸演進出了目前的版本。Meteor的幕後團隊至關強悍:他們大多畢業於MIT,是成功的創業家,也是一流的工程師,其中一個開發者仍是神器
etherpad 的做者。
METEOR究竟有什麼NB的地方?
首先,Meteor構架與nodejs之上。這使得
One Language 成爲可能,同時可依託nodejs上諸如
http://socket.io這樣強大的類庫內置
realtime,
Date on the Wire 等特性。
在一種語言的基礎上,Meteor統一了服務器端和客戶端的數據訪問,提出
Database Everywhere,一套DB API大大減輕了開發負擔,不用再作server data JSON client data的轉換(想一想你的django 或者rails app,在這上面花了多少功夫?)。
Data on the Wire. Don't send HTML over the network. Send data and let the client decide how to render it.
One Language. Write both the client and the server parts of your interface in JavaScript.
Database Everywhere. Use the same transparent API to access your database from the client or the server.
Latency Compensation. On the client, use prefetching and model simulation to make it look like you have a zero-latency connection to the database.
Full Stack Reactivity. Make realtime the default. All layers, from database to template, should make an event-driven interface available.
Embrace the Ecosystem. Meteor is open source and integrates, rather than replaces, existing open source tools and frameworks. Simplicity Equals Productivity. The best way to make something seem simple is to have it actually be simple. Accomplish this through clean, classically beautiful APIs.