title: JavaFX: Why most of the examples of the web do not separate the layers View and Controller using, for example, files fxml?
body: <p>Most of the source codes I find on the web about JavaFX show codes with the View and Control layers in one source. So the code that creates the visual components are attached to the methods corresponding to events, ie, layers View and Controller are together. That's not bad, since it is better to develop using MVC architecture?</p>
  
  <p>Why do not prefer web examples separate layers View and Control, ie, use files ".fxml" and controllers in Java classes?</p>
  
  <p>I really liked JavaFX Scene Builder, but there are few examples of web that implement this separation of layers using files ".fxml".</p>
  
  <p>I am Brazilian, sorry the possible english errors.
  Thank you!</p>