For general guidelines or even some pretty detailed advice you might look at this section in the sister gardening site.  You do not have to join to browse through this. 
https://www.theeasygarden.com/forums/composting-soil-building.15/
Your basic goals are to get a reasonable mix of greens and browns and keep them at a certain level of moisture.  Some materials like wood can take a lot longer than others to break down.  The closer you can come to the ideal conditions the faster the composting will occur, but even if you are not that close the stuff will break down unless you are somewhere it stays really dry, like the desert. 
For the professionals it is a pretty exact science.  For people like us I don't try to get that exact but I do try to follow certain general guidelines.