php forum
php mysql forum
php mysql smarty
 
Topic Options
#286430 - 01/27/02 02:08 PM January 2002 - Interview with Rick "Scream" Baker
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Interview by: Allen Ayres
Interviewee: Rick "Scream" Baker - UBBThreads Developer

UBBDev: Recently we caught up with Rick in between coding v5.5 and v6 with a bowling ball in one hand, golf clubs in the other, and php code on his mind. Rick gives us a little history behind the madness that is his personal obsession when not relaxing with his family or working his day job.

UBBDev: Welcome Rick smile Name your favorite moment in the development history of threads...

Rick: That would have to be when I decided to go commercial and not everyone jumped ship. That was a real turning point. I knew the software was decent, but was it good enough to survive in a commercial environment. Still have a copy of the very first order I received

UBBDev: Very cool, it would seem you have put a great deal of effort into the development. What are your central goals for developing UBBThreads now?

Rick: Not particularly in any order, that would be: Ease of use, stability, speed and feature-set. A big focus right now is optimizing all of the queries. As I'm working through all of the scripts for 6.0 I'm examining the queries and trying to cut down wherever possible. Here are a few examples:

First, on a typical search page with 25 results it normally did an average of 28 database queries to generate the page. This has been reduced to 4.

Threaded mode is another big one. If you had a thread with say 30 replies, this would end up generating about 80 database queries to create the page. This has been reduced to about 16.

Same with postlist in expanded mode. This one could really add up. Before the changes a typical page might generate 160 queries afterwards this was dropped to 29.

UBBDev: Major improvements <img src="eek.gif" border="0" alt="" /> Are there any other sneak-peeks you can give us into the future of threads? What should users be most excited about?

Rick: To answer both of those. Templates. Templates can be a pain for several reasons. First you might end up having a lot of templates to generate one page due to code loops and things of that nature. Second they can slow things down a bit because normally you have to loop through the template and run a regular expression on it to replace all of the variables.

I think I've come up with a system that I think everyone will enjoy working with and will be speedy as well. First, the number of templates required for a page is fairly minimal. You've got a header and navigation template first, then the actual page template and then the footer template. Secondly there are no regular expressions used. It's a normal PHP file that is included but when you edit it through the admin editor it's just HTML. The few PHP tags that are used are commented with HTML style comments so they won't interfere when editing the template in an HTML editor. It's a bit hard to explain but once everyone sees it I think they will be pleased.

Oh, and all HTML in the front end will be XHTML 1.0 compliant wink Thank you for your time and for letting us get to know a little more of the "man behind the code".

Rick: Cheers, Rick

Top


Who's Online
0 registered (), 27 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks