Skip to content

Instantly share code, notes, and snippets.

@lefnire
Created July 27, 2012 21:17
Show Gist options
  • Save lefnire/3190506 to your computer and use it in GitHub Desktop.
Save lefnire/3190506 to your computer and use it in GitHub Desktop.
Why Meteor doesn't use NPM
Takimoto
ins0mnia: http://www.quora.com/Meteor-web-framework/Why-doesnt-Meteor-use-npm
4:53
ins0mnia
Takimoto: Do you know if this would be possible once server-side rendering is introduced?
4:53
Takimoto
i guess so
it's more a philosophical question - technically it should work fine
4:53
possibilities
it's possible now
can see an example in the irclogger project
but it's hacky
4:54
ins0mnia
possibilities: Do you believe this would be more seamless once server-side rendering is introduced?
4:54
possibilities
i don't think you'll ever see straight up installing any package with npm because it doesn't make sense and woulnd't work
has nothing to do with server side rendering
how would all the async code know to run in fibers?
4:55
ins0mnia
possibilities: Isn't that somehow connected to controllers being part of the server code?
4:55
possibilities
how would meteor know what's client and whats server code
4:55
ins0mnia
(ps please ignore my ignorance I'm a n00b)
possibilities: Code seperation, is_server and is_client
4:56
possibilities
i know but that implies someone needs to add that to every npm module
i see you mean in your code
4:56
ins0mnia
possibilities: Yes
4:56
possibilities
still, it doesn't really translate
server side async code is my best example of something that just wouldn't work without intervening manually
outta here, peace (;
4:58
ins0mnia
possibilities: Let's say for example I'd like to use Facebook's graph API, in Meteor's world I'd have to do the client side right?
4:58
EhevuTov left the room (quit: Quit: This computer has gone to sleep).
4:58
ins0mnia
the=that
4:58
possibilities
no, you just need a Fiber backed server side solution
4:58
lefnire
ha, i instantly read this=that. f'ing javascript.
4:59
nsmeta left the room (quit: Remote host closed the connection).
4:59
ins0mnia
possibilities: Is there such a one?
4:59
possibilities
not yet
4:59
iwoj left the room (quit: Quit: Computer has gone to sleep.).
4:59
nicklovescode left the room (quit: Quit: nicklovescode).
4:59
ins0mnia
possibilities: Got it. Thanks for the help, very much appreciated
5:02
nsmeta [[email protected]] entered the room.
5:05
genexp left the room (quit: Quit: genexp).
5:11
iwoj [[email protected]] entered the room.
5:12
thinkt4nk left the room (quit: Quit: This computer has gone to sleep).
5:13
nicklovescode [[email protected]] entered the room.
5:14
cebor left the room (quit: Remote host closed the connection).
5:14
EnosFeedler
possibilities: you mean because meteor decided to use fibers for part of their own code then everyone writing server code is stuck using fibers?
i did not realize that
@balupton
Copy link

This has been summarised here: http://qr.ae/Mpc8i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment