fertqr.blogg.se

Wechat windows dev database cache
Wechat windows dev database cache










wechat windows dev database cache

In thread management, thread locks are used to make all thread accesses executed serially to ensure thread safety. The initial package of WCDB is similar to that of FMDB, which directly exposes the string interface, allowing business development to splice strings by itself, and assign the data to the corresponding Object after taking out the data. Therefore, after repeated consideration, we decided to encapsulate a set of interfaces and named it WCDB. The CoreData provided by the system has high learning costs and mediocre performance, which is not so easy to use.

#Wechat windows dev database cache android

In the earliest WeChat, in addition to the consensus of "using SQLite", each platform basically worked independently.īecause of the support provided by the SDK on the Android platform and the inconvenience of using NDK for development, the system API interface is naturally selected for development. Take this opportunity to review the growth of WCDB, the "WeChat database", share our thoughts, and hope to let everyone know more about WCDB.

wechat windows dev database cache

Today, WCDB (WeChat Database) has passed the company's final review and will be shared with you as an open source component of Tencent WeChat.įrom the initial establishment of WCDB, to constant exploration and optimization, to sorting out the code and documentation, finally watching her quietly waiting for "Make Public" to be pressed on GitHub, I felt like a father watching her daughter get married. This article comes from: WeChat mobile client development team official account (WeMobileDev)












Wechat windows dev database cache