A generalized coupled map lattice (CML) model of ecosystem dynamics is presented. We consider the spatiotemporal behavior of a prey-predator map, a model of host-parasitoid interactions, and two-species competition. The latter model can show phase separation of domains (Turing-like structures) even when chaos is present. We also use this CML model to explore the time evolution and structural properties of ecological networks built with a set of N competing species. The May-Wigner criterion is applied as a measure of stability, and some regularities in the stable networks observed are discussed.