AdoDB Lite made ready for MageDB and Recursion

Hey,

AdoDB Lite
MageDB is using AdoDB Lite as database wrapper but sadly had some strange behaviors.
I had to create 2 modules (3 new functions) to solve those problems.
It where my first modules ever for any script and i’m happy that they worked out well.

Recursion
Recursion is a very handy “trick” to walk through a bunch of category’s (db entries) at once but is hard to do.
I finally made recursion the good way and can now apply it where it’s needed (mainly the navigation bar and the file count).

Till next update.
Mark.


Original pasted here: http://forum.mageprojects.com/magedb-adodb-lite-made-ready-for-magedb-and-recursion-t11.html

Screenshots and some progress

Hey,

Recently i haven’t been posting alot of new MageDB stuff so i post some extra good stuff today.
The MageDB design has been altered a little because i though it would fit the current idea behind MageDB the best (which is simple, good, fast and easy to use without much/any junk around it).

From the looks of the screenshots below you might think that MageDB is about to be done but that’s sadly not true. I’ve rewritten MageDB because it was already getting a mess so now i will have to do the admin panel all over again as well. The public part (what you see in all the screenshots) is probably about 35% done.

Screenshot 1 – Nothing special. just the main view of MageDB with it’s wonderful clean looking layout.
Free Image Hosting at www.ImageShack.us

Screenshot 2 – Once you click on one of the items in Screenshot 1 you will see this
Free Image Hosting at www.ImageShack.us

Screenshot 3 – This is the first one where you see Ajax in action. The blue bar is drawn there with the help of ajax and in there you will get the detailed information of a file. those boxes can be opened/closed by clicking on the middle “Other” button. (assuming you run MageDB which you don’t have ^_^) MageDB will use alot more of those tricks.
Free Image Hosting at www.ImageShack.us

Screenshot 4 – Here you see the file view with all it’s details. As you can see it’s all still a little plain in here because i need to finish the scripts behind it but you can see the idea. You also see the Comments number in collapsed form. The next screenshot shows it in expanded form
Free Image Hosting at www.ImageShack.us

Screenshot 5 – Here you see another nice Ajax trick. The comments are being grabbed from the database when you click: “Show Comments” (visable in previous screenshot) which than expands the comments and changes show comments to “Hide Comments”. Fancy huh. more of this will go in MageDB.
Free Image Hosting at www.ImageShack.us

Screenshot 6 – Here you see the My Options panel. it’s quite plain at this moment because there isn’t much in it but that will change. Currently this page only serves as a dummy page because the edit links aren’t even working.. i want something there that isn’t existing yet in javascript tricks (remote edit in place – initiate the edit in place when you click “Edit” .. and that has to be made.)
Free Image Hosting at www.ImageShack.us

That’s it for now.
Cya next time.