1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How object orientated can you make a website?

Discussion in 'HTML, Graphics & Programming' started by JonD, 21 Jul 2006.

  1. JonD

    Wise Guy

    Joined: 26 Jun 2003

    Posts: 1,142

    Location: North West

    I was thinking before that I hardly have any classes on my website (php), only a database class that is really used.

    For example take the well known gaming site: http://www.sk-gaming.com/, or any other.

    Now by looking at these sites I cant get my head around how object orientated you can make them.

    I want to be able to get all my sites into 1 class that creates instances of other classes inside it.

    Is it possible to get the entire site into classes?
     
  2. nav...

    Hitman

    Joined: 2 Apr 2004

    Posts: 674

    Location: Melbourne

    yes.

    it depends. building your first site entirely out of object oriented code will take a while. but your code will be easily reusable.
     
  3. JonD

    Wise Guy

    Joined: 26 Jun 2003

    Posts: 1,142

    Location: North West

    Yeh i know, but what actual classes can u actually define on a site such as the one above?
     
  4. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,318

    Location: Plymouth

    Don't think "what classes make the site", think "what sites can I build from thus class?" - bottom-up design :)

    Break the site down to its lowest level and you'll begin to work out the functionality needed :)