The efficiency of porous carbons in fine chemical synthesis, among other application fields, has been demonstrated since both the porous structure and chemical surface provide the appropriated chemical environment favoring a great variety of relevant chemical transformations. In recent years, metal organic frameworks (MOFs) and covalent organic frameworks (COFs) have emerged as interesting opportunities in the preparation of porous carbons with improved physico-chemical properties. Direct calcination of MOFs or COFs, in the presence or not of others carbon or heteroatom sources, could be considered an easy and practical approach for the synthesis of highly dispersed heteroatom-doped porous carbons but also new porous carbons in which single atoms of metallic species are present, showing a great development of the porosity; both characteristics of supreme importance for catalytic applications. The goal of this review is to provide an overview of the traditional methodologies for the synthesis of new porous carbon structures together with emerging ones that use MOFs or COFs as carbon precursors. As mentioned below, the catalytic application in fine chemical synthesis of these kinds of materials is at present barely explored, but probably will expand in the near future.