PHP coding before website design?

Discussion in 'PHP' started by pipes, May 22, 2009.

  1. #1
    When you are coding for yourself or for a client, do you get the php coding done first then work or have someone work on the design of the site or the other way around.

    Do you have a reason for your approach to a project?

    I understand that not all tasks will be performed by yourself and it may be a partnership or a group effort.

    Just trying to understand better the order that you will work on a project.
     
    pipes, May 22, 2009 IP
  2. WeedGrinch

    WeedGrinch Active Member

    Messages:
    1,236
    Likes Received:
    73
    Best Answers:
    0
    Trophy Points:
    90
    #2
    I code the php first, make an ugly but functional UI. I then wrap the design around it. This is how I've always done it.

    Yeah, once I have an idea, I'll open notepad, and list all the ideas, then what I need to do for each, like so:
    
    Digg Trade Script
    
    User system
         Login
         Registration
         Referal System
    
    Code (markup):
    etc...
     
    WeedGrinch, May 22, 2009 IP
    pipes likes this.
  3. aGor

    aGor Member

    Messages:
    80
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    I always make the design first, no special reason for it really
     
    aGor, May 22, 2009 IP
    pipes likes this.
  4. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #4
    Hi WeedGrinch, thanks for explaining your approach, it sounds like it works well for you.

    Hi aGor, would you happen to be more of a design person anyway? or as you say no real reason, thanks.
     
    pipes, May 22, 2009 IP
    WeedGrinch likes this.
  5. Vekseid

    Vekseid Peon

    Messages:
    124
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Both?

    I tend to build my framework, design the next site, tweak the framework, design the next site, etc. etc. I've built up a small library of solid, secure code to work with.

    I suppose the answer would be 'design, because I've already finished the coding', but that might be cheating >_>
     
    Vekseid, May 22, 2009 IP
  6. WeedGrinch

    WeedGrinch Active Member

    Messages:
    1,236
    Likes Received:
    73
    Best Answers:
    0
    Trophy Points:
    90
    #6
    It's actually a good idea. I mean, i've coded 20 login system, nothing unique about each one, simply because i didnt save the others.

    *Creates a folder called php library*
     
    WeedGrinch, May 22, 2009 IP
  7. Vekseid

    Vekseid Peon

    Messages:
    124
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    hahaha ouch.

    Twenty is a bit much. I'm working on my third serious login system at this point - trying different things and learning new or alternative methods is always valuable. But there is always a point at which you have diminishing returns and you perfect a small piece. My e-mail validation system being one example, though the larger scope it fits in (e-mail account management) is still in flux.
     
    Vekseid, May 22, 2009 IP
    pipes likes this.
  8. Fareast

    Fareast Banned

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i like make php first . because its easy to manage template after that.
     
    Fareast, May 22, 2009 IP
    pipes likes this.
  9. NotTheWalrus

    NotTheWalrus Peon

    Messages:
    8
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I always do the design first. Only reason being that it's habit. I had my first website before I knew PHP, so I naturally had the design done first, and when I started learning PHP I incorporated into the design.
     
    NotTheWalrus, May 23, 2009 IP
    pipes likes this.
  10. bozy12v

    bozy12v Active Member

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #10
    I write down the structure of the php scripts i use on the sites, then i make the design and after thet I implement the PHP into the site
     
    bozy12v, May 23, 2009 IP
  11. Phaaze

    Phaaze Member

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #11
    I get an idea in my head and think about how I'd (in general) code each portion of the site. I then seek a design for it or attempt to make a rough design (though I'm not a designer) - this helps me visualize what I've planned and helps me come up with more ideas or a better approach to how I had already planned on coding something.
     
    Phaaze, May 23, 2009 IP
  12. Mano2

    Mano2 Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #12
    I write the PHP after the design, more simpe for me ;)
     
    Mano2, May 23, 2009 IP
  13. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #13
    Thanks everyone for your input on this.
     
    pipes, May 25, 2009 IP
  14. jnugroho73

    jnugroho73 Peon

    Messages:
    77
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    If it is for myself, I do programming first, but when dealing with client, I show them the design first because usually my clients would know the end results.
     
    jnugroho73, May 25, 2009 IP
    pipes likes this.