forked from mcerdeira/cloud.obj
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
33 lines (22 loc) · 929 Bytes
/
Copy pathREADME
File metadata and controls
33 lines (22 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=================================
CLOUD.OBJ
One object to rule them all
=================================
- Import all the modules from cloud and forget about downloading, mantaining, etc.
- You just need one module on your local machine: Cloud.obj
- You can centralize your modules at your office, via intranet or in the cloud.
== Yes & No ==
- Yes, is like an RPC.
- Yes, it serializes objects.
- No, is not a webservice.
- No, it does not uses ZeroMQ or any other message queue framework (it is web-based)
- YES. It is that simple.
== But again, how? ==
Cloud.obj, as a server, just exposes modules.
Then, as a client, it maps them to urls, exposing classes, methods, properties.
Finally, you can use it and interact like any regular module!
== Give me some code! ==
# A simple, example
import cloud
o = cloud.Obj("http://localhost:5555/sys") # Now o is the module sys, from remote
print "The path is ", o.path