AustNet AustNet Archive Project — IRC Logs
« All channels | Contribute a log »

// #php — 2008-07-03

1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
13:48:15 Topic Is: Welcome to #PHP | 5.2.5, 4.4.8 released | PHP4 versions have ceased as of January 1st | Looking for a website dev. contact drexen or robert_
13:48:15 Set By: (paveway) on: Fri Jan 04 05:28:43 2008
13:48:18 Mode: (by ChanOP) +o damian
16:34:20 Quit: robert_ ([email protected]) Ping timeout: 121 seconds
16:36:42 Join: robert_ ([email protected]) to #php
17:51:40 Join: nuthin ([email protected]) to #php
17:56:56 Quit: nuthin ([email protected]) Quit:
18:38:32 Join: thriller ([email protected]) to #php
18:38:45 <thriller> hey, need some basic OOP help - anyone around?
18:39:24 Quit: thriller ([email protected]) Quit:
18:39:28 Join: thriller ([email protected]) to #php
19:40:12 Join: optimus ([email protected]) to #php
20:00:36 <schnoodles> ask in here thriller
20:00:39 <schnoodles> i jsut got back
20:00:54 <schnoodles> if i dont respond straight away ill be back so just wait around :P
20:52:47 <thriller> sorry schnoodles
20:52:49 <thriller> still there?
20:52:57 <thriller> I have a question to ask
20:53:10 <thriller> I have a popular sporting site which is built in php
20:53:35 <thriller> it uses a single database connection and a lot of loops to generate the constantly updating information around the page
20:53:47 <thriller> however, we're growing quite large and I fear we're not as efficient as we could be
20:54:01 <thriller> so I've ventured into PHP OOP to try and reduce code and make my page more efficient
20:54:22 <thriller> however, I'm not sure whether I'm going down the right path
20:54:32 <thriller> I have managed to create a database class which reduces code
20:55:04 <thriller> but when I use loops to generate all my articles, how is it really any more efficient than using a loop (looping through mysql records)?
20:56:49 <thriller> is OOP actually more efficient? as in if I store the site navigation in a $navigation variable - does this mean I can call this from page to page?
21:01:04 <thriller> ($navigation variable from the class of course)
23:17:05 Join: schnootop ([email protected]) to #php
23:21:31 Quit: optimus ([email protected]) Quit: Sleep? Oh boy! That's where I'm a viking!