I’m John C Bland II

Husband, Father, Tech Author, Deacon.
Founder of Katapult Media, and full-stack polyglot developer.
Political Free Agents Podcast Host.

I create. I launch.

YouTube Channel

I post regular fun on YouTube like me playing the bass and anything else I find fun. 

Get Something Built

All project work goes through Katapult Media. Business is open. Let’s chat.

Ok, I’ve been working on an article regarding LCDS + AIR and offline sync. I had everything pretty much done EXCEPT saving offline data back to the server (which I haven’t tested with 2.6 B2 yet but will). Yesterday I installed “LCDS 2.DS ES 2.6”:https://labs.adobe.com/technologies/livecycle_dataservices2_6/ and today I decided to toy with it. I jumped into the “Dev Guide”:https://download.macromedia.com/pub/labs/livecycle_datservices/2.6/docs/lcds26_devguide_040908.pdf and looked at what they said was needed to do online/offline.

So I’m a skeptic at times when I see a little bit of code doing a lot but DANG! This time I was proved wrong.

_airfds.swc_, I’m assuming, handles creating a sqlite database and updating it. I won’t spill the beans on all of the goods (my article will cover it more) but peep how flippin’ simple this is:

bq. contactsDS.saveCache(contacts);

Yep, that’s it. _contactsDS_ is my _DataService_ and _contacts_ is an _ArrayCollection_ loaded from LCDS. There are other things to do for loading data from the cache and your LCDS implementation, as well as saving data back, but for the most part…WOW!

I’m loving it and keep rockin’ Adobe/LCDS/Flex team!!

More to come…