Meteor.js - Vooq айти компания интернет программированиеVooq айти компания интернет программирование

Web framework Meteor.js is a platform written in JavaScript. Its purpose is to develop Internet applications in real-time. There is one important feature. You can use a single code on the server side and the client. Data, not code are transmitted between client and server.

The developers promise a whole new look at the creation of web applications. Their development, operation and devices appear in completely different ways.

Using files of project possible client and server. To determine who participates in running, apply the flags. A separate flag for the client and for the server. Using the file exclusively by the server or the client. Therefore, the document can be placed in the appropriate subdirectory. In addition, there is a static data intended for the browser. Also provided by the presence of files created for JS script server.

During the launch loads all files from the directory. They correspond to which side is being implemented code. After that there is minimizirovanie JavaScript and send data to the browser. They constitute a single package.

The Meteor.js the unique trait. When changes are made, there is no need for a server restart. All changes will be fully displayed in all languages, when you saved the file. In this case use the actual data. The browser update is only needed if you made a fatal error.

The framework is complemented with a MongoDB database. Accessibility data management system is provided to the client and the server. When the client changes, the data cached in the local version of the database. It’s called an emulator. Then they are sent to the server. Changes on the server side should be posted on public display clients. They also have an automatic update in the local versions. In other words, the entire database is synchronized automatically.

First, the information created by the client is stored in the local store. The user has the opportunity to see her. Then transfer to the server. He stores them in its database and sends back a confirmation. Then there is the mailing of a user and automatically “publish”. If the server refused the confirmation, the client returns to step back.