2018-10-13, 01:00:39
I'm new to GS (just testing it) and I would like to know, what is the best practice to integrate own business logic in GS?
In the MVC pattern that would be the business model, e.g. data input from website user to store in MySQL DB (or would you store that in xml-files?), edit and update the data and perhaps delete it (CRUD). There may be some more data relations and data filtering to view them on selected pages (of GS).
The important point is to catch the requests from the user and show the retrieved data on the website.
The logic is written in PHP and now I want to know whether you would write a plugin for that, integrate it in a new theme or what would you suggest as solution for this?
Regards
Tom
In the MVC pattern that would be the business model, e.g. data input from website user to store in MySQL DB (or would you store that in xml-files?), edit and update the data and perhaps delete it (CRUD). There may be some more data relations and data filtering to view them on selected pages (of GS).
The important point is to catch the requests from the user and show the retrieved data on the website.
The logic is written in PHP and now I want to know whether you would write a plugin for that, integrate it in a new theme or what would you suggest as solution for this?
Regards
Tom