12 Jan 2010 3:11 AM #1
Ext.ux.FileView - Tell me what you think???
Hi guys, I'm working on my Aral Desktop CMS project and I developed a very nice file view that allow you to complete manage the files / folders inside the root directory specified, with file upload, copy, cut, paste, move (Drag&Drop), open etc.. commands.
By now, this object is only used inside my project and I was thinking if someone find this helpfull to integrate inside another project. Give me your feedback, in this way I can consider to port it in a Ext.ux.FileView object.
You can see a full demonstrative video here:
12 Jan 2010 3:20 AM #2
Very nice! it could be used as a front end for FTP directory operations through a browser.
Looks tightly integrated with your CMS (recycle bin), would it be too difficult to isolate it as an independent extension?
I liked the video playback portion of the demo.
12 Jan 2010 3:23 AM #3
Hey man, that file view looks real cool.
I think sharing it as encapsulated ux will be even cooler.
I can think of some projects i did in the past where it would had been helpful.Live Long And Prosper \\//
12 Jan 2010 5:26 AM #4
Would be awesome if you could share this, looks really good!I`m from Holland!
12 Jan 2010 5:42 AM #5
In this situation, the default doubleclick action on a file is interpreted from the FileView as Select and not Open, firing an event that gives me back the selectef file with all the information I need. In fact, The FileView uses another object I developed called Ext.ux.File that is a wrapper of every single file you see.
12 Jan 2010 5:44 AM #6
12 Jan 2010 7:19 AM #7
12 Jan 2010 7:36 AM #8
The operations really move files on the server. In the video, when you see the deleted files fade out or the uploaded / pasted files fade in, it means that the server really moved that file to its destination and send back to the client the actual folder content, marking the files in object as New or Deleted. At this point when the json reader load the new files, it see that some files are marked so the FileView is able to provide the animation as feedback of the completed operation on those files. So, every single file operation reload the content of the directory you are in. This because i'm also developing the folder / files sharing with other users, so I need to reload everythings becouse meantime the situation on the server could be changed by another user.
12 Jan 2010 7:38 AM #9
Impressive! Does the server need any special requirements for those operations to be supported?I`m from Holland!
12 Jan 2010 7:45 AM #10
Absolutely not .
I've added some security checks for my cms because, as you can understand, only the logged in user can see his files. For this reason, the component make a douple check of the credentials (username, pwd, unique security key) one on the client before request the files to the server and one on the server to check if the credentials match the ones saved on the session. If both succed the folder content is send to the client in a classic json data format.