Custom Profile center code along with admin page in sfmc documentation clarification?

Please refer to this post Build a Custom Profile Center for Multi-Org purpose and then to this link in the sfmc documentation:https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/creating_a_custom_profile_center_using_ampscript_and_the_soap_api.htm. I’m sure a lot of you are familiar with these two docs.