Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

New tutorial : Sortable lists

The symfony book keeps growing, and the latest update will please the ones looking for more AJAX tutorials and more model examples.

The new sortable lists tutorial describes two ways to implement a sortable list - a list that the user can reorder easily. The classic method uses arrows to move an item up and down, and the AJAX method transforms each item into a draggable widget.

The implementation is not hard, but if you want to keep a good MVC separation, you need to put most of the code dealing with the item order in the model. That's why this tutorial is also a good way to get familiar with Propel and the Criteria object.

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.