Using views in custom code is really powerfull. But it would even get better if you could add a display type on top of your default view that has no "physical space" in your site (like pages and blocks). You are currently limited to using views of display type 'default' (+ fiddling with options in code). You could add a page, but then you need to set a path you'd never use. You could as well add a block, but this would clutter the blocks administration UI (which is allready crowded for small sites).
TUc
Comments
Comment #1
dawehnerHave a look at http://drupal.org/project/embed_views
This supports what you want.
PS: I would like to have this in views, perhaps there is a patch.
Comment #2
dawehnerSadly, this will not be part of views. This would confuse many people