Integrate app logic and database data
Permalink
Hi folks.
I'm totally new in concrete5 and i'm surprised with its simplicity and power. I've spent a few hours reading the documents, learning the architecture and how it works.
This is my scenario. I've to migrate an existing site. It pulls its data from a database so i've to integrate that app logic into Concrete5.
The database has information about people. There is a custom template for all pages. When the page generates it connects to the database and pulls the information about a particular person. In this point i don't know how to integrate the database interaction. I think that the interaction with the database should be in a controller. But, which type of controller? A new page type controller or a new custom block controller?
What would the best approach to solve this?
Thx!
I'm totally new in concrete5 and i'm surprised with its simplicity and power. I've spent a few hours reading the documents, learning the architecture and how it works.
This is my scenario. I've to migrate an existing site. It pulls its data from a database so i've to integrate that app logic into Concrete5.
The database has information about people. There is a custom template for all pages. When the page generates it connects to the database and pulls the information about a particular person. In this point i don't know how to integrate the database interaction. I think that the interaction with the database should be in a controller. But, which type of controller? A new page type controller or a new custom block controller?
What would the best approach to solve this?
Thx!