I want to develop an application in Appcelerator Alloy framework. So there are some database work, i am now using alloy model for those database work. In this application i have background service, which will get some data from web Service and insert into database. I have some confusion here:
- can i access database from background services?
- what is better for database work. Appcelerator DB or Alloy Model?