title: Data Driven vs Event Driven model/architecture?
body: <p>I heard the terms <code>Data Driven</code> and  <code>Event Driven</code> model from different folks in past. I did google but these terms are still vague to me as both
  of them looks similar to me</p>
  
  <p><strong>Data driven programming</strong> is a programming model where the data itself controls the flow of the program ( not the program logic) where in case of <strong>Event driven programming</strong> ,
  it is the event not the data itself controls the flow of the program.</p>
  
  <p>Per mine understanding event is also the data . For example in employee based web application - If user clicks the create employee button, here event is create employee(which is also kind of data only) and data is employee related information. </p>
  
  <p>Now at server first it will be event which will decide what will be flow of program and then data(employee related information) will also control the flow of execution like if permanent employee different method will be executed and if temporary it will be different</p>
  
  <p>So is not every thing a data driven architecture ? If no what is the difference between them ? Any web based example will help</p>