On the client, you??™ll need to dig
into the API documentation for the dhtmlxGrid component and figure out how to allow
multiple selections (hint: it??™s easy!). Turn on that ability temporarily so the user can
select two files, do the compare, and then turn it off.
??? Even better, based on the last suggestion, how about give the user the ability to always
select multiple files or directories for operations where it makes sense? Windows
Explorer obviously allows this, and I left it out to make the code simpler, but also to
leave it as an exercise for you. This will be a bit of a challenge because you??™ll need to
alter the method signatures for various server-side functions to accept an array of
selections, but otherwise I wouldn??™t expect it to be too difficult.
??? Build a tool to get the size of a selected directory. This is a really handy thing in a file
manager. Bonus points if you add a column to the grid and allow the ability to show the
sizes of all child directories of the current directory being viewed!
??? How about the ability to view and alter file and directory attributes? It could be a little
challenging if you intend to keep the app cross-platform.
??? Replace the sparse file upload form with the dhtmlxFileVault component.
Pages:
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580