Data Synchronization
Following is the main process describing front-end and backend data share.
-
Client requests data or HTML view
-
Server gets data from database and sends it back to the front-end
-
Client shows the data/view in a user-friendly way
Data management mechanism with server and front-end/mobile apps is the feature that sets Meteor separate from other frameworks.
In Meteor, the client has a mini-database replica copy which is a small portion of server database. This mini-database is previously retrieved by client and authorized by server. When client make any change, it uses database api to perform CRUD, this data change automatically saves and sends to the server. Meteor use websocket so any change in data shows instantly at the other end.
So, meteor is highly automated framework which make developers’ life easier :)