title: ExtJS 4 Best way to select an element
body: <p>In the code (I use MVC model if it matters), to get a specific elements, I use refs.</p>
  
  <pre><code>refs: [
      {
          ref: 'window',
          selector: 'windowName'
      },
      {
          ref: 'windowButton',
          selector: 'windowName button[name=buttonName]'
      },
      {
          ref: 'windowCombo',
          selector: 'windowName combo[name=comboName]'
      }
  ]
  </code></pre>
  
  <p>Is this the right choice to get an elements? Or I have to use getCmp() or something else?</p>