- 授权协议: GPLv3
- 开发语言: C/C++
- 操作系统: Linux
- 软件首页: http://code.google.com/p/lighttpd-cpp/
软件介绍
lighttpd-cpp 是一个 C++ 的助手类用来快速创建 lighttpd 的扩展模块,该助手类封装了很多模块编写的复杂度,如下面代码所示:
#include <lighttpd-cpp/plugin.hpp>
#include <boost/mpl/list.hpp>
#include <string>
class mod_blank : public Plugin< mod_blank >
{
public:
mod_blank( server& srv )
: Plugin< mod_blank >( srv ),
some_string ( "some_string" ),
some_int ( "some_int" ),
some_bool ( "some_bool" ),
some_short ( "some_short" )
{}
typedef boost::mpl::list< UriRawHandler,
UriCleanHandler,
DocRootHandler,
PhysicalHandler,
StartBackendHandler > handlers;
handler_t handle_uri_raw( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_uri_clean( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_docroot( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_physical( connection& con ){ return HANDLER_GO_ON; }
handler_t handle_start_backend( connection& con ){ return HANDLER_GO_ON; }
config_option< std::string > some_string;
config_option< int > some_int;
config_option< bool > some_bool;
config_option< short > some_short;
};
MAKE_PLUGIN( mod_blank, "blank", LIGHTTPD_VERSION_ID );
JavaScript精粹
爱德华兹 / 高铁军 / 人民邮电出版社 / 2007-6 / 49.00元
《JavaScript 精粹》主要介绍JavaScript应用中一些常见的问题及其解决方法,从最基础的数字、字符串、数组到进阶的DOM、表单验证、cookie,再到较为高级的Ajax,书中均有涉及。《JavaScript 精粹》覆盖现在非常流行和通用的技术,提出很多出现频率较高的Web开发常见问题,并提供了大量的技巧和解决方案,具有很强的实用性和通用性,书中的代码也具有很强的兼容性。《JavaSc......一起来看看 《JavaScript精粹》 这本书的介绍吧!
