Photoalignment and photopatterning has been deproposed and studied for a long time . Light is responsible for the delivery of energy as well as phase and polarization information to materials systems. It was shown that photoalignment liquid crystals by azodye nanolayers could provide high quality alignment of molecules in a liquid crystal (LC) cell. Over the past years, a lot of improvements and variations of the photoalignment and photopatterning technology has been made for photonics applications. In particular, the application of this technology to active optical elements in optical signal processing and communications is currently a hot topic in photonics research . Sensors of external electric field, pressure and water and air velocity based on liquid crystal photonics devices can be very helpful for the indicators of the climate change.We will demonstrate a physical model of photoalignment and photopatterning based on rotational diffusion in solid azodye nanolayers. We will also highlight the new applications of photoalignment and photopatterning in display and photonics such as: (i) fast high resolution LC display devices, such as field sequential color ferroelectric LCD; (ii) LC sensors; (iii) LC lenses; (iv) LC E-paper devices, including electrically and optically rewritable LC E-paper; (v) photo induced semiconductor quantum rods alignment for new LC display applications; (vi)100% polarizers based on photoalignment; (vii) LC smart windows based on photopatterned diffraction structures; (vii) LC antenna elements with a voltage controllable frequency.