To achieve Power Pages code that is portable from your Model Driven App forms to Power Pages it would be nice to have the MDA Client API available in Power Pages. But sadly it is not there yet, but we will try to make it happen!
In this video we will start with the common methods of getValue and setValue.
Repository Link: https://github.com/Kunter-Bunt/PowerPagesClientAPI
Check it out here.