前言由于个人喜欢springmvc对restful支持的完美,再加上配置简单和与spring的天然集成,故项目打算用springMvc;freemarker 尽管网上有众多评测,言之性能不挤,但对于我们项目的的环境而言是足够的,再加上其丰富的内建函数与指令,亦十分的方便;至于sitemesh,简单的...
分类:
编程语言 时间:
2014-11-11 01:58:50
阅读次数:
420
怎么通过beam文件得到所有的record或源代码?1. 首先必须要在compile里面加上debug_info信息:1 > c(load,[debug_info]). {ok,load}2> beam_lib:chunks(code:wh...
分类:
其他好文 时间:
2014-11-11 00:42:46
阅读次数:
426
对流式模型的理解:
以鼠标移动拖拽为例,在原来的回调函数模型中,拖拽的动作被分散到mousedown/mousemove/mouseup等琐碎的处理中,
其中很多与拖拽本身无关的处理;
而在流式模型,只需要关心拖拽本身的处理逻辑。
在erlang中流式模型是基于进程实现,那在C语言中如何实现?...
分类:
其他好文 时间:
2014-11-09 23:53:55
阅读次数:
239
原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface联系邮箱:cto@188.comSSH DaemonErlang/OTP comes shipped with an SSH implementation that can both act as a server and a client. Part of it is a demo...
分类:
系统相关 时间:
2014-11-09 11:21:37
阅读次数:
306
Named Pipes命名管道(Named Pipes)A little known way to connect with an Erlang node that requires no explicit distribution is through named pipes. This can be done by starting Erlang with run_erl, which wra...
分类:
其他好文 时间:
2014-11-09 11:19:15
阅读次数:
239
RemshThere’s a mechanism entirely similar to the one available through the JCL mode, although invoked in a different manner. The entire JCL mode sequence can by bypassed by starting the shell as follo...
分类:
其他好文 时间:
2014-11-09 11:19:02
阅读次数:
186
连接到远程节点Interacting with a running server program is traditionally done in one of two ways. One is to do it through an interactive shell kept available by using a screen or tmux session that runs in th...
分类:
其他好文 时间:
2014-11-09 09:56:37
阅读次数:
127
??一般来说网络通讯常用的方式有2种:文本通讯和二进制通讯。php与erlang之间实现文本通讯比较简单,这里就不做讨论,本文主要讨论的是php与erlang实现二进制通讯的实现方法。实现步骤如下:erlang端代码:-module(server).
-export([start/0]).
-define( UINT, 32/unsigned-little-integer).
-define(...
分类:
Web程序 时间:
2014-11-07 13:09:12
阅读次数:
218
??原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者SunfaceProject StructureThe structures of OTP applications and of OTP releases are different. An OTP application can be expected to have one top-le...
分类:
其他好文 时间:
2014-11-06 22:02:12
阅读次数:
325
继续昨天的故事话说昨天新建了一个帐号linc,今天在执行sudo时回显一个很吓人的信息:[plain]view plaincopy[sudo]passwordforlinc:linc不在sudoers文件中。此事将被报告。这是要去哪儿报告呢?本人最讨厌别人打小报告了,哈哈。为了解释这个问题,先来说说...
分类:
其他好文 时间:
2014-11-06 21:38:12
阅读次数:
149