Critique wanted for a small project - server file explorer
Posted: Fri May 25, 2007 2:40 pm
I've been working on a little hobbyproject from time to time the past 1½ years, and have recently released it (http://phpFe.vigge.net/). It's basically a lightweight directory and file explorer/lister with some extra features such as sorting, RegEx enchanced searching and "friendly" URLs, and can be extended by an addon to turn it into a file manager (moving around and deleting files, renaming and uploading, etc.).
I'm interested in some critique on how I've implemented the features, and anything else you can come up with. Currently the admin addon defines some functions which the script attempts to use if the user is logged in (if ($admin) admin_firstcol (); for example), but I have thoughts on converting everything into a more OO-friendly approach and make it modular to easily add support for things like thumbnail generation and maybe some kind of gallery. However, as I don't have any OOP-experience I was wondering if any of you had any ideas on how turn this project OO in a efficient way, which I could then try to base my re-coding on.
Anyway, onto the code which, as it is pretty long I didn't know whether to post them here or not, I posted it on one of these so called pastebins, which will hopefully make them easier to read.
phpFe (0.7.2): http://pastebin.ca/510107
phpFe_admin (0.4.2): http://pastebin.ca/510112
Thanks in advance =)
I'm interested in some critique on how I've implemented the features, and anything else you can come up with. Currently the admin addon defines some functions which the script attempts to use if the user is logged in (if ($admin) admin_firstcol (); for example), but I have thoughts on converting everything into a more OO-friendly approach and make it modular to easily add support for things like thumbnail generation and maybe some kind of gallery. However, as I don't have any OOP-experience I was wondering if any of you had any ideas on how turn this project OO in a efficient way, which I could then try to base my re-coding on.
Anyway, onto the code which, as it is pretty long I didn't know whether to post them here or not, I posted it on one of these so called pastebins, which will hopefully make them easier to read.
phpFe (0.7.2): http://pastebin.ca/510107
phpFe_admin (0.4.2): http://pastebin.ca/510112
Thanks in advance =)