How is it possible for a programmer to write Long website scripts(like about Hundreds of pages) without even knowing where they started.So i just wonder does there any general pattern to write a script like first start a session then defining variables then including php codes then ending session.Can someone plz provide me with some general pattern so that i can start following it since i m a novice and don'tknow much about writing big intimidating scripts for big dynamic website for eg. myspace etc.And i know there might be some type of pattern since it is impossible for how expert the progammer is to write a long script.Plz Help.......
And for further information i want to make a social network for students of my school....if some one can provide me some details for this project(like what is to be included)and time is short.And also i know html,css,php and mysql but i m not an expert in any of these and till now i have made just simple static websites.I know im getting out of topic.I'll discuss it later.
Thanks.
Rishabh