Aymen on 03/29/2016
If you want to learn VueJS/Angular/React/Node, Just contact me.

Mean.io it’s been good to know you, i’m moving to Meteor.js

I have been  using Mean.io for 7 months building scalable application, i followed the default package system of mean.io and it seemed organased.

The application like other app has a backoffice and admin panel, i used the built-in role system to seprate the admin from the users.

And the first problem was : The packages(modules) name are public, Mean.io load all the modules name whether logged or not using this url (/_getModules)

The second is by accessing to this link (/api/admin/menu/admin) you can know which are the admin modules and the users modules.

Mean.io loads everything he needs to the client browser then he manages everything, it’s really great to use this strategy but the app will be vulnerable if standard users can see the admin modules and know how to access to them.

Then i Found Meteor.js.

Meteor is a complete platform for building web and mobile apps in pure JavaScript. (https://www.meteor.com)

Why i moved to Meteor.js ?

Metoer is using DDP, the Distributed Data Protocol , why ? 

DDP is a simple protocol for fetching structured data from a server, and receiving live updates when that data changes.

Still don’t get it ? Meteor synchronise your data (mongodb collections …)  between the server and the client and it handle everything by itself.

 Socket.io Meteor use socket.io than Http requests and all of us know that socket.io is so much faster than Http requests.

Meteor.isServer and Meteor.isClient, you will use this if you will build one file app, in the same file you can define wich code will run on server and wich code will run on the client, and there’s other ways relieve you from using this method.

Structure with Meteor  you can define your file structure, you can use one file to build your app or use known folders name, Ok how? when we create a client folder, Meteor will considaret that all file in this folder belongs to the client, also with the server, when we create a server folder Meteor will considaret that all file in this folder belongs to the server.

Collections Metoer use Schema to define collections, when you put them in a folder named collections  Meteor will run these files on both side, on the server and the client.

Atmospherejs Metoer has a greet community that already built a banch modules that let you kicksatrt your project,

these module are hosted on atmospherejs.com

Conclusion

Meteor is much more richer than you think and you can build and maintain scalable web and mobile applications with it.meteor

This may be interesting for you

There are 2 comments in this article:

  1. 03/30/2016Emobile says:

    Great Nice to know and what about loopback framework ?

  2. 04/4/2016aymen says:

    If you wanna build a back office for your mobile application it’s will be a good choice because it provides an Android and iOS SDK even there is a javascript SDK if you wanna use ionic .
    Also you can implement user management system quickly.

Write a comment: