Answer the question
In order to leave comments, you need to log in
ORM - what is it and how is it different from ActiveRecord
Hello. A question has come up. I don't understand how ORM differs from ActiveRecord?
After reviewing the code, I realized that AR objects have save, delete methods, but the AR class will also have methods for finding itself. ($a = new Person(1); $a->load() )
Is AR an object that can load, save, delete itself?
ORM is a wrapper for table lookup returning AR objects? (PersonTable::select('*')->where('salary < 20000')->limit(5);)
ORM - is it better to use a static class?
UPD: framework: MicroMVC, but the framework itself is not important, I want to understand the basics so that I can answer the question of how orm differs from ar.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question