Porous materials are essential for many chemical processes, such as light harvesting, adsorption, catalysis, energy transfer, and even new technologies for electronic materials. Therefore, many efforts have been made to control the porosity of different manufactured materials.