CodeIgniter Standards for Coding
<p>I just want to ask if is it okay that I use native PHP language?</p>

<p>Example:</p>

<pre><code>public function updatePost(){
if(!empty($_POST['name'])){
    return true;
}else{
      return false;
    }
}
</code></pre>

<p>CodeIgniter:</p>

<pre><code>public function updatePost{
    $this-&gt;form_validation-&gt;set_rules("name","Name","trim|required");
    if($this-&gt;form_validation-&gt;run()==false){
          return false;
    }else{
                  return true;
            }
}
</code></pre>

<p>Thanks in advance!</p>
