1

I have a record so I can save my data to the DB but do I need a model for services and stuff ? Or can the record do that too ?

4

Records can do that too (where that = hold data), but, according to Craft docs, Records should never ever leave Service layer. So, yes, you do need a model too.

| improve this answer | |
  • +1 Records should never make their way to a view / template. – Jay May 1 '15 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.