Starting MVC PHP - am I doing it right? Im starting with MVC and I'd like you to see my code. Am I doing right? What can I improve in my classes? 

Controller

class Logar extends Controller {

    private $view;
    private $modelDAO;

    function __construct() {
        $this-&gt;modelDAO = new LogarModel();
        $this-&gt;view = new LogarView();
    }

    public function Login() {
        if ($this-&gt;modelDAO-&gt;Login($_POST['funcionario'], $_POST['senha'])) {
            $idFuncionario = $this-&gt;modelDAO-&gt;rows['idFuncionario'];
            parent::redirect("view/funcionario/index.php");
        } else {
            $this-&gt;view-&gt;show("Funcionario nao cadastrado");
        }
    }

}

class controller {

    function redirect($url){
        header("location: {$url}");
    }
}


Model

class LogarModel extends Model {

    function __construct() {
        $this-&gt;conectar();      
    }

    function Login($funcionario, $senha) {
        $sql = "select * from funcionario where login = ? and senha = ? ";
        $this-&gt;read($sql);
        $this-&gt;bindar(1, $funcionario, PDO::PARAM_STR);
        $this-&gt;bindar(2, $senha, PDO::PARAM_STR);
        $this-&gt;executar();
        $this-&gt;contar();
        $this-&gt;pegar_dados();
        $this-&gt;desconectar();
        if ($this-&gt;linhas == 1) {
            return true;
        } else {
            return false;
        }
    }
}

class model {

    function conectar(){
        $this-&gt;conn = new Connection();
    }
    function read($readQuery){
       $this-&gt;stm =  $this-&gt;conn-&gt; prepare($readQuery);
    }
    function bindar($n,$var,$extensao){
        $this-&gt;stm-&gt;bindparam($n,$var,$extensao);
    }
    function contar(){
        $this-&gt;linhas = $this-&gt;stm-&gt;rowcount();
    }
    function pegar_dados(){
        while($this-&gt;rows = $this-&gt;stm-&gt;fetch()){
            return $this-&gt;rows;
        }
    }
    function executar(){
        $this-&gt;stm-&gt;execute();
    }
    function desconectar(){
        $this-&gt;conn = null;
    }
}


View

class LogarView extends view {

    function __construct(){
    }
    function mostrarlogado(){

    }
}

class view {

    function view(){

    }

    function get_var($var,$value){
        $this-&gt;var = $value;
    }

    function show($value){
        $this-&gt;value = $value;
        echo $this-&gt;value;
    }
    function alertar($value){
        echo "&lt;script&gt;alert('{$value}')&lt;/script&gt;";
    }
}


So, how am I going?
Yes, you understood how MVC works, and you are doing it right. The helper functions such as redirect() are in the correct classes. A few comments on the code itself:


I'd recommend to add an exit; statement after sending headers in redirect(). It will be easier to understand the code, since you can now think of the redirect() as a return, which will help you avoid mistakes.
Don't store your password in plain text.
Symply use return $this-&gt;linhas == 1; at the end of your login function.
Your model class simply translates the PDO interface into Portuguese, this is not an interesting layer of abstraction in my book. :)
Declare the variables you use, eg. $this-&gt;stm or $this-&gt;conn.
You are probably going to want an easier way to make requests when you will have dozens of them, but right now it's OK.