Skip to content

Commit afe1230

Browse files
author
zhengshuxin
committed
Site updated: 2024-04-27 13:32:39
1 parent b67d878 commit afe1230

72 files changed

Lines changed: 8557 additions & 519 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2009/06/07/process_control/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ <h2 id="三、小结"><a href="#三、小结" class="headerlink" title="三、
393393
<article class="post-prev col-6">
394394

395395

396-
<a href="/2009/11/03/configure/" title="配置文件的读取">
396+
<a href="/2009/08/15/server_framework/" title="协作半驻留式服务器程序开发框架">
397397
<i class="iconfont icon-arrowleft"></i>
398-
<span class="hidden-mobile">配置文件的读取</span>
398+
<span class="hidden-mobile">协作半驻留式服务器程序开发框架</span>
399399
<span class="visible-mobile">上一篇</span>
400400
</a>
401401

2009/08/15/server_framework/index.html

Lines changed: 757 additions & 0 deletions
Large diffs are not rendered by default.

2009/11/03/configure/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ <h1 style="display: none">配置文件的读取</h1>
390390
<article class="post-next col-6">
391391

392392

393-
<a href="/2009/06/07/process_control/" title="ACL编程之父子进程机制,父进程守护子进程以防止子进程异常退出">
394-
<span class="hidden-mobile">ACL编程之父子进程机制,父进程守护子进程以防止子进程异常退出</span>
393+
<a href="/2009/08/15/server_framework/" title="协作半驻留式服务器程序开发框架">
394+
<span class="hidden-mobile">协作半驻留式服务器程序开发框架</span>
395395
<span class="visible-mobile">下一篇</span>
396396
<i class="iconfont icon-arrowright"></i>
397397
</a>

2015/02/10/redis_client/index.html

Lines changed: 49 additions & 29 deletions
Large diffs are not rendered by default.

2016/10/16/serialize/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ <h1 style="display: none">使用 acl 库针对 C++ 对象进行序列化及反
291291
<div class="markdown-body">
292292

293293
<p>在开发网络应用程序时,各个模块之间的数据通信可谓是家常便饭,为了应对这些数据通信时数据交换的要求,程序员发明了各种数据格式:采用二进制数据结构(早期 C 程序员)、采用 XML、采用SOAP(坑人的设计)、采用 URL 编码、采用JSON格式等。客户端与服务端交互时采用这些数据格式进行数据交换时,必然要经历数据编码及数据解码的繁琐过程。早期的二进制数据结构格式对于 C 程序员而是比较简单的,在解码时直接进行结构硬对齐就OK了,但对于其它语言(如 JAVA,PHP)则就麻烦很多,JAVA 语言不仅需要采用字节流一个一个对齐,而且还得要考虑到 C 结构体的数据打包填充方式;SOAP 方式看似满足了各类编程语言数据交换的目的,但数据臃肿是一个很大的问题,我们为了传输几个字节的数据则需要不得不封装大量的 XML 标记。为了使跨语言开发的程序员从麻烦的数据编解码中解脱出来,后来出来很多序列化&#x2F;反序列化的工具库,比较著名的象 Facebook 的 thrift,Google 的 protobuf。这些工具库功能非常强大,但有一个问题是,这些工具库所要求的预先定义的 schema 的亲民性不够好,增加了额外的大量学习成本。</p>
294-
<p>最近由 <a href="mailto:&#110;&#x69;&#117;&#107;&#x65;&#121;&#x40;&#113;&#x71;&#x2e;&#x63;&#111;&#109;">&#110;&#x69;&#117;&#107;&#x65;&#121;&#x40;&#113;&#x71;&#x2e;&#x63;&#111;&#109;</a> 为 acl 库新增了 C++ 对象序列化与反序列化库,大大提高了程序员的编程效率及代码准确率。acl 序列化库实现了 C++ struct 对象与 JSON 对象之间互转功能,使用方式非常简单。</p>
294+
<p>最近由 <a href="mailto:&#x6e;&#105;&#117;&#107;&#101;&#x79;&#64;&#113;&#113;&#46;&#99;&#x6f;&#x6d;">&#x6e;&#105;&#117;&#107;&#101;&#x79;&#64;&#113;&#113;&#46;&#99;&#x6f;&#x6d;</a> 为 acl 库新增了 C++ 对象序列化与反序列化库,大大提高了程序员的编程效率及代码准确率。acl 序列化库实现了 C++ struct 对象与 JSON 对象之间互转功能,使用方式非常简单。</p>
295295
<h2 id="一、acl-序列化库的功能特点:"><a href="#一、acl-序列化库的功能特点:" class="headerlink" title="一、acl 序列化库的功能特点:"></a>一、acl 序列化库的功能特点:</h2><ul>
296296
<li>可以直接将 C++ struct 对象转换为 Json 对象,同时还可以将 Json 对象反序列化为 C++ struct 对象;</li>
297297
<li>支持 C++ struct 对象中包含构造函数及析构函数;</li>

2020/01/15/ssl/index.html

Lines changed: 46 additions & 29 deletions
Large diffs are not rendered by default.

2020/06/05/about_fiber/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,12 @@ <h2 id="五、总结"><a href="#五、总结" class="headerlink" title="五、
635635
<article class="post-prev col-6">
636636

637637

638+
<a href="/2023/05/27/using_wizard/" title="使用向导快速生成服务程序">
639+
<i class="iconfont icon-arrowleft"></i>
640+
<span class="hidden-mobile">使用向导快速生成服务程序</span>
641+
<span class="visible-mobile">上一篇</span>
642+
</a>
643+
638644
</article>
639645
<article class="post-next col-6">
640646

0 commit comments

Comments
 (0)