title: Yeoman Workflow and Integration with Backend Scripts
body: <p>So, I've been anticipating <a href="http://yeoman.io">Yeoman</a> and it's already out for a week or so now. But after successfully installing it, I've been confused at the workflow and the implementation with backend script (API).</p>
  
  <p><strong>Scenario 1</strong></p>
  
  <p>So let's say I don't need all those shiny BBB/Ember/Angular stuff and use Yeoman just for jQuery/H5BP/Modernizr backed with Codeigniter or Sinatra/Rails. Since <code>yeoman server</code> doesn't natively support PHP (I haven't tried Sinatra/Rails), I figure that the workflow is:</p>
  
  <ul>
  <li>Front End Development with Yeoman</li>
  <li>After it's finished, do <code>yeoman build</code> and then use the built <code>dist</code> folder as a base to develop backend (and probably copy the <code>dist</code> folder to another folder for backend implementation (let's say <code>public</code> folder)</li>
  <li>If I should change CSS/JS, use yeoman again, build and copy the <code>dist</code> folder to <code>public</code> again. So on and on...</li>
  </ul>
  
  <p>But using that workflow, that means the directory structure will be something like</p>
  
  <pre><code>cool-app/
  --app/
    --yeoman development stuff
  --test/
    --yeoman development stuff
  --dist/
    --yeoman built stuff
  .dotfiles
  package.json
  Gruntfile.js
  </code></pre>
  
  <p>It's nice and all, but quite a bit different with the CodeIgniter / Rails directory structure. Not to mention there are name difference (<strong>is this configurable in Yeoman?</strong>), so it's kinda hard to imagine a good workflow developing both Front End and Back End in one go, except using the built result as a base for the backend.</p>
  
  <p><strong>Scenario 2</strong></p>
  
  <p>BBB/Ember/Angular. Frankly I've been just testing those stuff, so any tips to implement with backend code is welcome! Though for all I know, yeoman can generate the necessary files for those framework inside app folder, so I figure, the solution of the first scenario will kinda solve the problem for scenario 2</p>
  
  <p>Thanks a lot!</p>