Jump to content

Project Planning & PHP diagrams?


Recommended Posts


I did a coding course for an OOP called Jade, we got taught to plan the layout of the code using UML diagrams and sequence diagrams. I checked Visio but doesn't seem to support PHP at a glance.


What i would like to know is there any kind of way to plan a PHP project using techniques like UML etc. Plus what kind of planning do you do before jumping head first into coding unless your into that :P


If you know of any useful sites or software for ways to plan a PHP project please post.


Thanks a lot



Link to comment
Share on other sites

Usually I start by just drawing and writing.    Write a few variables name and draw lines from one to another... or draw a few boxes to represent pages.  Mainly, I think of my target data beforehand and draw out its path to my target goal.


When I was learning Java, we would simply write the object name in a box (or circle), draw a line coming down from the bottom of it, and attach the various methods and properties it contained, using different shapes for each type (circle for methods, block for properties)

Link to comment
Share on other sites

Start out by identifying your pages and what they will do. What will the user see? Does it have a form, how does it different states look (submit error, submit success, ...)? Does it have AJAX, how will it communicate state changes (service unavailable, service hang, ..)?


It isn't rocket science, you know/can think of this stuff.

Link to comment
Share on other sites

Thanks for the tips guys, I think i might start off by writing each page and what its functionallity, main variables it will use and what pages it passes variables to. Kind of like a sequence diagram.


I would just like to have a plan in front of me when starting probably my biggest project just to know where variable are used, variables that are passed to start other pages and a overall final idea to refer back to.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.