A direct hydrothermal assembly process was developed to synthesize mesoporous aluminophosphates that are constructed with crystalline microporous frameworks, by the addition of organosilane surfactants into the conventional synthesis composition for crystalline microporous aluminophosphates.