Comments (7)
Hi!
- Yes! This is not necessary. I'll fix this examples. =)
- As far as I understand we have to use the same version of messagepack across the whole platform. First of all core should start to support this.
enqueue
method is generated in runtime such as other service methods using information from locator. There is no information about its signature. In fact, on the service side byte array is suitable as argument. So plain string or some pack (i.e.json
,yaml
) could be sent.
JFYI, we are going to rewrite some parts of the framework (Of cource we'll save as much compatability as possible). The main purpose is solving some issues, which were found out during usage (i.e get()
coulde be replaced with fibers
). Therefore, it's a very good time to propose any issues. We are glad to discuss it. It's hard to overestimate the significance of user-expirience.
from cocaine-framework-python.
Thanks!
About 3. Ok, it's clear now! But I can't understand - why then you've hardcoded msgpack as Worker's responce? =) What was the logic?
from cocaine-framework-python.
we are going to rewrite some parts of the framework
Are you planning to rewrite only Python framework, or Core and other frameworks too? Just to know what kind of issues to propose =)
from cocaine-framework-python.
When it comes to response.write()
explanation is quite simple. All services always reply with msgpack-packed-chunk. An application is kind of service. So application should reply such as any other service.
Python and Go frameworks are supposed to be rewritten, indeed. There is no point in rewriting Cocaine-Core. But you could propose anything =). We solve problems as soon as possible.
from cocaine-framework-python.
When it comes to response.write()explanation is quite simple. All services always reply with msgpack-packed-chunk. An application is kind of service. So application should reply such as any other service.
I see...
Python and Go frameworks are supposed to be rewritten, indeed. There is no point in rewriting Cocaine-Core. But you could propose anything =). We solve problems as soon as possible.
Ok, thanks =)
from cocaine-framework-python.
Has this issue been resolved?
from cocaine-framework-python.
Yeah :)
21.03.2014 21:01 ÐÏÌØÚÏ×ÁÔÅÌØ "Andrey Sibiryov" [email protected]
ÎÁÐÉÓÁÌ:
Has this issue been resolved?
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-38298139
.
from cocaine-framework-python.
Related Issues (17)
- Serivice object initialization inside service crashes it HOT 6
- TypeError: unhashable type: 'bytearray' when launching example HOT 3
- Unable to invoke method in default app HOT 3
- My app's traceback HOT 3
- Cocaine logger and Unicode HOT 4
- cocaine.logging.Logger warn() method rename HOT 3
- Asyncio branch: strange behaviour. HOT 4
- Wrong dependance in debian package HOT 4
- No cocaine.decorators HOT 2
- [http] Add a context manager for response object HOT 7
- importing decorators module causes RuntimeError if __context__ is not available HOT 2
- Application development with Cocaine
- Using cocaine-framework-python in Windows environment HOT 1
- Current example of usage cocaine app HOT 1
- Can not install framework into specified dir HOT 1
- Russian docs link is broken in README.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocaine-framework-python.