Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?

Replies are listed 'Best 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.
    Think a race on a horse on a ball with a fish! TG

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2023-03-25 18:11 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.