Mojolicious 4.0, the Perl real-time framework updated.
Henceforth available this new
version includes the following features:
- Content generators: “json” and “form” generators are built right in. (see example)
- JSON WebSocket messages: Native serialization and deserialization support. (see example)
- JSON WebSocket tests: Just as easy to use as their HTTP equivalents. (see example)
- Event synchronization: Avoid callback spaghetti with delays. (see example)
- Scalability: The event loop got a lot better at managing more than 10k concurrent connections. (see example)
- Smooth restarting: The Morbo development web server does not have any noticeable downtime while restarting anymore.
- Hooks: The framework got more extensible with new hooks. (see example)
- GZip: Compression is now transparently supported by the user agent.
- HTML5 forms: Tag helpers have been added for many of the new form elements. (see example)
- Session expiration: Can now be controlled with a relative value that persists within the session. (see example)
- GET/POST parameters: Retrieve multiple values at once with the much more secure multi name form. (see example)
- JSON Pointers: Now fully RFC 6901 compliant. (see example)
- Monotonic clock support: All built-in web servers are now very resilient to time jumps.