Perl 的 Web 框架 Mojolicious 2.0 发布

openkk 12年前
     <p>Mojolicious 是下一代的 Perl 语言的 Web 编程框架,提供强大的功能而无需第三方包依赖,功能包括:RESTful 的路由、插件管理、Perl风格的模板系统、会话管理、签名的 cookie、静态文件服务、测试框架、文件级的Unicode支持等等。<br /> <br /> 同时 Mojolicious 也是一个全堆栈的 HTTP/1.1 和 WebSocket 的客户端和服务器端的实现,还包括 TLS、Gonjour、IDNA、Comet、Chunking和 multipart支持。内建支持 Linux epoll、kqueue以及Unix Domain套接字的Web服务器。自动检测 CGI, FastCGI, 和 PSGI。提供 JSON 以及 XML/HTML5 的解析器,支持 CSS3 的选择器。<br /> </p>    <h4>Features<br /> </h4>    <p>    An amazing real-time web framework supporting a simplified single file mode through Mojolicious::Lite.<br /> <br />         Powerful out of the box with RESTful routes, plugins, Perl-ish templates, session management, signed cookies, testing framework, static file server, I18N, first class unicode support and much more for you to discover.<br /> <br />     Very clean, portable and Object Oriented pure Perl API without any hidden magic and no requirements besides Perl 5.10.1 (although 5.12+ is recommended, and optional CPAN modules will be used to provide advanced functionality if they are installed).<br />     Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6, TLS, Bonjour, IDNA, Comet (long polling), chunking and multipart support.<br />     Built-in non-blocking I/O web server supporting libev and hot deployment, perfect for embedding.<br />     Automatic CGI and PSGI detection.<br />     JSON and HTML5/XML parser with CSS3 selector support.<br />     Fresh code based upon years of experience developing Catalyst.<br /> <br /> 项目地址:<a href="/misc/goto?guid=4958194010835348564" target="_blank">http://mojolicious.org/</a><br /> </p>    <p><strong>Changes:</strong></p>    <p>1. Perl 5.10.1: 提升了性能<br /> 2. Morbo: 可自启动的开发用 Web 服务器<br /> 3. 内置对 libev 事件循环的支持<br /> 4. 使用事件对框架进行扩展<span class="truncate_more"><br /> 5. Mount 插件允许嵌入整个应用<br /> 6. 产品级的 Web 服务器更加友好<br /> 7. Collections make Web scraping fun. <br /> 8. 可方便进行 WebSocket 编程测试<br /> <br /> </span></p>