Changes between Version 7 and Version 8 of FDORfc52
- Timestamp:
- 08/08/10 16:04:04 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc52
v7 v8 27 27 * Mostly procedural API (unlike FDO Core object oriented, command based structure). This significantly reduces object lifetime issues, removes the need of refcounting and eases possible managed wrapper, due to only one single object controlling database connection lifetime. 28 28 * Provides shortcuts for commonly used functionality, like spatial query, fetching extents, feature count 29 * Automatic type conversion (a.k.a duck typing). Unlike core FDO, the API converts automatically between comaptible type (No more need to switch-case on FdoByte, FdoInt16, FdoInt32, FdoInt64,FdoDecimal, just to get an integer).29 * Automatic type conversion (a.k.a duck typing). Unlike core FDO, the API converts automatically between comaptible type (No more need to switch-case on !FdoByte, !FdoInt16, !FdoInt32, !FdoInt64, !FdoDecimal, just to get an integer). 30 30 * Thread safe connection pooling/caching. This is a common feature that often developers have to implement from scratch. 31 31 * Possibility to provide alternative backend to the API (for example, OGR backend). … … 198 198 Attached is a rough implementation of the wrapper which supports the examples shown above. 199 199 200 For all base API definitions, refer to BaseWrap.h. Working backends are included for both FDO (!FdoWrap.h/cpp) and OGR (!OgrWrap.h/cpp).200 For all base API definitions, refer to !BaseWrap.h. Working backends are included for both FDO (!FdoWrap.h/cpp) and OGR (!OgrWrap.h/cpp). 201 201 202 202 The FDO backend recognizes SHP, SDF and SQLite connections only. The OGR backend recognizes all OGR backends, but does not yet implement datastore creation. It does implement insert/update to existing data stores. The connection pooling is implelmented in !DbPool.h/cpp.