Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mozaic Hack Ideas #84

Open
topliceanu opened this issue Apr 17, 2013 · 4 comments
Open

Mozaic Hack Ideas #84

topliceanu opened this issue Apr 17, 2013 · 4 comments

Comments

@topliceanu
Copy link
Contributor

  1. Chrome Dev Tools extension for Mozaic apps, inspired by angular's batarang. It should display channels' meta and data, widgets params.
  2. Package Mozaic.js into one file (or two if we want to split the deps in a file and the core in another) This file should allow users to require classes from the core into their app.
  3. Create a Mozaic-seed repo to contain the core from 2. and a basic folder structure. Also it should contain basic configs, a simple route, a controller, a widget, a collection, etc. to help people get off the ground with mozaic easily.
  4. Generate documentation from the codebase and have a grunt task to do this dinamically. @arcade is working on something similar.
  5. Create a mozaic tutorial, similar to django tutorial, but building, say, an issue tracker. We should probably start by documenting mozaic concepts which we have started to do, then add specific examples. document widgets and all the properties they support #83 document how controller and routing work #80
  6. Add support for nested apps in mozaic: apps that use the same core but offer specific, self-contained functionality (eg. a comments system) but which get packaged toghether.
  7. Update Backbone.js CC @valentinzberea
  8. @arcade add profile measurements into the core, we could add these to 1.
@topliceanu
Copy link
Contributor Author

Please add ideas in the comments, then I'll add them in the issue desc. And let me know what you think of the current ones.

@arcade
Copy link
Contributor

arcade commented Apr 17, 2013

For 2. I think we should actually make mozaic a package for either Jam (http://jamjs.org/) or *volo.js *(http://volojs.org/). The benefit of doing this is that people would be able to easily pull in mozaic into their app, and they also take care of the bundling part of the problem since they both provide support to define a package/bundle task that should generate a minimized build of the package.

As an added bonus volo supports creating projects from templates so we could define a volo template (e.g. https://github.com/h5bp/html5-boilerplate) for users to use with volo create my-app ubervu/mozaic-app

Also this would have the added advantage that we could keep our external dependencies in sync, and have easier control over them (would probably take care of 7. as well).

And the fun part is that at least for publishing the only thing we need to actually do is add a package.json file to the project and publish it (if we decide to go for Jam, volo doesn't have a package repository, it finds stuff on github instead)

Just my 2 cents

@aismail
Copy link
Contributor

aismail commented Apr 20, 2013

Another ideas:

  • create a demo with slowed down unleashed in order to show off asyncness
    and how rendering is done when changing controllers (very easy and
    potentially spectacular)
  • make modules.js irrelevant by providing better defaults. It's a small
    monster right now :)

@topliceanu
Copy link
Contributor Author

@aismail Refactor the folder structure of the core to group files more intuitively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants