[eluser]Iverson[/eluser]
[quote author="xwero" date="1219930630"]Personally don't like the use of objects in the views. Crafters example in my hands would be
Code:
//controller
$data['content'] = ($logged_in)?$this->load->view("logged_in_user_message"):$this->load->view("not_logged_in_user_message");
// view
<h1> Some html text </h1>
<?php echo $content ?>
[/quote]
This is pretty much the route I'm going now. However, I can assume from your suggestion that you have more views than models and controllers? I guess I always thought of views in more of a general template versus using them for different instances. Maybe I'll look into that...