Here are a couple of brief tips to keep in mind about some of the patterns we've seen in this chapter:
eval function to execute the code. This is actually a very dangerous idea as
eval opens up an entire world of security issues. It is generally considered to be very bad form to use
- If you find yourself in the position to audit the changes to data in your project, then the memento pattern can easily be modified to suit. Instead of keeping track of just the state changes, you can also track when the change was made and who changed it. Saving these mementos to disk somewhere allows you to go back and ...