Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: OT: Data Structure First or Code First?

by Maclir (Curate)
on Mar 30, 2002 at 03:48 UTC ( #155392=note: print w/ replies, xml ) Need Help??


in reply to OT: Data Structure First or Code First?

Neither comes first. In any application more complex that a "hello world" exercise, the first stage - and the most important - is the analysis. Define what the application has to do. Make sure you have a limit on the overall scope.

An important part of the design process is process modelling (or use case analysis if you are a troe object orientated person). This should identify the key data elements, and how they are used in all areas of your application. You may then want into somedata modelling - at a logical level first, then a physical data model. If you are using a relational database, this is often done using an E-R modelling tool - an Entity Relationship model.

Finally, design the various code sections to implement your process model and to interface with your (physical) data model.

As a rule of thumb, expect coding to take about 10% (the final 10% before testing) of the total project time.


Comment on Re: OT: Data Structure First or Code First?
Re: Re: OT: Data Structure First or Code First?
by jerrygarciuh (Curate) on Mar 30, 2002 at 18:13 UTC
    Well, if anything this has once again humbled me with the fact of my ignorance. I will take this advice to heart as I can, but I have realized that I will probably have to get some CS coursework under my belt somewhere down the road 'cause every time I learn a little of something new, I find folks are talking a foreign tongue. I have registered from your responses the importance of analysis of task and data prior to beginning and that I will do.
    Thanks,
    jg
    _____________________________________________________
    Think a race on a horse on a ball with a fish! TG

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://155392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-10-25 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls