5 Reasons Angularjs Developers should use Meteor
If you haven’t heard about meteor yet, this is probably the time. Meteor provides you with Real-Time, Full-Stack javascript/ nodejs development environment. It is the top starred github nodejs framework (and is on the overall 10 most starred repos in github). Do so many people can be so wrong? By the addition of Angular-Meteor support, Meteor is a now a great option for Angular developers. Here is why you should see it for yourself:
Preserve Your Skill Set
Learning Angular does not happen overnight, and can be a bit of an emotional roller-coaster. The drawing from the article has become very famous, and as an Angularjs developer, you probably went thru it:
But now you already know Angularjs. When you look at pure Meteor explanation, you probably think there is no way you are going back to handlebars and jquery, or if you started with Angularjs — does that mean I need to learn something new now? No way! Well, you do not have to: Angular Meteor lets you save all your Angularjs skills, and at the same time enjoy everything Meteor has to offer.
Full Stack as it Should be
The MEAN stack is just MongoDB, Express, Angular and Node.js bundled together, but there’s nothing seamless about it. The harsh reality, however, is that you will need additional tools to make all of this work: testing framework, a build system, deployment environments and more. And it is up to the developer to make all of this wired up, and there are so many ways to do it.
The result is that every MEAN project looks different. A file structure that makes your code, well unique, but makes it different for other developers to understand when they see your project first.
Meteor is making all of that simpler than ever. The fast start, packaging systems and (almost) transparent deployment drives to standard projects that any developer can look at and see what is going where.
True Isomorphic Code
The MEAN stack (Mongo, Express, Angular, Node) was promising to deliver javascript everywhere. Although, javascript is everywhere, the code is not always that straight forward. this is true, think about how you interact with your server data in REST:
- You build the REST endpoints
- You call the endpoint using http: $http.get (‘myurl/endpoint’)
- You add the response to your model: var data = response;
Working with Meteor and Angular is different. You can truly write code that will run both in the client and in the server. There is no need for you to use external solution such as browseify. You can simply write the code once: var data = Data.find (‘my data’);
Real Time Made Simple
There are numerous reasons you love Angular. It is not for vain it is called the superheroic framework. The two ways data binding is one of the top reasons.
Meteor, on its side, provides you 1st class real-time data binding between the server data and the client data. It is part of the 7 principles of Meteor: database everywhere, data on the wire, latency compensation.
So is it one or the other? not at all!
Using Angular-Meteor on the client and Meteor on both the client and server gives you a all-the-way data binding. Everything is synchronized from the server’s DB to the user’s view and back.
Using Meteor you can really leverage Angular not to work only with a set of REST services on your backend (or even socket based transportation). It is fully geared up to support the creation of modern Single Page Applications, like Gmail without the need for Google’s money. (think gmail, twitter).
Tale of Two Communities
Over its 6 years of existence, Angularjs was largely adopted and built a huge community of contributors and developers that enhanced its echo system. At the same time, the Meteor community is also growing rapidly with more and more packages added to the core packages from the MDG (MEteor Development Group)? So why play in just one team when you can win in both sides of the courtfield?
Sounds Interesting?
Uri Goldstein, creator of Angular-Meteor together is telling about Angular Meteor in more details here .