UrbanDweller Posted December 22, 2011 Share Posted December 22, 2011 Hey, 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 If you know of any useful sites or software for ways to plan a PHP project please post. Thanks a lot Quote Link to comment https://forums.phpfreaks.com/topic/253678-project-planning-php-diagrams/ Share on other sites More sharing options...
Zane Posted December 22, 2011 Share Posted December 22, 2011 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) Quote Link to comment https://forums.phpfreaks.com/topic/253678-project-planning-php-diagrams/#findComment-1300482 Share on other sites More sharing options...
ignace Posted December 22, 2011 Share Posted December 22, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/253678-project-planning-php-diagrams/#findComment-1300709 Share on other sites More sharing options...
UrbanDweller Posted December 23, 2011 Author Share Posted December 23, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/253678-project-planning-php-diagrams/#findComment-1300734 Share on other sites More sharing options...
trq Posted December 23, 2011 Share Posted December 23, 2011 UML isn't really tied to a particular language. Quote Link to comment https://forums.phpfreaks.com/topic/253678-project-planning-php-diagrams/#findComment-1300747 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.