http://stackoverflow.com/questions/38786210/deserialize-data-on-the-fly-from-stream-or-file
I was looking at an answer to the question there. The guy
suggests using Protocol Buffers saying:
1 It can be used on wire (TCP etc.)
2 Simple grammar to write the .proto file for composing your own messages
3 Cross platform & available with multiple languages
4 Very efficient compared to JSON & XML
5 Generates header & source files for handy getter, setter, serialize, deserialize & debugging purpose
I'll go through the above items and talk about how they
compare to the C++ Middleware Writer (CMW).
1 CMW code can also be used with network protocols.
2 The CMW also has a simple grammar but has "middle"
files rather than .proto files.
3 The CMW supports multiple platforms, but it doesn't
support multiple languages. G-d willing, in the future,
we will support more languages.
4 Should be much more efficient than either JSON or XML, but
I don't have any numbers.
5 Generates headers (only) for serialization/messaging purposes.
The CMW, unlike Protocol Buffers, is an on line code generator.
There are a number of advantages to that:
“Middleware-as-a-service” will continue to disrupt the market
for traditional middleware in 2016
http://www.reseller.co.nz/article/590705/middleware-as-a-service-turns-enterprise-integration-its-head/
---------------------------------------------------
"The advantage is that the consumer can quickly be up
and running using the SaaS solution and does not have
to manage and maintain the application freeing up
precious IT resources to work on other priorities.
Another advantage is that the SaaS provider keeps up
with changes in technology so that the consumer does
not have to."
http://www.techradar.com/us/news/internet/cloud-services/mike-kavis-architecting-a-cloud-1214419/2
----------------------------------------------------
Beyond those technical advantages, there's also the
joy of knowing that your business model is able to
serve an increasingly lawless/chaotic world. Ebenezer
Enterprises is increasingly lawful and orderly, but we
are an exception to the rule. The US used to be a
force for law and order, but, partly due to weak
leadership in the Oval Office (Clinton, Bushes, Obama),
we aren't as strong on that as we used to be. So like
Europe and other places, we are paying a heavy price --
an ounce of prevention is worth more than a pound of cure.
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net