Not sure if this is the best way to do this, but this is how I like to handle the situation public function action_index($raw = 0) { $records = Jelly::select('scores')->execute(); if ($raw == 0) { $view = new View('purdy'); $view->records = $records; $this->template->content = $view; } else { $this->auto_render = FALSE; $this->request->headers'Content-Type' = 'text/xml'; $view = new View('raw'); $view->records = $records; $this->response->body($view->render()); } } ### THE PURDY VIEW ### '; echo ''. $record->name. ''; echo ''.
$record->value. ''; echo ''; }? > ### THE RAW VIEW ### '; echo ''.
$record->name. ''; echo ''. $record->value.''; echo ''; }?
Not sure if this is the best way to do this, but this is how I like to handle the situation. Public function action_index($raw = 0) { $records = Jelly::select('scores')->execute(); if ($raw == 0) { $view = new View('purdy'); $view->records = $records; $this->template->content = $view; } else { $this->auto_render = FALSE; $this->request->headers'Content-Type' = 'text/xml'; $view = new View('raw'); $view->records = $records; $this->response->body($view->render()); } } ### THE PURDY VIEW ### '; echo ''. $record->name.''; echo ''.
$record->value. ''; echo ''; }? > ### THE RAW VIEW ### '; echo ''.
$record->name. ''; echo ''. $record->value.
''; echo ''; }?
I used Kopjax - Pjax jQuery ajax module. Its code is available on gitgub.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.