[Lazarus] [Long and partially OT] Database (OOP) programming: beginners manual?

Lukasz Sokol el.es.cr at gmail.com
Tue Sep 20 17:42:41 CEST 2011


On 20/09/2011 16:20, Graeme Geldenhuys wrote:
> On 20/09/2011 16:53, Lukasz Sokol wrote:
>>
>> Thing is - I may not need to know how the sewers work, that they need
>> to be laid with some sort of descent ;) or that you should not use 
> 
> Then buy a old Delphi 7 (where you still get printed manuals in the box)
> and read them from cover to cover.

I read one once (don't remember the title but it was the one that had
700+ pages and a detective story in some chapters - i think it's the one 
some people refer to as D7 Bible...). The database related chapter was by 
far the most booooring :P so I did not pay much attention to it, I admit.
(but then I was <18 at the time, and now slightly >30 ;) )

> 
> Regarding OOP in general and what it tries to accomplish.... Google it,
> there are too many to list. Embarcadero also has a Delphi OOP forum
> dedicated to OOP questions, so it might be worth visiting that too.

<grin> lmgtfy.com :)

> 
>> Yeah that's cool, but yeah, the target when it's prime-time will be
>> non-visual, at least in one end...
> 
> tiOPF doesn't force GUI type applications. I have developed GUI and CGI
> apps using tiOPF. The OOP design (promoted by tiOPF) clearly split my
> code into logical layers: business objects and rules, persistence
> backend, UI (web or desktop).
> 
That's also what I have in mind, so the logic can exist without gui.
And it will, in the future.

But at this /really/ simple stage I am at the moment, I am /only/ doing things
like the code I included before, to trigger some events manually to 
be able to observe the flow (e.g. catch it in breakpoints) to 
try to understand what happens where.
(This is nowhere near RAD, I know... but that's what you get when learning
on the job, meh)

> 
>> Never been happier, still -see my remark about sewers.
>> (Or LWN article about abstraction trap)
> 
> Common sense and basic OOP design skills work wonders too. Anybody can
> f*ck-up any OOP (or otherwise) code - give enough [or the lack their
> off] skills.

Yeah. Right.
(Back to RTFM then ;)

> 
> Regards,
>   - Graeme -
> 

Thanks,
Lukasz





More information about the Lazarus mailing list