express-expose is just for small things like maybe exposing some
configuration
to the client, or a little bit of info about a user etc. If you
perform IO for
things like this it can really hurt your UX, but other than that you
should use
something like browserify if you want to share entire modules

On May 30, 4:58 am, Amjad <[email protected]> wrote:
> Hello everybody!
>
> I'm new to the great world of Node.js and have been playing around with
> different modules and frameworks. However, there seems a lot of methods for
> sharing server code with the client, and there are no default way for doing
> that.
>
> I have come across many ideas:
>
> express-expose: this is a nice replacement for parsing JSON objects
> rendered by the the server.https://github.com/visionmedia/express-expose
>
> This article exposes a hack to share backbone models on the Node server,
> and they are trying to neat their hack with their Capsule and Thoonk
> frameworks:http://andyet.net/blog/2011/feb/15/re-using-backbonejs-models-on-the-...
>
> Syncrhonizing Backbone model using 
> socket.iohttps://github.com/scttnlsn/backbone.io
>
> DNode and RPC as a method to use server methods on the client and vice 
> versahttps://github.com/substack/dnode
>
> I know I've mixed a lot of topics, I thought sharing my confusion would
> help to get more clarification, especially that there are a lot of
> production projects based on Node, andI think that the community certainly
> have reached a good collection of concepts and tools for sharing code
> between the server and client. I would be very grateful for sharing your
> thoughts about that.
>
> Best regards,
>
> Amjad
>
> *
> *

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to