Coder Social home page Coder Social logo

bryant1410 / meteor-best-practices Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appjitsu/meteor-best-practices

0.0 1.0 0.0 74 KB

Meteor 1.2, React, FlowRouter, Materialize CSS

Home Page: http://best-practices.meteor.com/

JavaScript 100.00%

meteor-best-practices's Introduction

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.

meteor-best-practices's People

Contributors

appjitsu avatar bryant1410 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.