Trees are all around us… inside and outside our computers. As you may have already seen on your daily basis work, when you deal with tree-like structures binded to tables into your DB, you set something like
id | id_father | name | other [...]
Yes, whe know, W3C specs garbaged all the nice IFRAMES that fitted so nicely in our pages. Ajax helped a lot but even if you used Prototye or some other ajax flavoured framework there was soo much work to do; each single link needed an event listener, some tweaking and so on.
After messing up with [...]
here we go, a simple, very basic class to manage DB connections; I know there are so many around BUT
it’s very lightweight because it:
makes use of the “singleton” pattern, so you can start make a mess with patterns [if you've never do so]
ther’s soo much room for improvement
since I use it on an almost everyday [...]
