Summary
We have reduced the size of our page code. 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 a child object along with a few parameters that we have seen in product.cfc
. This is known as Object Relational Management (ORM) to the development community. It is a very simple example to get started with. 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:
Universal data code, platform independent
How to set up applications for entity ORM-based CFCs
How to create entity ORM-based CFCs
How to create relationships for entity ORM-CFCs
How to code outside the entity to manage the entity objects