Hi folks, quick question if I may. I'm currently playing with building a simple web RPC system. Essentially it's a piece of ring middleware that will accept a posted EDN vector on a URL like 'http://host/my.namespace/fn-name', invoke the function on the server with the posted vector as args (if fn var has ^:remote metadata), and return the result as EDN response. I'm not sure if this really is my bestest idea ever (tm), but it's relatively simple, and it works.
What I would like to do is create a macro for the cljs side along the lines of (mount "host" my.namespace/fn-name), that would define a client side proxy to the remote fn in -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/clojurescript.
