How Meteor works, Client vs Server?
Asked Answered
P

3

5

I am really confused at to how Meteor works. I know there's a server side where you just install it using the terminal. But what about the client? Does the client need to install anything? For example, clients need to install Adobe Flash to run Flash. Are we talking about the same thing here? Or can the client just access it through a regular page without installing anything.

Thanks for the clarification. <3 StackOverflow

Preferment answered 25/4, 2012 at 19:12 Comment(0)
C
13

Meteor is a pure javascript web-application framework.

All you need to run meteor is a JavaScript environment.

Server-side, NodeJS is the gold standard javascript environment.

Client-side, all you need is a browser that supports javascript.

There are no plugins required or other magic at work. It's just javascript.

Cicatrix answered 25/4, 2012 at 20:32 Comment(0)
T
2

I am assuming you mean the Meteor Http Server? In this case, you can think of it as being very similar to SignalR or node.js. Basically javascript on the client handles receiving events that come back from the server, so you will generally need to include a script on the client side.

You may want to read the following links for more information.

http://meteorserver.org/browser-techniques/

http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx

Troika answered 25/4, 2012 at 19:23 Comment(1)
I'm almost positive the OP is asking about the newly released web application framework, meteor.com, which boasts the ability to write your web applications in JavaScript which runs both on the server, and on the client browser.Norvall
S
1

I think the question refers to http://meteor.com, and if that is the case the client does not need to install anything.

Meteor is a framework for writing Javascript applications, and as such all modern browsers support it "out of the box". The initial request for a web site will download the HTML, CSS and Javascript and it will run just as any other web application like GMail, etc.

You can check out a series of example applications at http://madewith.meteor.com and you should be able to run them without adding any plugins, etc.

Schaumberger answered 25/4, 2012 at 19:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.