Project Announcement: LibPML

Project Announcement
项目通告

Project: LibPML, the Protocol Markup Language Library
项目名: LibPML, 协议标记语言与解析库

Motivation: Network applications are growing rapidly nowadays. By the same way, the protocol family is growing larger and larger. In the traditional way, a new communication protocol is usually being described in human readable text and being implemented in different programming languages, almost independently. This can be considered as a waste of time , Also the repeating work may not always be error proof, and by all means repeating work should be eliminated so programmers could spend their time on new or more valuable subjects.
动机: 网络的应用正在以惊人的趋势增长。随着应用的增加,通信协议家族也在日渐扩大。传统方式中,新协议的设计通常被发布为一份为程序员准备的文字资料,程序员需要从文中理解协议并使用不同的程序设计语言分别实现。这种重复的劳动可以被认为是对程序员宝贵时间和创造力的极大浪费。而且,并非每个实现都是完善的。这种重复的劳动应该被消除,而使程序员从无创造性的劳动中解脱出来,以关注其它更应该关注的问题。

I am now attemping to provide a way solving this problem. Project LibPML consists of 3 main parts: a design specification for the Protocol Markup Language (PML), a set of PML describing file for existing protocols (HTTP, FTP, etc) and an event driven communication handling library (libPML) for application programmers. The intention is to let libPML handles all network communication details with the configuration from PML files and client programs to the library handles only an subset of the protocolized communication that is interested with a few event handlers.
我现在尝试提出的就是对这个问题的一种解决方案。LibPML 项目由三个部分组成:一份协议标记语言(PML)的设计说明,一组对现有网络协议的 PML 描述,以及一个为客户程序员提供的、事件驱动模型的网络通信处理库。LibPML 通过读取 PML 文件中的配置,代替客户程序处理网络通信中的细节问题,并且在通信过程中向客户程序发送与通信协议相关的事件;客户程序只需要处理部分需要关注的事件就可以完成对通信的控制。

Stage: The project is still in very alpha stage. I'm recently working on the design of basic PML XML schema by analysing the HTTP protocol. Hopefully the XML schema can be established soon.
进度: 此项目仍处于非常初期的阶段。我正在尝试通过分析 HTTP 协议以确定 PML 文件的 XML 格式。希望这份格式能尽快发布。

I need your help! If you know any of the open source projects with the same intention (simplifying and unifying the description of network protocols in a extensible, easy to understand and machine parser acceptable format, automating the procedure of handling of network communication in an event-driven or other pattern oriented way with a simple C API), please tell me so I can reduse yet another piece of repeated, wasting work :-) If you're interested in joining this project, you're welcome to parcipate, too.
我需要你的帮助!如果你知道其它的开源项目正在做类似的事情(用一种简单而统一的、易于理解、易于扩展并适合机器解析的文件格式对网络协议进行描述,并提供一个易于理解和使用的、事件驱动或基于其它简化模式的 API 对通信过程进行处理和响应),请告诉我。这样也可以让我少发明一个新的轮子:)如果你对这个项目有兴趣,我欢迎你的加入。

For any questions and suggestions, contact me at wolf0403_AT_hotmail_DOT_com. Thanks!
如果有任何问题或者建议,都请写信给我:wolf0403_AT_hotmail_DOT_com。谢谢!

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值