Cylinder Pressure

I need a general understanding of duration vs. cylinder pressure. What builds more, less etc. Why/how is it used when building an engine.

These cam dynamics escape me.

How does it work. Keep it simple please. :D