(I’m not sure if “Wiki” is a good category for this. Certainly, “non-tech” and “Test” don’t seem to fit. Feel free to modify.)
I’m new to DataAbstract. I’m in love with the concept, I’ve looked at the examples, and the tools. I went ahead and bought a license. However, had to put it aside because my first experiences weren’t optimal.
I really think that DA needs a good document to get started that covers not only DA and RO SDK concepts and architecture, but also expected practices and work flow. What I mean by this is: I have an application that is pretty much classic Delphi, with data sources and data aware controls all over the place. The closest I have to delegation is a centralized data module, and methods to get instantiated objects from the database (all coded by hand.)
I think I’m hardly the only one to have an active project that was written like this.
I suffer from framework envy. That’s why I bought a DA license. The thing is, it is gathering bit dust in my hard drive. I’m not using it because I don’t know how to. The existing documentation is telling me is that I need to start over, that it is too difficult to do otherwise.
So, I’m resorting to the community. Do you have experience moving from a classic Delphi DB application to DA? Do you want to share your knowledge with the rest of us?
I’m not asking for a step-by-step kind of thing. General advise and a couple of study cases would be great. What previous steps would you take? How to refactor your application in order to be able to “plug in” DA afterwards?
What I’ve been doing for the past months is to looking every place in my application where a direct reference to database objects are being used (queries, tables) and replacing them with plain data sources instead, and setting them up when needed in code. But I’m still missing a step between in my “refactor” - … - “plug in DA” - “profit!” four step plan…
So, what was your experience moving to DA? Did you start over? Did you carefully planned a migration path? What kind of plan would you create if you had to do it again? Any piece of advise (links, case stories, whatever) would be welcome.