7 Jul 2009 6:49 AM #1
After playing around with Ext for a while I finally got around making my first extension.
As of now, it reached a working 0.1 version with all features I thought were necessary for it to be useful.
It's (how surprisingly) a file browser! It extends Ext.Panel which uses a borderlayout. The west region holds a tree displaying the folders, and the center region holds a grid displaying the files in the currently selected folder.
It support basic operations, naming create/delete/rename folders and delete/rename/move/download files.
It comes with a sample PHP backend to provide some out of the box functionality but keep in mind that was only written to work, not to be safe. So don't use in production.
The zip contains one folder. Copy ExtJS into it and assure that all url's are correct. Navigate to it and things should be working on a PHP server.
There is another folder named 'docs' containing an html file with (guess what) documentation.
Since i've been too lazy to write a secure backend, I can't provide a live demo, but below you'll find 2 screenshots showing the UI.
I'm really curious what you guys think about it, and I appreciate all feedback!
Fixed some bugs + maintenance.
Project now hosted at google code.
- You can now configure a different URL for each action performed on the server
- If, when creating/ renaming files/folder, then name has changed on the server due to eg. filtering
you send an extra parameter in the response with the new name which is then reflected in the UI
- refreshGrid() nog uses reload() on the store
- Docs updated accordingly
Please let me know if you run into any troubles, or create an issue on the project page.
Last edited by bruijn88; 4 Nov 2009 at 3:40 AM. Reason: Update: small updates
7 Jul 2009 8:43 AM #2
This is fantastic! Good work!
I'll check it out later.
10 Jul 2009 4:06 AM #3
It's good work.
I'll use this plugin in my work, when I write uploading function.
11 Aug 2009 10:17 AM #4
Thanks, looks very interesting.
Do you mind if I port it to .Net (ASP.NET MVC)?
12 Aug 2009 8:47 AM #5
14 Aug 2009 8:08 AM #6
Tested in IE7 and FF3.
Noticed the file list grid does not allow you to scroll...
14 Aug 2009 8:51 AM #7
Thanks for pointing out!
Fixed and updated download.
14 Aug 2009 9:25 AM #8
Thanks for updating.. I tried to download it again but the link does not work...
14 Aug 2009 9:35 AM #9
With the update I also changed some of the sample files so it wouldn't exceed the max file size of this forum.
It's odd, because the link works here. Did the previous one work for you? If so, i can provide a link to the old location (with the fixed version of course).
14 Aug 2009 9:39 AM #10
Strange, when I click on your download link in the first post I get:
"Invalid Attachment specified. If you followed a valid link, please notify the administrator"
That is the link I used the first time I downloaded it...