Blog

New tutorial : Sortable lists

« Back to the Blog

Categories

Feeds

feed Posts feed

comments feed Comments feed

Be trained by symfony experts
Dec 10: Paris (1.1 - Francais)
Dec 10: Atlanta (1.1 - English)
Dec 17: Montreal (1.1 - Francais)
Jan 21: Paris (1.1 - Francais)
Feb 18: Paris (1.1 - Francais)
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.