Blog

New tutorial : Sortable lists

Jobeet, learn symfony step by step, 24 days, 1 hour a day

« Back to the Blog

Categories

Feeds

feed Posts feed

comments feed Comments feed

Be trained by symfony experts
Jan 21: Paris (1.2 - Francais)
Feb 04: Montpellier (1.2 - Français)
Feb 18: Paris (1.2 - Francais)
Mar 11: Nantes (1.2 - Français)
Mar 18: Paris (1.2 - Français)
and more...

Archives

Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

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.

Comments comments feed

No comment yet.