The docs give a neat example of how to connect Kirby with a database. As far as I see, it all comes down to providing the access credentials and extending the necessary Page methods to manipulate the data from the database, instead of looking for files.
My question is - if I change a Page method in models/mypage.php
is that method used everywhere, even in the panel? If I rewrite the update()
method, would I be able to change the page data in the database from within the panel? If I have some plugins that read/write data to this page, would they function correctly as well?