event driven vs web based api