Jump to content

How are you starting to make a system?

- - - - -

  • Please log in to reply
5 replies to this topic

#1
4exa

4exa

    Newbie

  • Members
  • Pip
  • 1 posts
Hi, what's up :)?
I have a question for all of you guys.
How are you starting your system?
Like:
  • Creating some classes for SQL, etc...
  • Making the admin panel
And so on..
Or maybe you have other ways?
Share us! :)

#2
fayyazlodhi

fayyazlodhi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 403 posts
Design a rough over view / flow of your whole system in document / pictorial flow chart what ever.

Identify classes / their basic members / their interactions with each other.

Then try to walk through it and see if you have any issues. It is true that there are many problems which only appear when you actually get to code them.

But there would be many that become visible while doing this on paper and you have the opportunity to modify your design / data structure etc. right away without having to change a lot of code.

Getting better at this takes experience. But it only comes when you try to follow this strategy.

In the professional industry, you often have to submit design documents which go so far as to naming the functions and what they would be doing in a whole system prior to starting coding. This does not look very interesting initially but it is truly what distinguishes a software developed in a hap hazard manner and a professionally finished one.

Edit: One more and most important thing, always attack the hardest part of the program first, because initially you will have the most liberty to modify the rest of the system according to needs of the hard part. If you just keep it pending and do all the rest, you will be very limited when you get to solving the hard part with respect to data structures / interface available from other modules. Sometimes, you can't even find a work around and are forced to do the whole thing from more or less scratch.

Edited by fayyazlodhi, 24 June 2011 - 11:16 AM.
Forgotten point addition

Today is the first day of the rest of my life

#3
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
I start with
<?php
and its a ride from there in :)
No honestly I'm crap at planning
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
I would advise going from top down, visualize and write down each main function and break it up in to smaller function (user login, displaying articles, list views and alike) and decide which function will fit which page, and which pages are going to be most important.

An entity-relationship diagram can help in forming your database schema as well, wikipedia as a nice article on certain methods:
Entity-relationship model - Wikipedia, the free encyclopedia
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
lethalwire

lethalwire

    while(false){ ... }

  • Members
  • PipPipPipPipPipPipPip
  • 748 posts
  • Programming Language:Java, PHP
  • Learning:Java, PHP
Planning with more planning.
Try to break your problems into sub-problems. (Divide & Conquer)

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
I've actually got a series of tutorials on the topic.
http://forum.codecal...t-part-1-a.html
http://forum.codecal...t-part-2-a.html
http://forum.codecal...t-part-3-a.html
http://forum.codecal...t-part-4-a.html
http://forum.codecal...t-part-5-a.html
http://forum.codecal...t-part-6-a.html
http://forum.codecal...t-part-7-a.html
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users