Hopefully, this chapter has given you a good idea about resources and mappings in Railo Server.
We covered:
Reading and writing to local files with the
<cfifle>
tagEasily looping over the contents in a file using the
<cfloop file="">
tagCreating mappings to directories in our filesystem and how to access the templates and components
Creating Railo Archives from mappings, using them, and overriding the order, depending on whether a resource or an archive is used
Using ZIP files as other Archives in our mappings
Using RAM as a mapping to compile and render Railo Templates
Using Amazon's Simple Storage Service as a filesystem to access our files from other Railo Server instances.
Now that you understand mappings, we can move onto the next chapter, in which we extend the functionality of a Railo Server.