简体   繁体   English

使用Flex使本地SQLite数据库与实时服务器数据库保持同步

[英]Using Flex to keep local SQLite database in sync with live server database

I want to create a Flex 3 application running in Adobe Air that accesses an SQLite database and I need to keep this database in sync with an SQL server 2005 database running a website. 我想创建一个在Adobe Air中运行的Flex 3应用程序,该应用程序可以访问SQLite数据库,并且需要将该数据库与运行网站的SQL Server 2005数据库保持同步。

Is this something that Flex supports or is it going to be a custom script? 这是Flex支持的东西,还是将成为自定义脚本? Also, has anybody done anything like this? 另外,有人做过这样的事情吗?

Edit: The synchronisation can be done on a daily basis rather than real time. 编辑:同步可以每天进行,而不是实时进行。 The data will be read only from a front end perspective with a CMS to do updates on the website. 仅使用CMS从前端角度读取数据,即可在网站上进行更新。

LCDS has a lot of features and yes it is expensive - if you only need the offline support it is overkill. LCDS具有很多功能,是的,它很昂贵-如果您只需要离线支持,那就太过分了。 There are some tools which can be used to synchronize two databases but I do not know if they support SQLite..if not you will have to write it yourself. 有一些工具可用于同步两个数据库,但我不知道它们是否支持SQLite。如果不支持,则必须自己编写。

Take a look at LCDS and it's offline support with Flex. 看看LCDS及其对Flex的离线支持。

Basically it means running all your code through managed data services, which keeps the SQLite DB in sync. 基本上,这意味着通过托管数据服务运行所有代码,从而使SQLite DB保持同步。

Warning... LCDS is very, very expensive. 警告... LCDS非常非常昂贵。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM