title: elm and database transactions
body: <p>I have a static website where all the content is rendered by elm.</p>
  
  <p>Right now all the data is hard-coded into the elm source code. In the future I would like to add a small amount of database interaction to the project.</p>
  
  <p>The web server I use support MySQL databases and PHP.</p>
  
  <p>I was thinking it would be nice to be able to use the <code>get</code> function in the <a href="http://package.elm-lang.org/packages/evancz/elm-http/3.0.0/Http" rel="nofollow">elm Http package</a> to point to a php script on the server, which would query the database, and return json data that my elm program could interpret and render.</p>
  
  <p>I would like to know if:</p>
  
  <ul>
  <li>This approach is possible</li>
  <li>There is a better (more convenient or correct) way to do this </li>
  </ul>