--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/9CKEun_WrrA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
This looks great, thanks! So much simpler than the CSV serializer.
I see that you do have to buffer the record in memory still, as I suspected. I really do wish they would make the change I suggested below, putting the record format before the actual record - I think then you wouldn't need to buffer records in memory before you can deserialize. Thoughts?
Hey,I don't know about PHP driver but, i contribute to .NET Driver https://github.com/orientechnologies/OrientDB-NET.binaryi implemented a lot of features of Binary Serializer, and may help you with your question.
About RECORD_LOAD i don't have any problem and get document in binary format.
On Tuesday, December 9, 2014 6:15:13 PM UTC+2, mindplay.dk wrote:
Looks like your implementation is a source to source port?So I'm none the wiser.This may be possible in PHP, but it's going to be based on horrible work-arounds, it will be slow, and it will have some ugly limitations.Really sad to get this far and have to drop the whole thing because of such a small trivial technical thing, but this is obviously not a good fit for PHP, and with the limitations this will have, it doesn't seem like it's going to be worth the effort.Now thinking about writing a binary driver in Zephir. But I really don't want a PHP module for something that is without a doubt going to need ongoing maintenance and continuous upgrades.The only other option is the REST API, which might be a more realistic choice for PHP - this was actually my first choice, because PHP isn't really suitable for a binary driver, I guess I hadn't realized yet just how unsuitable it is...However, I gave up on the REST API earlier, because it turns out it denormalizes links:Should I file this as a bug report? I guess it might be "by design", but it seems like a strange choice - why wouldn't it work just like the binary API, just with data-structures in JSON of course, but not with substantial differences in terms of the data/structures you get in a response? And certainly not duplicating data structures, which adds unnecessary encoding overhead on the server, network overhead, and decoding overhead on the client...
To unsubscribe from this group and all its topics, send an email to orient-database+unsubscribe@googlegroups.com.