Perl的Web开发框架 Mojolicious 2.10 发布

fmms 12年前
     Mojolicious 是下一代的 Perl 语言的 Web 编程框架,提供强大的功能而无需第三方包依赖,功能包括:RESTful 的路由、插件管理、Perl风格的模板系统、会话管理、签名的 cookie、静态文件服务、测试框架、文件级的Unicode支持等等。    <p>同时 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 /> <br /> <span style="font-weight:bold;">特性:</span></p>    <ul>     <li>An amazing real-time web framework supporting a simplified single file mode through <a href="/misc/goto?guid=4958195906994580835">Mojolicious::Lite</a>.      <blockquote>       <p>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. </p>      </blockquote> </li>     <li>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). </li>     <li>Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6, TLS, Bonjour, IDNA, Comet (long polling), chunking and multipart support. </li>     <li>Built-in non-blocking I/O web server supporting <a href="/misc/goto?guid=4958195907745102965">libev</a> and hot deployment, perfect for embedding. </li>     <li>Automatic CGI and <a href="/misc/goto?guid=4958195908477189587">PSGI</a> detection. </li>     <li>JSON and HTML5/XML parser with CSS3 selector support.</li>     <li>Fresh code based upon years of experience developing <a href="/misc/goto?guid=4958195909221584795">Catalyst</a>. </li>    </ul>    <p><br /> <span style="font-weight:bold;">项目地址:<a href="/misc/goto?guid=4958194010835348564" target="_blank">http://mojolicious.org/</a></span><br /> <br /> Mojolicious 2.10 今日发布了,它的主要变化如下:<br /> <br /> 1. This release adds a send_frame method to Mojo::Transaction::WebSocket. <br /> 2. It adds myn events. <br /> 3. It changes the syntax for binary messages in Mojo::Transaction::WebSocket. <br /> 4. It adds a<span class="truncate_more"> max_memory_size attribute to Mojo::Asset::Memory. <br /> 5. It adds an is_file method to Mojo::Asset and Mojo::Asset::File. <br /> 6. All is_done methods are deprecated in favor of is_finished. <br /> 7. The done event in Mojo::IOLoop::Trigger has been renamed to finish. <br /> 8. Support has been added for new HTTP status codes from draft-nottingham-http-new-status. <br /> 9. A small WebSocket upgrade bug has been fixed in Mojo::Server::Daemon</span></p>