Well, I made it through last week’s annual run of Competition Manager, pretty much unscathed. The software worked flawlessly, however, as usual there were last minute requests for changes.
Competition Manager is a little different than other products, I have worked on, as (after the registration period closes out) it has to be rock solid for a frantic 24 hour period and then it is done until next year.
I always get requests for changes during that 24 hour period. It has always been my worst fear that a change request comes in that HAS to be implemented in the current run.
So far that has never happened and although I got another change request this year, we were able to work around the concern and put it off till next year’s competition. Whew!! another crisis averted.
So with that behind me for another year, I need to turn back to my mobile app, Pain Logger.
I completed the conversion to Swift about 2 weeks ago. Now it’s time to upgrade it.
Fortunately for me, the holidays provide time away from my day job and allow me to (while of course spending time with family and resting up) look closer at some of my side projects.
I read somewhere that to really be productive, you should state what you intend to do and your goal date so others can keep you accountable. So that is REAL goal of this post.
My Goal
My goal this week is to rewrite Pain Logger’s persistence layer to use the Realm database engine instead of Core Data. I intend to write it in such a way that an existing install will automatically migrate the existing CoreData database to Realm when the application launches and then on subsequent runs it will use the Realm database and not CoreData.
Once that is done I intend to stand up CloudKit support for the app. I intend to use Realm as the offline cache for the CloudKit database supporting the app.
So that is my plan, I intend to blog about my progress (which I hope to be complete) next week.
There, I now have placed the proverbial stake in the ground.
Now, why did I make the decision to go with Realm instead of using CoreData?
First, I wanted to learn something new.
Second, while CoreData works, I’ve always been put off by all the boiler plate code that needs to be done to stand a stack up, along with all the other moving parts you have to keep in mind as you are working with it. It has always felt so “2000s”ish to me. I want something more modern.
Realm seems to have that modern feel that I am looking for.
Having said all of that, I do, however, reserve the right to change my mind if this just turns out to be a really bad idea after getting into this.
So there you have it, until next time, here’s hoping for progress.
No comments:
Post a Comment