How to access external database?

I have a web application, and wanted to make it a ibrido application, how can I disponibiilizar information from my web application to mobile application using the framwork, the idea is to show some data to do some selects on a database that is in the cloud, using a kind Iframe!

I’m a n00b but heres what I would do:

I’ve done both, all of which can be achieved via normal javascript. I really hope trhat helps - certainly Parse is really really easy to set up and use and is a big name in BAAS.