[Organize] [How to Code Organized?] [Need Help]

Discussion in 'PHP' started by romioaa, Jun 22, 2014.

  1. #1
    Hello everyone,

    I would like to start my PHP App with CakePHP but the problem is that is the first time I will make a complete app from scratch.

    I would like to know the steps that I have to do to code organized. Like first design database, the members area, input forms... etc, etc

    I want to know where to start first.
     
    Solved! View solution.
    romioaa, Jun 22, 2014 IP
  2. #2
    Depending on what deadlines you have, you should basically code so you can fullfill those. If you don't really have any, ie. this is coded for yourself, mostly, I'd say go the way logic tells you to go - and by all means, code more than one thing at the time (simply because you'll be bored with fixing minor bugs in one specific incarnation).
    I'd suggest as follows:
    - make a design-tree
    - make a db-scheme (doesn't have to be complete at this point, but it should have all the important tables you can think of at this moment)
    - make a logic-flow diagram / set of rules (ie, user registers->user can log in->user can now post stories and pictures)
    - set goals - ie. done with login/signup, done with profile page, done with this and that
    Start creating your app.
    Be aware that if you don't have a very specific design, and a very clear idea of what to do, you'll be redoing most, if not all, at least once while designing and coding ;)
     
    PoPSiCLe, Jun 22, 2014 IP
    Helge Sverre and romioaa like this.