Coder Social home page Coder Social logo

hypothetical-house's Introduction

Meteor Chat Room

Meteor Chat Room is an open source app powered by Meteor and made by Damon Pidhajecky. In this demo we explore the following techniques:

  • User login

    • Track reactive session data to navigate to the room list page after login.
    • Track reactive session data to navigate back to the home page after logout.
  • User Presence

    • Use the dpid:user-presence package to detect when a user is online, idle, or disconected.
    • Track the room a user is in with reactive data.
  • Room List Page

    • Use template helpers to display a reactive list of rooms.
    • Use template events to create a room.
  • Rooms

    • Use the iron:router package to subscribe to parameterized collection publications specific to the room the user is in.
    • Use template helpers to dynamically display a list of users in the room and their states.
    • Use template helpers to display a reactive list of messages.
    • Use template events to submit a new message.

You can see a live version of the app at http://dpidchatroom.meteor.com/

##CoffeScript

This demo uses CoffeeScript as a cleaner way to write JavaScript. For package information, see https://atmospherejs.com/meteor/coffeescript

##Jade

This demo uses the Jade template engine as a cleaner way to write html. For package information, see https://atmospherejs.com/mquandalle/jade

##Stylus This demo uses Stylus as a cleaner way to write css. For package information, see https://atmospherejs.com/meteor/stylus

##Bootstrap This demo uses Bootstrap for fast prototyping UI. For package information, see https://atmospherejs.com/mizzao/bootstrap-3

hypothetical-house's People

Contributors

michaelflops avatar

Watchers

James Cloos avatar  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.