Skip to content

appjitsu/meteor-best-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Meteor Best Practices

This project was created to act as starting point for your projects and to combine all of current best practices for Meteor.js.

##Stack:

##Goals:

  • Use "packages for everything" to make the application modular-first
  • Build small, very specific custom packages that do one thing very well
  • Split up files into their purposes; ie: client only code goes in client.js
  • Security. Security. Security. (Security)
  • Test the "important" things.

##Demo: http://best-practices.meteor.com/

##Coding Guidelines:

##Questions:

  • Q: Why "packages for everything"? A:
    1. No need to use Meteor.isClient or Meteor.isServer unless the code is common between the client and server. The package.js definition file tells meteor which files should be run.
    2. Keeps code very DRY.
    3. Very easy to maintain.
    4. Faster compile times.
    5. Smaller production files.

About

Meteor 1.2, React, FlowRouter, Materialize CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published