Hi,
I would like to know, how I should design database to use Connector on Tree and TreeGrid. My project requires that user may drag tree nodes or children, add/edit/delete items, and save his changes to database.
To do in best way, should I store XML in the mySQL database? Or should I design tables in the database? Would the table look like this example?
+-------------+----------------------+--------+
| category_id | name | parent |
+-------------+----------------------+--------+
| 1 | ELECTRONICS | NULL |
| 2 | TELEVISIONS | 1 |
| 3 | TUBE | 2 |
| 4 | LCD | 2 |
| 5 | PLASMA | 2 |
| 6 | PORTABLE ELECTRONICS | 1 |
| 7 | MP3 PLAYERS | 6 |
| 8 | FLASH | 7 |
| 9 | CD PLAYERS | 6 |
| 10 | 2 WAY RADIOS | 6 |
+-------------+----------------------+--------+
Please advise me on which way I should begin? Thanks!