raw database output > using single pages - no theming involved

Permalink
I made changes in .htaccess and one directory is now excluded from concrete system:
RewriteCond %{REQUEST_URI} !/app/

I did this so I can make some custom php backend stuff to communicate with my application. What I would like now, is to make simple php script to get some data from Concrete database.

I rejected idea of making some generic theme with no head tags as it leads nowhere ( some other elements involved ) so this seemed like good way to go.

What do I need to do ?
I would like to use Concrete's db helper just don't know how to get it running in this case.

Tnx.

 
eOne replied on at Permalink Reply
OK, I figured out it can be simply done by using single pages. Sorry.

New question: what do I need to put in themes file for that single page to be "raw" ; no theme included.

fe. I have single page backend.php. It outputs some data wrapped in theme.
In my theme I've put also backend.php. If I leave it empty, or just put $print $innerContent I get blank page with no output.

How this backend.php in theme should look like so I don't have any html tags but just raw print from my single page with the same name?