Framework Meteor JsFramework Meteor Js
developed by :Assakra Radhouendeveloped by :Assakra Radhouen
Framework Meteor JsFramework Meteor Js
What is Meteor Js ?What is Meteor Js ?
Meteor.js is a cohesive development platform, a collection of libraries and packagesMeteor.js is a cohesive development platform, a collection of libraries and packages
that are bound together in a tidy way to make web development easier. It builds onthat are bound together in a tidy way to make web development easier. It builds on
ideas from previous frameworks and libraries to offer an easy way to start aideas from previous frameworks and libraries to offer an easy way to start a
prototype app, but it gives you the tools and flexibility to build a full fledgedprototype app, but it gives you the tools and flexibility to build a full fledged
production app. There are libraries like Tracker and Blaze that the Meteorproduction app. There are libraries like Tracker and Blaze that the Meteor
Development Group has built specifically for a reactive front-end experience.Development Group has built specifically for a reactive front-end experience.
Framework Meteor JsFramework Meteor Js
What is Meteor Js ?What is Meteor Js ?
When I first learned about the Meteor JavaScript framework, I saw someone write,When I first learned about the Meteor JavaScript framework, I saw someone write,
“Meteor is to Node.js as Rails is to Ruby,” and I think that’s a good comparison. A“Meteor is to Node.js as Rails is to Ruby,” and I think that’s a good comparison. A
few years ago, Rails was the hot new thing on the web, sprinkling some usefulfew years ago, Rails was the hot new thing on the web, sprinkling some useful
“magic” through the development process to make programming on the web more“magic” through the development process to make programming on the web more
approachable and pleasant. Out of the countless new frameworks that have spawnedapproachable and pleasant. Out of the countless new frameworks that have spawned
as of late though, none have made me feel the way Rails did as much as Meteor — aas of late though, none have made me feel the way Rails did as much as Meteor — a
framework that you should seriously consider using for your coming projects. Here’s aframework that you should seriously consider using for your coming projects. Here’s a
few reasons whyfew reasons why. ?. ?
Framework Meteor JsFramework Meteor Js
Why Meteor Js ?Why Meteor Js ?
1. Your applications are real-time by default :1. Your applications are real-time by default :
Lately, companies like Twitter and Facebook have been moving toward a real-timeLately, companies like Twitter and Facebook have been moving toward a real-time
web. It’s inevitable that, sooner than you probably expect, users will expect webweb. It’s inevitable that, sooner than you probably expect, users will expect web
applications to work near-instantaneously. I imagine there’s already users who winceapplications to work near-instantaneously. I imagine there’s already users who wince
whenever a separate page load is required for simple tasks like changing settings andwhenever a separate page load is required for simple tasks like changing settings and
logging out.logging out.
The problem is, creating real-time web applications is tricky. Or at least, it was.The problem is, creating real-time web applications is tricky. Or at least, it was.
Meteor has real-time built into its core though. When the database is updated, theMeteor has real-time built into its core though. When the database is updated, the
data in your templates is updated. When a user clicks a button or submits a form,data in your templates is updated. When a user clicks a button or submits a form,
the action occurs immediately. In the vast majority of cases, this doesn’t even requirethe action occurs immediately. In the vast majority of cases, this doesn’t even require
any extra effort. You build a web application as you normally would and, out of theany extra effort. You build a web application as you normally would and, out of the
box, it just happens to be real-time.box, it just happens to be real-time.
Framework Meteor JsFramework Meteor Js
2. You can develop with just one language:2. You can develop with just one language:
One of the frustrating parts of being a web developer is the need to wear a variety ofOne of the frustrating parts of being a web developer is the need to wear a variety of
hats. You need to think about the front-end, the back-end, and the database, andhats. You need to think about the front-end, the back-end, and the database, and
then there’s another million details that squeeze out the last inch of your mentalthen there’s another million details that squeeze out the last inch of your mental
capacity. Meteor simplifies this process by shrinking the scope of what you need tocapacity. Meteor simplifies this process by shrinking the scope of what you need to
consider, allowing you to build and manage the front-end, the back-end, and theconsider, allowing you to build and manage the front-end, the back-end, and the
database with nothing but JavaScript.database with nothing but JavaScript.
This, for instance, is how we create a “collection” — the equivalent of an SQL tableThis, for instance, is how we create a “collection” — the equivalent of an SQL table
– in Meteor :– in Meteor :
BlogPosts =BlogPosts = newnew Meteor.collection('Meteor.collection('postsposts');');
Framework Meteor JsFramework Meteor Js
Framework Meteor JsFramework Meteor Js
3.You can save a lot of time with smart packages:3.You can save a lot of time with smart packages:
Let’s say you want to create a user accounts system within a MeteorLet’s say you want to create a user accounts system within a Meteor
project. How might you approach it? If your first thought was, “Well,project. How might you approach it? If your first thought was, “Well,
I’d create a collection for the user’s data,” then you’re alreadyI’d create a collection for the user’s data,” then you’re already
thinking too hard.thinking too hard.
In Meteor, this is how we create an accounts system:In Meteor, this is how we create an accounts system:
meteor add accounts-passwordmeteor add accounts-password
meteor add accounts-twittermeteor add accounts-twitter ==>==>if we wanted to let users sign up with their Twitter accountif we wanted to let users sign up with their Twitter account
meteor add accounts-googlemeteor add accounts-google ==>==>if we wanted to let users sign up with their Twitter accountif we wanted to let users sign up with their Twitter account
meteor add accounts-facebookmeteor add accounts-facebook ==>==>if we wanted to let users sign up with their Twitter accountif we wanted to let users sign up with their Twitter account
meteor add accounts-uimeteor add accounts-ui ==>==> package that creates the front-end of this accounts systempackage that creates the front-end of this accounts system
Framework Meteor JsFramework Meteor Js
3.You can save a lot of time with smart packages:3.You can save a lot of time with smart packages:
Smart packages are not just for accounts though. There’s a range ofSmart packages are not just for accounts though. There’s a range of
them already available, with more presumably on the way, and theythem already available, with more presumably on the way, and they
all allow you to do something cool, including:all allow you to do something cool, including:
Writing your applications in CoffeeScript.Writing your applications in CoffeeScript.
Automatically compiling LESS files into CSS.Automatically compiling LESS files into CSS.
Integrating extras like D3.js and Bootstrap.Integrating extras like D3.js and Bootstrap.
But if smart packages don’t have what you need, then the increasinglyBut if smart packages don’t have what you need, then the increasingly
large library of third-party packages will probably have you covered.large library of third-party packages will probably have you covered.
Framework Meteor JsFramework Meteor Js
4.The community is extremely supportive :4.The community is extremely supportive :
Nothing attracts me more to a new framework or technology than anNothing attracts me more to a new framework or technology than an
active and vibrant community. I figure that, if the community’s active,active and vibrant community. I figure that, if the community’s active,
then:then:
✔
There’ll be a lot of detailed documentation.There’ll be a lot of detailed documentation.
✔
I’ll waste less time getting up to speed with the basics.I’ll waste less time getting up to speed with the basics.
✔
The technology won’t hit the deadpool in the near future.The technology won’t hit the deadpool in the near future.
Framework Meteor JsFramework Meteor Js
5. It’s optimized for developer happiness:5. It’s optimized for developer happiness:
Nothing attracts me more to a new framework or technology than anNothing attracts me more to a new framework or technology than an
active and vibrant community. I figure that, if the community’s active,active and vibrant community. I figure that, if the community’s active,
then:then:
✔
There’ll be a lot of detailed documentation.There’ll be a lot of detailed documentation.
✔
I’ll waste less time getting up to speed with the basics.I’ll waste less time getting up to speed with the basics.
✔
The technology won’t hit the deadpool in the near future.The technology won’t hit the deadpool in the near future.
Framework Meteor JsFramework Meteor Js
ConclusionConclusion
As of writing these words, Meteor is still young at version 0.8.2, butAs of writing these words, Meteor is still young at version 0.8.2, but
the releases are coming big and quick, and a range of impressivethe releases are coming big and quick, and a range of impressive
Meteor-built apps are live and being used on the web. Your particularMeteor-built apps are live and being used on the web. Your particular
situation will determine whether or not a particular framework is thesituation will determine whether or not a particular framework is the
right fit for you and your creations, but every developer owes it toright fit for you and your creations, but every developer owes it to
themselves to at least play with Meteor for a day or two. I haven’tthemselves to at least play with Meteor for a day or two. I haven’t
had this much fun with programming on the web in a long while andhad this much fun with programming on the web in a long while and
there’s a good chance you’ll feel the same way.there’s a good chance you’ll feel the same way.

Meteorjs

  • 1.
    Framework Meteor JsFrameworkMeteor Js developed by :Assakra Radhouendeveloped by :Assakra Radhouen
  • 2.
    Framework Meteor JsFrameworkMeteor Js What is Meteor Js ?What is Meteor Js ? Meteor.js is a cohesive development platform, a collection of libraries and packagesMeteor.js is a cohesive development platform, a collection of libraries and packages that are bound together in a tidy way to make web development easier. It builds onthat are bound together in a tidy way to make web development easier. It builds on ideas from previous frameworks and libraries to offer an easy way to start aideas from previous frameworks and libraries to offer an easy way to start a prototype app, but it gives you the tools and flexibility to build a full fledgedprototype app, but it gives you the tools and flexibility to build a full fledged production app. There are libraries like Tracker and Blaze that the Meteorproduction app. There are libraries like Tracker and Blaze that the Meteor Development Group has built specifically for a reactive front-end experience.Development Group has built specifically for a reactive front-end experience.
  • 3.
    Framework Meteor JsFrameworkMeteor Js What is Meteor Js ?What is Meteor Js ? When I first learned about the Meteor JavaScript framework, I saw someone write,When I first learned about the Meteor JavaScript framework, I saw someone write, “Meteor is to Node.js as Rails is to Ruby,” and I think that’s a good comparison. A“Meteor is to Node.js as Rails is to Ruby,” and I think that’s a good comparison. A few years ago, Rails was the hot new thing on the web, sprinkling some usefulfew years ago, Rails was the hot new thing on the web, sprinkling some useful “magic” through the development process to make programming on the web more“magic” through the development process to make programming on the web more approachable and pleasant. Out of the countless new frameworks that have spawnedapproachable and pleasant. Out of the countless new frameworks that have spawned as of late though, none have made me feel the way Rails did as much as Meteor — aas of late though, none have made me feel the way Rails did as much as Meteor — a framework that you should seriously consider using for your coming projects. Here’s aframework that you should seriously consider using for your coming projects. Here’s a few reasons whyfew reasons why. ?. ?
  • 4.
    Framework Meteor JsFrameworkMeteor Js Why Meteor Js ?Why Meteor Js ? 1. Your applications are real-time by default :1. Your applications are real-time by default : Lately, companies like Twitter and Facebook have been moving toward a real-timeLately, companies like Twitter and Facebook have been moving toward a real-time web. It’s inevitable that, sooner than you probably expect, users will expect webweb. It’s inevitable that, sooner than you probably expect, users will expect web applications to work near-instantaneously. I imagine there’s already users who winceapplications to work near-instantaneously. I imagine there’s already users who wince whenever a separate page load is required for simple tasks like changing settings andwhenever a separate page load is required for simple tasks like changing settings and logging out.logging out. The problem is, creating real-time web applications is tricky. Or at least, it was.The problem is, creating real-time web applications is tricky. Or at least, it was. Meteor has real-time built into its core though. When the database is updated, theMeteor has real-time built into its core though. When the database is updated, the data in your templates is updated. When a user clicks a button or submits a form,data in your templates is updated. When a user clicks a button or submits a form, the action occurs immediately. In the vast majority of cases, this doesn’t even requirethe action occurs immediately. In the vast majority of cases, this doesn’t even require any extra effort. You build a web application as you normally would and, out of theany extra effort. You build a web application as you normally would and, out of the box, it just happens to be real-time.box, it just happens to be real-time.
  • 5.
    Framework Meteor JsFrameworkMeteor Js 2. You can develop with just one language:2. You can develop with just one language: One of the frustrating parts of being a web developer is the need to wear a variety ofOne of the frustrating parts of being a web developer is the need to wear a variety of hats. You need to think about the front-end, the back-end, and the database, andhats. You need to think about the front-end, the back-end, and the database, and then there’s another million details that squeeze out the last inch of your mentalthen there’s another million details that squeeze out the last inch of your mental capacity. Meteor simplifies this process by shrinking the scope of what you need tocapacity. Meteor simplifies this process by shrinking the scope of what you need to consider, allowing you to build and manage the front-end, the back-end, and theconsider, allowing you to build and manage the front-end, the back-end, and the database with nothing but JavaScript.database with nothing but JavaScript. This, for instance, is how we create a “collection” — the equivalent of an SQL tableThis, for instance, is how we create a “collection” — the equivalent of an SQL table – in Meteor :– in Meteor : BlogPosts =BlogPosts = newnew Meteor.collection('Meteor.collection('postsposts');');
  • 6.
  • 7.
    Framework Meteor JsFrameworkMeteor Js 3.You can save a lot of time with smart packages:3.You can save a lot of time with smart packages: Let’s say you want to create a user accounts system within a MeteorLet’s say you want to create a user accounts system within a Meteor project. How might you approach it? If your first thought was, “Well,project. How might you approach it? If your first thought was, “Well, I’d create a collection for the user’s data,” then you’re alreadyI’d create a collection for the user’s data,” then you’re already thinking too hard.thinking too hard. In Meteor, this is how we create an accounts system:In Meteor, this is how we create an accounts system: meteor add accounts-passwordmeteor add accounts-password meteor add accounts-twittermeteor add accounts-twitter ==>==>if we wanted to let users sign up with their Twitter accountif we wanted to let users sign up with their Twitter account meteor add accounts-googlemeteor add accounts-google ==>==>if we wanted to let users sign up with their Twitter accountif we wanted to let users sign up with their Twitter account meteor add accounts-facebookmeteor add accounts-facebook ==>==>if we wanted to let users sign up with their Twitter accountif we wanted to let users sign up with their Twitter account meteor add accounts-uimeteor add accounts-ui ==>==> package that creates the front-end of this accounts systempackage that creates the front-end of this accounts system
  • 8.
    Framework Meteor JsFrameworkMeteor Js 3.You can save a lot of time with smart packages:3.You can save a lot of time with smart packages: Smart packages are not just for accounts though. There’s a range ofSmart packages are not just for accounts though. There’s a range of them already available, with more presumably on the way, and theythem already available, with more presumably on the way, and they all allow you to do something cool, including:all allow you to do something cool, including: Writing your applications in CoffeeScript.Writing your applications in CoffeeScript. Automatically compiling LESS files into CSS.Automatically compiling LESS files into CSS. Integrating extras like D3.js and Bootstrap.Integrating extras like D3.js and Bootstrap. But if smart packages don’t have what you need, then the increasinglyBut if smart packages don’t have what you need, then the increasingly large library of third-party packages will probably have you covered.large library of third-party packages will probably have you covered.
  • 9.
    Framework Meteor JsFrameworkMeteor Js 4.The community is extremely supportive :4.The community is extremely supportive : Nothing attracts me more to a new framework or technology than anNothing attracts me more to a new framework or technology than an active and vibrant community. I figure that, if the community’s active,active and vibrant community. I figure that, if the community’s active, then:then: ✔ There’ll be a lot of detailed documentation.There’ll be a lot of detailed documentation. ✔ I’ll waste less time getting up to speed with the basics.I’ll waste less time getting up to speed with the basics. ✔ The technology won’t hit the deadpool in the near future.The technology won’t hit the deadpool in the near future.
  • 10.
    Framework Meteor JsFrameworkMeteor Js 5. It’s optimized for developer happiness:5. It’s optimized for developer happiness: Nothing attracts me more to a new framework or technology than anNothing attracts me more to a new framework or technology than an active and vibrant community. I figure that, if the community’s active,active and vibrant community. I figure that, if the community’s active, then:then: ✔ There’ll be a lot of detailed documentation.There’ll be a lot of detailed documentation. ✔ I’ll waste less time getting up to speed with the basics.I’ll waste less time getting up to speed with the basics. ✔ The technology won’t hit the deadpool in the near future.The technology won’t hit the deadpool in the near future.
  • 11.
    Framework Meteor JsFrameworkMeteor Js ConclusionConclusion As of writing these words, Meteor is still young at version 0.8.2, butAs of writing these words, Meteor is still young at version 0.8.2, but the releases are coming big and quick, and a range of impressivethe releases are coming big and quick, and a range of impressive Meteor-built apps are live and being used on the web. Your particularMeteor-built apps are live and being used on the web. Your particular situation will determine whether or not a particular framework is thesituation will determine whether or not a particular framework is the right fit for you and your creations, but every developer owes it toright fit for you and your creations, but every developer owes it to themselves to at least play with Meteor for a day or two. I haven’tthemselves to at least play with Meteor for a day or two. I haven’t had this much fun with programming on the web in a long while andhad this much fun with programming on the web in a long while and there’s a good chance you’ll feel the same way.there’s a good chance you’ll feel the same way.