6.4. Summary

In this chapter, you got a taste of building a rich Internet application with PHP and JavaScript by building a web-based file manager application. By integrating such a utility, you can offer people more flexibility in how they manage their remote files. Users are able to transfer files, rename and delete files, and create, rename, and delete directories. The nice thing is the user is able to see changes to the remote file system in real time without having to reload the entire page after each action.

Some other features you might like to add if you are considering building up from the code presented here are support for multiple users by logging in and providing each their own directory and incorporating a feedback icon while the AJAX transaction is being processed.

Regardless, the file manager you've just completed will be put to good use as a back-end for the file-based photo album you'll build in the next chapter.

Get PHP and MySQL®: Create-Modify-Reuse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.