php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#205463 - 10/16/00 08:40 PM What is this board for?
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA

   What is this board for? to Del.icio.us Add to del.icio.us
  Digg What is this board for? Digg it
I realize that with the announcement of the PHP port there will probably be questions regarding this. So, instead of cluttering up the other forums I figured I would create a new board just for comments/questions regarding this.<br /><br />---<br />Scream<br /><A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
_________________________
StogieSmokers.com

Top
#205464 - 10/16/00 09:42 PM Re: What is this board for? [Re: Sally]
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
uhm.....<br /><br />whoooo hoooo!!!!!!<br /><br />--------------<br />your ad here! adspace@extremeforums.org<br /><A HREF="http://www.extremeforums.org" target="_new">http://www.extremeforums.org</A>
_________________________
Extreme!!!

Top
#205465 - 10/17/00 01:02 AM Re: What is this board for? [Re: Sally]
willym Offline
Newbie

Registered: 11/11/99
Posts: 23
Thank you Scream!!!!<br /><br />Do you have a guestimation on how long until beta ?<br /><br />Will<br /><br />

Top
#205466 - 10/17/00 08:21 AM Re: What is this board for? [Re: Sally]
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Do you know who's working on the conversion, WWWThreads people or ? Is there a way to have it done faster ($$$)? Can I help?<br /><br />

Top
#205467 - 10/17/00 08:33 AM Re: What is this board for? [Re: Anonymous]
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Erm....Scream is WWWThreads people []/w3timages/icons/smile.gif[/]. And seeing as how it's his program, I think it's him who's doing it. []/w3timages/icons/wink.gif[/]<br />Strange thing is, I actually wondered about the PHP version this morning, and then voila! he's already working on it.<br />I know PHP is the latest and greatest thing, Scream, but what advantages can it give us over Perl, except for the fact that some people just want or only have PHP? (Which is very hard to believe in this day and age)<br /><br />

Top
#205468 - 10/17/00 08:59 AM Re: What is this board for? [Re: Nat X]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
At this point I would hate to even take a guess on a timeline. Just keep watching the changelog. I'll post the url to the development site once I get a little further along.<br /><br />---<br />Scream<br /><A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
_________________________
StogieSmokers.com

Top
#205469 - 10/17/00 09:00 AM Re: What is this board for? [Re: Anonymous]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
LoneVVolf is correct. WWWThreads people is me[]/w3timages/icons/wink.gif[/]. Converting actually has been going pretty smooth, much faster than I had originally thought anyways. In a couple hours yesterday I got about 5 scripts ported over.<br /><br />---<br />Scream<br /><A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
_________________________
StogieSmokers.com

Top
#205470 - 10/17/00 09:04 AM Re: What is this board for? [Re: Anonymous]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
I'll admit that my knowledge in PHP is limited, but from what I can tell it is a pretty easy language to work with. The main benefit is that PHP is a server module, so unlike perl it doesn't have to fire up a seperate process to compile the script and execute it. So, speed is a big factor. <br /><br />I'll probably have more opinions about it in the near future. And someone else might be able to give a better answer on the benefits.<br /><br />---<br />Scream<br /><A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
_________________________
StogieSmokers.com

Top
#205471 - 10/17/00 10:19 AM Re: What is this board for? [Re: Anonymous]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Let me give you a good example of why it's good to use PHP..<br /><br />The forum I use to run got so many hits that it crashed constantly.. It was mostly because sooo many instances of perl executing that my machine would slow way down and the db couldn't handle it etc..<br /><br />PHP only has one instance, it runs from the server level.. So it keeps things speedy and crashes less on an active forum.. (That means 100 hits at once, doesn't cause perl to run 100 times on your server, executing the same file..)<br /><br />Also I think PHP can keep a persistent connection to the db where as Perl can't (Maybe mod_perl?) which cuts down on all of the db activity..<br /><br />I still think Perl is a lot more fun to develop in though.. Especially when you start doing OO stuff (adds some spice to the same old boring Perl stuff) =)<br /><br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205472 - 10/17/00 11:53 AM Re: What is this board for? [Re: Mix505]
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Ok, I'm not getting it. <br /><br />PHP has an apache module - mod_php.<br />Perl has an apache module - mod_perl.<br /><br />Neither require spawning external processes to byte compile the scripts. They are read in once at init, and you go.<br /><br />The apache benchmarking tool has shown WWWThreads 4.4.1 capable of handline 100 page requests/second of wwwthreads.pl w/3 categories and 20 forums on a 360 Mhz Solaris 2.7 machine running apache 1.3.9 and mod_perl.<br /><br />This can be scaled up fairly quickly using a seperate machine for the MySQL server from the web server and using a non DNS based load balancer.<br /><br />Don't get me wrong, PHP has it uses. I looked at using a number of PHP boards before settling on WWWthreads last year. WWWThreads was by far the superior solution. It had the richest feature set provided and the cleanest UI PLUS its backed by MySQL. For the life of me I can't figure out why so many sites use UBB... <br /><br />I question your rationale of claiming that WWW threads needs to be ported for speed considerations. <br /><br /><br /><br />

Top
#205473 - 10/17/00 12:08 PM Re: What is this board for? [Re: Sally]
willym Offline
Newbie

Registered: 11/11/99
Posts: 23
From a resource perspective PHP is much easier on the system then mod_perl/mysql. PHP was designed to work with mysql and allows a lot of cool features in that arena. I am not sure why its less resource intensive, but I know it is based on performance testing we've done using wwwthreads and other php message boards.<br /><br />There was also an article in a linux magazine recently about memory leaks using constant connections in mod_perl and mysql. We've been experiencing this for a while and never could figure out what the problem is. We have very active boards (20,000 members).<br /><br />Other notes, if you are using a site with PHP this opens the doors to fully integrate wwwthreads into everything else on your site. That is the biggest benefit to us. Perl cannot print out php, so all of our headers/footers and php code had to be hacked to work with wwwthreads in the past. Now it can be seamless.<br /><br />Thanks again for porting!<br />Will<br /><br />

Top
#205474 - 10/17/00 12:11 PM Re: What is this board for? [Re: Anonymous]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Well.. You are right, but there are also other things that come in to play..<br /><br />There are -some- set backs to using mod_perl (like if your code isn't written with mod_perl in mind it might not run as expected.. global vars stay in memory etc.. was wwwthreads writen to take mod_perl into account?)<br /><br />You have to also remember that some people who have the ability to run PHP might not have the ability to run Perl (don't ask me why, but I'm sure this is true for somebody out there)<br /><br />I do remember reading through wwwthreads source and seeing comments like "this feature doesn't work under mod_perl" etc...<br /><br />Also I think that if wwwthreads was written in PHP it would make it 10x easier to hack the layout of your forum..<br /><br />Since PHP is embeded into HTML like ASP it keeps the HTML code cleaner looking and easier to change where as perl the HTML code usually looks very ugly....<br /><br />Once again.. Don't get me wrong.. I love perl.. I write perl for a living..<br /><br />Oh and about the UBB comment... I agree.. try vbulletin <A HREF="http://www.vbulletin.com" target="_new">http://www.vbulletin.com</A> it's not as good as wwwthreads, but it's a decent php forum that copies UBB's style (I hate not having threaded view though)<br /><br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205475 - 10/17/00 01:07 PM Re: What is this board for? [Re: Mix505]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
Off Topic:<br />>>I still think Perl is a lot more fun to develop in though.. Especially when you start doing OO stuff (adds some spice to the same old boring Perl stuff) =)<br /><br />Do tell about 'doing OO stuff' - it sounds exciting. I love Perl. There's something very satisfying about it that I think I'm going to miss if I switch to php...<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205476 - 10/17/00 01:11 PM Re: What is this board for? [Re: Mix505]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
>>I do remember reading through wwwthreads source and seeing comments like "this feature doesn't work under mod_perl" etc...<br /><br />Some of my hacks such as the on-the-fly Language Switcher won't work with mod_perl because of its being compiled up front. Will switching to php mean that everybody will now be able to use it?<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205477 - 10/17/00 01:23 PM Re: What is this board for? [Re: Chris Schreiber]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Why wouldn't it work with mod_perl?<br /><br />(I dunno haven't taken a look at it yet..)<br /><br />I'm sure it would be -possible- to make it work with mod_perl, wouldn't it?<br /><br />I dunno if it would work in php or not, but I don't see why it wouldn't.. Of course you will have to re-write it though =)<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205478 - 10/17/00 01:34 PM Re: What is this board for? [Re: Chris Schreiber]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
In perl you can write the .pm (packages) to be object oriented. (like C++ or Java)..<br /><br />If you have O'Reilly's "Programming Perl" book read page 289 (2nd edtion)<br /><br />Or grab "Object Oriented Perl" by Damian Conway that is a very good book (has a lot of info about object oreinted programing in general and how it applies to perl).<br /><br />I'm still learning or I would go into more details.. Read up on some of the cocepts of OOP to see the pluses of using it :)<br /><br />Oh, another thing.. writing perl object oriented perl modules is suppose to make it a little bit slower, so that is the down side :(<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205479 - 10/17/00 01:55 PM Re: What is this board for? [Re: Anonymous]
Flyin V Offline
Power User

Registered: 05/20/99
Posts: 73
I do not have any hard facts but my web hosting company told me they think php based forums are easier on the server then perl based forum.<br /><br />All I know is wwwthreads is the best forum around and a PHP version would be a dream for me since I have tons of PHP knowledge and almost zero perl skills.<br /><br /><br /><A HREF="http://www.flyin.com" target="_new">http://www.flyin.com</A>
_________________________
www.clickteam.com

Top
#205480 - 10/17/00 02:05 PM Re: What is this board for? [Re: Afx]
lcantey Offline
Member

Registered: 05/20/99
Posts: 166
Loc: CA
I have tons of PHP knowledge and almost zero perl skills.<br /><br />I think this is one of the real driving factors for a lot of the people that make the most noise out there []/w3timages/icons/smile.gif[/]. I've seen so many things rewritten over the years in the new maintainer's favorite language that it's amazing. Don't get me wrong, I'm not against the PHP version and I'll switch if it provides a better solution. But that's the real key for me, I'll choose whichever provides the most benefit.<br /><br />Lee.<br /><br />

Top
#205481 - 10/17/00 02:06 PM Re: What is this board for? [Re: Mix505]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
Nope. Apparently all the variables are hewn in stone. They tell me that once you've set them up front, that's it.<br /><br />Have a look at the row of flags at <A HREF="http://www.amdragon.com/cgi-bin/wwwthreads/wwwthreads.pl?Cat=" target="_new">Amdragon</A>. If you click the French flag, the whole board switches over to French instantly. Then click the German flag and everthing goes German. Could php handle that?<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205482 - 10/17/00 02:07 PM Re: What is this board for? [Re: Nat X]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Actually I think you can make perl print out PHP hehe.. but why would you want too? =) just make the server run the perl first, then have it parse the output for PHP code before it prints it to the client.. ugh.. not the best idea smile I bet if you edit the http.conf file and add .pl or .cgi as an ext for php it would work =) (dunno though I haven't tried it)<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
Page 1 of 2 1 2 >


Moderator:  Gizmo 
Who's Online
1 Registered (AllenAyres), 42 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 12
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
W-D 3

 

 

 
fusionbb message board php hacks