This document summarizes various methods for self-assembly of photonic crystals, including opals and inverse opals. It discusses how self-assembly provides an alternative to top-down fabrication for creating 3D periodic structures. Specifically, it describes how sedimentation, centrifugation, and physical confinement can be used to assemble colloidal spheres into crystalline structures. It also introduces methods like vertical deposition and floating assembly that rely on capillary forces and evaporation. The document concludes by presenting examples of using atomic layer deposition of TiO2 to infiltrate opal templates and coat ZnO nanorod arrays, creating novel 2D and 3D photonic crystal structures through self-assembly approaches.