SitePoint Sponsor

User Tag List

Results 1 to 16 of 16

Thread: design or code

  1. #1
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    design or code

    This Q is bugging me for quit sometime

    when you have an idea of a site and you have set the main ideas.

    Which one will be next start coding or start laying out the design.

    Some may say itís a matter of choice; I want to know the standard,

    Or shall I say the right way.


    Answer from experienced developers, will be beneficial

    thanks

    Note: sorry if its in the wrong place i could not figure out were to post it
    Never be shy to ask silly Qs
    An answer is always better than none

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    For applications, online or off... I would mock up the interface (sketches on paper is fine), then start coding.

  3. #3
    Sell crazy someplace else markl999's Avatar
    Join Date
    Aug 2003
    Location
    Manchester, UK
    Posts
    4,007
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd say it depends on the size/scale of the site. For small projects you might have a clear idea of the code requirements and how that code might need to change in the future. In reality i find it better to work in small 'increments' so you get to see working code and the design (code) tends to evolve more naturally. I also always do front end layout first so there's no temptation to let the code dictate the look 'n' feel
    So personally I do rough layouts, incremental code 'releases' and most importantly design the database last of all.

  4. #4
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it should be here:

    http://www.sitepoint.com/forums/forumdisplay.php?f=140

    I'm not experienced, but I never start with the design. Some people say that it is difficult to alter the design once you have the code, but that's only true if you don't separate design from business logic.

    But I do start with a page layout on paper, which says which things should be where, but it doesn't include the design (only the semantic mockup).

  5. #5
    SitePoint Zealot DewChugr's Avatar
    Join Date
    Sep 2005
    Location
    Illinois
    Posts
    189
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I usually do the design first, but most of my sites are small. I am working on a much larger project now and I am first building the databases, then doing coding to get out what I want, then I will do the design and finally finish any left over coding. I am doing it this way as I do not know all of the data I am going to be using yet. I do however have a general idea in mind of what the site will look like.

    I think it will depend a lot on the site. The more dynamic the site is it seems the more coding I would do first.

    Steve

  6. #6
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks guys thats help alot, though i hopped that more members will
    answer this.!

    thanks guys
    Never be shy to ask silly Qs
    An answer is always better than none

  7. #7
    SitePoint Zealot Dachande663's Avatar
    Join Date
    Feb 2005
    Location
    Birmingham, UK
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I'm starting something totally new, that I haven't done before I'll do small bits of coding, testing the practicality of each bit. Usually I start of with the design though and work backwards from that.

  8. #8
    is_empty(2); foofoonet's Avatar
    Join Date
    Mar 2006
    Posts
    1,000
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I always roughly model the data first, decide how the database schema must fit together.

    Then I draw up a functional spec, and go through it (perhaps with some skeleton pages) with the client to catch any scope creep/ misunderstanding.

    Then go back and model the data again if necessary and repeat.

    Then (like Dachande663) see what I need to try that's new to me - I then try to get those things sorted out. From there I get some classes written to do most repetitive work and heavy lifting.

    Then start building private and public areas, usually this is just reuse from previous projects/my latest experimentations - then I usually realise that I didnt spot the classes I really should have made and tested... so we learn.

  9. #9
    SitePoint Zealot tjyobazee's Avatar
    Join Date
    May 2006
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am usually required to give previews on how a project may look like. I code after the client has approved my work.

    I code and design simultaneously when I do a personal project.

  10. #10
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    keep it coming guys
    Never be shy to ask silly Qs
    An answer is always better than none

  11. #11
    Non-Member I87's Avatar
    Join Date
    Mar 2006
    Location
    UK
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    personally I start the design of the site
    then I start coding.

    I really should write out plans so I don't have to go correcting stuff for a few weeks after it's all done, but I keep forgetting to do that.

  12. #12
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anybody know of a site which offer resorces regarding this topic

    i think its under the roof of SDLC ?(i guess)
    Never be shy to ask silly Qs
    An answer is always better than none

  13. #13
    is_empty(2); foofoonet's Avatar
    Join Date
    Mar 2006
    Posts
    1,000
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want to know more, there are some far more grittier threads on Php Application Design forum beneath this one.

  14. #14
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by foofoonet
    If you want to know more, there are some far more grittier threads on Php Application Design forum beneath this one.
    thanks for the info i tried its to advince for me.
    am new to all this Path
    Never be shy to ask silly Qs
    An answer is always better than none

  15. #15
    SitePoint Evangelist ldivinag's Avatar
    Join Date
    Jan 2005
    Location
    N37 33* W122 3*
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the other thing to consider is who is the script for?

    a paying client?

    yourself?

    your company's intraweb?

    for me, it's #3. so it's my way or the highway... okay... just kidding. since i am not the final user, i always mock up screens and show them to the users.

    then lots of email fly, meetings til i'm bored to death and finally a sign off from the boss...

    then i code. templating makes life easy.

    since i found EREGI_REPLACE, changes to the HTML code is a lot simpler...
    leo d.

  16. #16
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ldivinag
    the other thing to consider is who is the script for?

    a paying client?

    yourself?

    your company's intraweb?

    for me, it's #3. so it's my way or the highway... okay... just kidding. since i am not the final user, i always mock up screens and show them to the users.

    then lots of email fly, meetings til i'm bored to death and finally a sign off from the boss...

    then i code. templating makes life easy.

    since i found EREGI_REPLACE, changes to the HTML code is a lot simpler...
    thanks for the highlight to the 3 points
    Never be shy to ask silly Qs
    An answer is always better than none


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •