Git Product home page Git Product logo

pixelaether's Issues

Toward dependency injection

We want to be able to test modules that .use(pixelaether:rift).

This will not be possible until we can pass the rift object in to the constructors of our classes, instead of depend on the Rift Global variable.

However, some atmosphere packages depend on Rift. THESE packages must be refactored as instantiable classes before AetherRift can be injected.

Perhaps the solution is to leave rift as a package, but pass it in to classes that we need to test.

pixelaether:maps-isomorphic                                 exports MapClass
pixelaether:game-servers                                    exports GameServers (augmented collection)
pixelaether:dds-server                  uses game-servers   exports DDS
pixelaether:game-server-maps            uses dds-server     exports Maps, MapDDS
pixelaether:rift                        uses game-servers   exports Rift, AetherRift
pixelaether:game-server-characters      uses rift           exports Characters (augmented collection)

aether-login                            uses rift
game-server-master                      uses rift

Move to modules structure for PixelAetherGameServer.

used by both game server and master:

  • addr client only
    • (no dependencies)
  • characters-server server only
    • check, underscore, coffeescript, mongo, random,
    • maps-server, game-servers, rift
  • dds-server server only
    • random, check, ecmascript, es5-shim,
    • urlz, game-servers
  • game-servers server only only generate-settings.coffee
    • underscore, coffeescript, check, sha,
    • game-servers-shared
  • game-servers-shared server and client
    • es5-shim, coffeescript, check, mongo, random, underscore, accounts-base, ddp
    • urlz
  • maps-server server only
    • underscore, mongo, check
    • dds-server, tilesets-server, urlz, maps-shared
  • maps-shared client and server
    • check
    • (no dependencies MapClass.js for DDS only)
  • tilesets-server server-only
    • (no meteor deps listed)
    • tilesets-shared, dds-server
  • tilesets-shared client and server
    • (no deps at all listed)
  • rift client and server
    • ecmascript, es5-shim, meteor, reactive-var, tracker, underscore, mongo, ddp
    • urlz, game-servers-shared
    • (weak dependency on accounts-base)
  • urlz client and server
    • underscore

used only on game server:

  • login-game-server server only
    • accounts-password, coffeescript, underscore, check, mongo, random, ddp
    • urlz, rift, game-servers ()
    • ongoworks:[email protected] ()
  • pixel-aether-game-server server only
    • coffeescript, urlz, login-game-server,
    • (no imports)
    • IMPLIES: accounts-password, maps-server, characters-server, tilesets-server, login-game-server, rift

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.