[advanced search]
Results from the most recent live auction are here.
37 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 05-14-2008, 05:34 PM   · #1
shreder
DNOA Member
 
Trader Rating: (22)
Join Date: Mar 2006
Posts: 478
NP$: 40.00 (Donate)
shreder is a jewel in the roughshreder is a jewel in the roughshreder is a jewel in the rough
How do you plan your application?

Hello. everynody!

I have been programming PHP for almost 3 years now.
I've never actually carefully planned my applications, I just went a long with it.

I was wondering, what techniques/habits do you use when you are building a mid-size application?

What are the actual stages before you actually start coding?

Thank you very much!


Please register or log-in into NamePros to hide ads
__________________
"What doesn't kill you only makes you stronger..."
HDDV.COM FTPQ.COM RIGM.COM EKED.COM AIUS.COM KULG.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET OOHH.ORG QQNJ.COM YKHE.COM - Pm Offers
shreder is offline  
  Reply With Quote
Old 05-14-2008, 07:09 PM   · #2
mholt
DNOA Member
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,867
NP$: 17.21 (Donate)
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
First, figure out the goals for your project. Why are you doing it, who and how will users accomplish this? Get the general idea, and as you get more specific, jot some notes down. I love to have a white board by my desk to doodle some ideas.

Use UML (unified modeling language) to design your classes in a flowchart-style layout. There are special ways of doing this and there are programs which help you do this. See: http://en.wikipedia.org/wiki/List_of_UML_tools - or, for rather simple projects, you can just use a whiteboard.

This one is highly notable: http://bouml.free.fr/screenshots.html

Before you start coding, though, you need to, well, figure out your goals, then figure out what components you'll need to include.

This includes which functions should be able to be performed as a user would see it: "send email", "update address book", "add new contact", type of thing. Then, you need to plan out what pages users will see to do each of them, and describe the logic (PHP code) behind each page.

This is where UML comes in.

Discover classes by noticing which nouns you use to describe your application. Discover instance variables by associating them with adjectives. And verbs become actual methods (functions). And if you get really technical, adverbs are usually integrated with segments of code to do specific tasks (e.g. "partially update contact book [as opposed to all of it]").

Hope this helps.
__________________
FREE: Help With Code

Includes other technical topics:
programming, development, Windows, domain names, and Internet
mholt is offline   Reply With Quote
Old 05-15-2008, 01:15 AM   · #3
-Nick-
I'll do it
 
-Nick-'s Avatar
 
Name: Keral. Patel.
Location: India
Trader Rating: (98)
Join Date: Dec 2005
Posts: 5,417
NP$: 9196.05 (Donate)
-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute
Member of the Month
September 2007 Adoption
I first of all go away from my PC and start thinking on the project.

I take a pencil and paper and draw what is in my imagination.

I also write some features side by side that needs to be implemented. And how they will be implemented [Its logic]

This process goes on for some hours depending on the complexity of the project.

Then I take another paper and draw a rough diagram of tables and database where this data will go and be fetched from.

Maybe then a break of a day or two and then coming back to that papers and checking if it is what I wanted or is something not good.

If every thing looks good. I write down a full feature list on the 3rd paper and come back to my PC and open Photoshop to draw the front end template on which the coding is going to be done.
-Nick- is offline   Reply With Quote
Old 05-15-2008, 01:19 AM   · #4
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (224)
Join Date: Dec 2005
Posts: 18,120
NP$: 16190.78 (Donate)
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
Autism Protect Our Planet
You need to be inspired to do the project, where do you get your inspiration or motive?
what goals and features needed to be accomplished?
you may need to "sleep" on it a couple of times, and upgrade the idea from time to time. there might be shareware available already that does the features for you you can also get some ideas from it. brainstorming as well is done with the client and lots of it.
weblord is offline  
  Reply With Quote
Old 05-15-2008, 02:03 AM   · #5
RickM
www.RickyMills.com
 
RickM's Avatar
 
Name: Rick Mills
Location: Herts, UK
Trader Rating: (93)
Join Date: Sep 2005
Posts: 3,609
NP$: 1460.52 (Donate)
RickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud ofRickM has much to be proud of
Cancer Survivorship Save The Children Save The Children Cancer Animal Cruelty Child Abuse Cancer Survivorship 9/11/01 :: Never Forget Animal Cruelty Child Abuse Animal Rescue Animal Cruelty Protect Our Planet Protect Our Planet Protect Our Planet
I write about a page about what the application is, why it exists, who will use it and what it will do. After this I create headers for each major part of the application, which each contain bulletpoints for features and such. I then decide on how the database tables will be formatted and again use bullet points for displaying each field, for example:
  • Field Name
  • --Type: Varchar
  • --Length: 255

and so on.

I also look at existing comparable solutions and note down their features which could be included in my own application.
__________________
$7.99 .MOBI Registration!Entrepreneur & Tech BlogWebmaster Community

Accepting offers on: (pm or visit my site)
LWWH*com | SwitchMy*com | NetworkMOBI*com | MLLK*net | +Lots of LL-L.com domains!
RickM is offline   Reply With Quote
Old 05-15-2008, 04:02 AM   · #6
shreder
DNOA Member
 
Trader Rating: (22)
Join Date: Mar 2006
Posts: 478
NP$: 40.00 (Donate)
shreder is a jewel in the roughshreder is a jewel in the roughshreder is a jewel in the rough
Thank you all!
This is very helpful!
__________________
"What doesn't kill you only makes you stronger..."
HDDV.COM FTPQ.COM RIGM.COM EKED.COM AIUS.COM KULG.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET OOHH.ORG QQNJ.COM YKHE.COM - Pm Offers
shreder is offline  
  Reply With Quote
Old 05-15-2008, 02:38 PM   · #7
shreder
DNOA Member
 
Trader Rating: (22)
Join Date: Mar 2006
Posts: 478
NP$: 40.00 (Donate)
shreder is a jewel in the roughshreder is a jewel in the roughshreder is a jewel in the rough
Any more useful tips?

Thank you.
__________________
"What doesn't kill you only makes you stronger..."
HDDV.COM FTPQ.COM RIGM.COM EKED.COM AIUS.COM KULG.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET OOHH.ORG QQNJ.COM YKHE.COM - Pm Offers
shreder is offline  
  Reply With Quote
Old 05-15-2008, 06:21 PM   · #8
Marck
NamePros Regular
 
Marck's Avatar
 
Trader Rating: (14)
Join Date: Jun 2007
Posts: 527
NP$: 240.00 (Donate)
Marck is just really niceMarck is just really niceMarck is just really niceMarck is just really nice
Originally Posted by shreder
Hello. everynody!

I have been programming PHP for almost 3 years now.
I've never actually carefully planned my applications, I just went a long with it.

I was wondering, what techniques/habits do you use when you are building a mid-size application?

What are the actual stages before you actually start coding?

Thank you very much!



I usually plan it out it my head in a nice relaxing bath.
__________________
.com: Gele Befa Fafu Pezu Uuue G-e-o h-i-t l-i-p z-i-n b-s-d p-l-z b-r-b f-r-y l-y-e o-d-e p-i-t j-u-g f-a-g b-j-s f-i-v f-s-m s-r-y p-u-n
Marck is offline   Reply With Quote
Old 05-15-2008, 06:34 PM   · #9
shreder
DNOA Member
 
Trader Rating: (22)
Join Date: Mar 2006
Posts: 478
NP$: 40.00 (Donate)
shreder is a jewel in the roughshreder is a jewel in the roughshreder is a jewel in the rough
Originally Posted by Marck
I usually plan it out it my head in a nice relaxing bath.



As matter of fact that's exactly how I do it now

But I think that by now i should have a better technique and maybe write down what exactly i want.

Anyone knows of a good free flow-chart application that i can use?

Thank you.
__________________
"What doesn't kill you only makes you stronger..."
HDDV.COM FTPQ.COM RIGM.COM EKED.COM AIUS.COM KULG.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET OOHH.ORG QQNJ.COM YKHE.COM - Pm Offers
shreder is offline  
  Reply With Quote
Old 05-15-2008, 08:57 PM   · #10
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (224)
Join Date: Dec 2005
Posts: 18,120
NP$: 16190.78 (Donate)
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
Autism Protect Our Planet
http://cmap.ihmc.us/

Originally Posted by shreder

Anyone knows of a good free flow-chart application that i can use?

Thank you.

weblord is offline  
  Reply With Quote
Old 05-16-2008, 01:41 PM   · #11
mholt
DNOA Member
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,867
NP$: 17.21 (Donate)
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Originally Posted by shreder
As matter of fact that's exactly how I do it now

But I think that by now i should have a better technique and maybe write down what exactly i want.

Anyone knows of a good free flow-chart application that i can use?

Thank you.


Did you read my post?
__________________
FREE: Help With Code

Includes other technical topics:
programming, development, Windows, domain names, and Internet
mholt is offline   Reply With Quote
Old 05-16-2008, 02:21 PM   · #12
shreder
DNOA Member
 
Trader Rating: (22)
Join Date: Mar 2006
Posts: 478
NP$: 40.00 (Donate)
shreder is a jewel in the roughshreder is a jewel in the roughshreder is a jewel in the rough
Originally Posted by mholt
Did you read my post?



Yes indeed but i'm looking for a simpler solution to start with.

Thank you
__________________
"What doesn't kill you only makes you stronger..."
HDDV.COM FTPQ.COM RIGM.COM EKED.COM AIUS.COM KULG.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET OOHH.ORG QQNJ.COM YKHE.COM - Pm Offers
shreder is offline  
  Reply With Quote
Old 05-16-2008, 06:12 PM   · #13
mholt
DNOA Member
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,867
NP$: 17.21 (Donate)
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Alright. Understood
__________________
FREE: Help With Code

Includes other technical topics:
programming, development, Windows, domain names, and Internet
mholt is offline   Reply With Quote
Old 05-16-2008, 06:32 PM   · #14
phpl33t
New Member
 
Trader Rating: (0)
Join Date: May 2008
Posts: 16
NP$: 0.00 (Donate)
phpl33t is an unknown quantity at this point
Personally I:

1. Get a full word doc with every request from the client.
2. I then map it out on paper.
3. I then design the database.
4. Next comes putting together the classes (templater, user handling, ect)
5. Next i write the functions I need, which most I will ever need I have in a personal libary.
6. Now the fun part, tying it all together one script at a time. I debug as I go along, I hate to see even one notice.
7. Put the plugins into the template(s).
8. Beta test with the template in place until not one issues shows. Run benchmarks and improve if I can.
9. Write all docs and package everything nice and neat.
10. Get final payment from the client and deliver or install for him/her.
phpl33t is offline   Reply With Quote
Reply

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Arcade Script Hunting Moon http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 12:15 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0