What's the proper method to render a field within the views?

In node templates I render php code using

echo render($content['fancy_field']);

But when I want to render php code within a view I was using

echo render($view->result->_field_data['nid']['entity']->fancy_field);

But it didn't works, any ideas?