I’m creating a webapp in PHP using an mvc architecture. I’d like to use dhtmlxgrid with the php connector. However,using Dhtmlx’s documentation, it seems like their is a lot of direct interaction/ coupling between the view(where the js is) and the model(controlling my mysql database)
Is there a different way to load data and update the grid, without rewriting the connector code? Or do you have any ideas to make this more MVC like?
Thanks!
Actually dhtmlx components is perfectly fix in MVC pattern ( or may be I’m totally wrong with understanding MVC
)
We have a component on client side, which defines how data must look - it is the view.
Each data operation goes to the connector. Which is process all data loading|saving request - which is Сontroller. And database used as a Model.
it possible to assign custom insert|update|select logic to connector, which will allow to introduce a custom Model object , which will work between connector and database.