Google Protocol Buffers 就是我想要的
来源:互联网 发布:飞机设计软件 编辑:程序博客网 时间:2024/05/07 10:02
最近有个项目涉及到php/j2me/python, 研究了下Google Protocol Buffers, 发现它的特性(语言无关,向后兼容性)就是我想要的, 就是它了。
Google Protocol Buffers 是一种轻便高效的结构化数据存储格式,可以用于结构化数据串行化,或者说序列化。它很适合做数据存储或 RPC 数据交换格式。可用于通讯协议、数据存储等领域的语言无关、平台无关、可扩展的序列化结构数据格式。目前提供了 C++、Java、Python 三种语言的 API。
Protobuf 的优点:
1.序列化后的数据小, 性能高,比 XML 小 3 到 10 倍,快 20 到 100 倍。
2.“向后”兼容性好
3.语义清晰
4.无需写序列化、反序列化操作
Java ME和PHP的第三方实现:
Java ME: http://code.google.com/p/protobuf-javame/
Java ME: http://swingme.sourceforge.net/encode.shtml
Java ME: http://github.com/ponderingpanda/protobuf-j2me
Java ME: http://code.google.com/p/protobuf-j2me/
PHP: http://code.google.com/p/pb4php/
NetBeans IDE plugin: http://code.google.com/p/protobuf-netbeans-plugin/
Third-Party Add-ons for Protocol Buffers http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns
Google Protocol Buffer 的使用和原理 http://blog.csdn.net/heiyeshuwu/archive/2011/05/24/6443251.aspx
google ProtoBuf开发者指南: http://www.cppblog.com/woaidongmao/archive/2009/06/23/88391.html
protobuf二:第一个c++示例 : http://wangjunle23.blog.163.com/blog/static/11783817120126155282640/
- Google Protocol Buffers 就是我想要的
- Protocol Buffers:Google 的数据交换格式
- Protocol Buffers (Google 专用的通讯协议)
- [Hadoop]Google 的Protocol Buffers 入门
- (Google)Protocol Buffers概览
- Google Protocol Buffers详解
- Google Protocol Buffers
- Google Protocol Buffers安装
- GOOGLE PROTOCOL BUFFERS
- Google Protocol Buffers浅析
- Google protocol buffers 小结
- Google Protocol Buffers浅析
- Google Protocol Buffers 概述
- Google Protocol Buffers 入门
- Google Protocol Buffers 入门
- Google Protocol Buffers 概述
- Google Protocol Buffers
- Google Protocol Buffers 概述
- 学习笔记总结
- Android入门:深入学习理解 Handler HandlerThread AsyncQueryHandler 三者的关系
- windows server 2008下 asp.net导出excel,word错误的最终解决方案
- 【Android Camera】之花落知多少
- magento 第2炮 admin module
- Google Protocol Buffers 就是我想要的
- 正向心态
- 关于在CI中引用路径的问题 File does not exist
- EBS Attachements表结构
- Solaris学习笔记(1)
- vb.net 通过注册表读出系统所有串口
- PHP读取动态页面生成HTML
- vc MFC下让按钮等控件具有XP风格
- 密界寻踪-走近CRACKER ㈠