An open question related to the assembly of supramolecular complexes is how one-dimensional information encoded in the genome sequentially translates into a complex, three-dimensional structure. As a model for understanding how cells encode and execute this program, we are investigating the assembly of the bacterial flagellum and SPI-1 type III secretion apparatus in Salmonella typhimurium. In both of these systems, gene expression follows a temporal program involving a number of regulatory checkpoints. In this talk, we explore and compare the numerous mechanism used to control gene expression in these two systems using a combination of experimental and theoretical approaches.