Summary
We have reduced the size of our "page down". Also, if we want to set up a function to edit another table, we can use the techniques that have been discussed in this chapter. We can create a simple data object and child, along with a few parameters that we have seen in product.cfc
. This is known as Object Relational Management (ORM) by the development community. It is a very simple example to get started. Now, we can clearly see that when it comes to reuse, this is a much better way to write our code. The following is a summary of our discussion in this chapter:
We implemented access permissions on CFC methods
We learned to integrate and streamline the workflow of web forms and CFC database processing
We learned to add and edit data through CFCs and web forms
We discovered the power of code reuse through inheritance
We learned to interact with method arguments by using simple variables