I have a few general questions for the CheckVist makers:
I have a few general questions for the CheckVist makers: 1. Do you get a user's task list as: A. Nested data (with children tasks inside parents) B. Flat data (like an array of task-objects) C. both (nested data for building the DOM, flat data for editing and moving around tasks etc.) If it's 'C' where do you keep your single source of state? 2. Do you use a "nested set" database? ( https://en.wikipedia.org/wiki/Nested_set_model ) or do you only have one column for parent_id and one column for task dept? If you do not use a nested set model, how do you calculate the dept of a tree? 3. If you make a task a child of another by pressing 'tab', do you get that one task back from the server again after sending it through Ajax? Or do you only update the DOM manually after sending the changed parent_id to the server?