Welcome Guest, Not a member yet? Register   Sign In
What is the best way to fill an object with data from a database
#3

(This post was last modified: 05-29-2017, 04:56 AM by phpforever2017.)

I already found the answer to my question with the pattern Domain Model and Data Mappers. After sending a request from the controller to the model, I get a object product with all attributes, option, image, categories, costs. The client still needs to call the render method and he sees the products.
Sorry for my English
Reply


Messages In This Thread
RE: What is the best way to fill an object with data from a database - by phpforever2017 - 05-29-2017, 04:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB