tbcrowe (3) [Avatar] Offline
#1
I'm working my way through chapter two at this point, so I don't know how far this terminology extends. I think the use of the term "model" in the code is needlessly confusing. With MVC the "model" refers to the class that is tasked with marshaling data. An "instance" of a model is a particular set of data marshaled by the model. Although it does refer to instances in a few cases, the example code generally uses the term "model" to refer to individual instances. It would be far better to refer to the model instances by either the term "instance" or the term "record".
mitchellsimoens (12) [Avatar] Offline
#2
Re: Use of the term "model"
I know it has been months since you opened this thread. The term Model and record really go hand in hand. A Model is used to describe the class and a record is an instance of a Model.