开发者

Is something like MacFUSE possible within iOS apps?

I'd like to have virtual files in an iOS app, so I can use [NSData dataWithContentsO开发者_运维百科fURL:] to have a NSData (and a pointer to the bytes eventually) of a large table that I do not want to store on disk, but rather compute parts of when needed.

Any other approach to solving this problem is welcome!


I would recommend rather than thinking of the connection to your "large" table as a persistent one, you should think of it as a queryable service.

I recommend the use of something like REST, and your iOS app queries the REST service.

In the long run makes lots of things really flexible.

Also allows you to centralise a lot of the logic on the server side, this means you can use caching techniques to improve performance, something your iOS app would have had to do.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜