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

Examples not good enough? #39

Closed
dotnetwise opened this issue Oct 30, 2014 · 7 comments
Closed

Examples not good enough? #39

dotnetwise opened this issue Oct 30, 2014 · 7 comments

Comments

@dotnetwise
Copy link

The idea is brilliant, but I think you should get into more advanced CRUD / reactive scenarios.

@Urigo
Copy link
Owner

Urigo commented Oct 31, 2014

@dotnetwise thanks for the feedback!
Have you seen the tutorial?

My plan is to expand the tutorial to include everything I can, so I would love to hear more requirements.
Can you specify specific scenarios that you like me to include?

Thanks again

@seiyria
Copy link

seiyria commented Nov 4, 2014

I would like a $subscribe example. I'm not sure if what I'm doing is correct (allPlayers is my method, IdlePlayers is my collection).

      $subscribe.subscribe 'allPlayers'
      .then ->
        $collection IdleCollections.IdlePlayers
        .bind $scope, 'players'

@Urigo
Copy link
Owner

Urigo commented Nov 4, 2014

@seiyria yes, I should add a chapter specifically to subscriptions, that's a good idea.
About your example, you can also do this (I'm writing it in plain JS):

$collection(IdleCollections.IdlePlayers).bind($scope, 'players', false, 'allPlayers');

@seiyria
Copy link

seiyria commented Nov 4, 2014

Ooh. Spiffy. Thanks for sharing, I like that shorthand a lot better.

@wuxianliang
Copy link

These days, I was trying to use angular-meteor with ui-calendar. The concrete problem is evenSources does not work well with the $collection-$scope binding in my hand. The deeper problem is that meteor's native way is easy to integration with others, e.g. jquery plugins. Angular is strong but the integration will be a problem for new, which we understand the angular's project ---Socially but only understand Socially. So I'd like to see more integrations in the tutorials. Thank you very much.

@Urigo
Copy link
Owner

Urigo commented Nov 11, 2014

@wuxianliang Actually in one of our production app we did we ui-calendar (later changed into ui-bootstrap fork of the date-picker that we did).
I will definitely add a calendar integration into socially soon!

@Urigo
Copy link
Owner

Urigo commented Nov 12, 2014

@wuxianliang I've added a card to our public Trello board for adding a chapter with calendar support:

https://trello.com/c/V4TjdbYk/22-add-a-step-with-calendar-datepickers-and-dates

Closing this issue as I'm adding also an API reference to docs where I'll show an example of $subscribe

Please request anything you want to see in the docs/tutorial

@Urigo Urigo closed this as completed Nov 12, 2014
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

4 participants