Re: [Lazarus] OOP - where do you start?

2015-08-20 Thread Marco van de Voort
On Fri, Jun 26, 2015 at 12:30:49PM +0100, Graeme Geldenhuys wrote: When faced with a new database related project, where do you start? Do you first design the database schema, then build the BOM (Business Objects) accordingly? Or, do you first design the BOM, then design the database

Re: [Lazarus] OOP - where do you start?

2015-08-03 Thread Marco van de Voort
On Fri, Jun 26, 2015 at 12:30:49PM +0100, Graeme Geldenhuys wrote: So here is my question: When faced with a new database related project, where do you start? Do you first design the database schema, then build the BOM (Business Objects) accordingly? Or, do you first design the BOM, then

Re: [Lazarus] OOP - where do you start?

2015-06-27 Thread Florian Klaempfl
Am 26.06.2015 um 14:47 schrieb Michael Van Canneyt: On Fri, 26 Jun 2015, Graeme Geldenhuys wrote: Hi, Last night I was working on a relatively new project. This got me thinking... How do others tackle such a task? So here is my question: When faced with a new database related

Re: [Lazarus] OOP - where do you start?

2015-06-27 Thread Michael Van Canneyt
On Sat, 27 Jun 2015, Florian Klaempfl wrote: Am 26.06.2015 um 14:47 schrieb Michael Van Canneyt: On Fri, 26 Jun 2015, Graeme Geldenhuys wrote: Hi, Last night I was working on a relatively new project. This got me thinking... How do others tackle such a task? So here is my question:

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
On Fri, Jun 26, 2015 at 10:06 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 26 Jun 2015, Marcos Douglas wrote: Things start to get messy when you start thinking about functionality. So that comes next, and the business classes reflect functionality, and consequently more

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Vincenzo Campanella
Il 26.06.2015 13:30, Graeme Geldenhuys ha scritto: Hi, Last night I was working on a relatively new project. This got me thinking... How do others tackle such a task? So here is my question: When faced with a new database related project, where do you start? Do you first design the

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Graeme Geldenhuys
On 2015-06-26 12:30, Graeme Geldenhuys wrote: What's your thoughts? That's very interesting... so it is unanimous that starting with the database schema is the way to go. So all these years of doing that was at least the norm. :) Thanks for everybody's feedback on this. Regards, - Graeme -

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
On Fri, Jun 26, 2015 at 10:04 AM, Donald Ziesig don...@ziesig.org wrote: Hi Graeme, As mentioned in one of the earlier replies, it really depends on the complexity of the application and the state of the Business Rules. If I have a detailed definition of the Business Rules (a really rare

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Michael Van Canneyt
On Fri, 26 Jun 2015, Marcos Douglas wrote: On Fri, Jun 26, 2015 at 10:06 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 26 Jun 2015, Marcos Douglas wrote: Things start to get messy when you start thinking about functionality. So that comes next, and the business classes

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
On Fri, Jun 26, 2015 at 8:30 AM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: Hi, Last night I was working on a relatively new project. This got me thinking... How do others tackle such a task? So here is my question: When faced with a new database related project, where do

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Michael Van Canneyt
On Fri, 26 Jun 2015, Marcos Douglas wrote: Things start to get messy when you start thinking about functionality. So that comes next, and the business classes reflect functionality, and consequently more susceptible to change. Luckily the persistence layers I use are flexible enough to allow

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Marcos Douglas
On Fri, Jun 26, 2015 at 9:47 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 26 Jun 2015, Graeme Geldenhuys wrote: Hi, Last night I was working on a relatively new project. This got me thinking... How do others tackle such a task? So here is my question: When faced with

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Tony Whyman
As it happens I am doing pretty well the same thing right now - building a new application to help me with a requirement capture assignment I am starting next week. This type of application is data driven and that, to me says it all. You start by defining the data model eventually ending up

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Donald Ziesig
Hi Graeme, As mentioned in one of the earlier replies, it really depends on the complexity of the application and the state of the Business Rules. If I have a detailed definition of the Business Rules (a really rare occurrence), I will start with the BOM and UI. I sometimes build in some

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: When faced with a new database related project, where do you start? Do you first design the database schema, then build the BOM (Business Objects) accordingly? Or, do you first design the BOM, then design the database schema to fit. I'd suggest that the answer to

Re: [Lazarus] OOP - where do you start?

2015-06-26 Thread Frederic Da Vitoria
2015-06-26 13:30 GMT+02:00 Graeme Geldenhuys mailingli...@geldenhuys.co.uk : Hi, Hello, Last night I was working on a relatively new project. This got me thinking... How do others tackle such a task? So here is my question: When faced with a new database related project, where do