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: 8371
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: 8371
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: 8371
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: 8371
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
#205483 - 10/17/00 02:11 PM Re: What is this board for? [Re: Chris Schreiber]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Hmmm.. I'm sure it could with some work..<br /><br />I'm sure mod_perl could also, but maybe it would just take a lot of thinking to figure out a different way of doing it so that mod_perl wouldn't freak out? I dunno.. Anything is possible, but I guess not everything is feasible huh? :)<br /><br />err I mean it's possible but probably not feasible (like.. it might require re-writing how la nuages are handled....etc.. dunno.. but I know it can be done hehe)<br /><br />Does it not work because language vars are global? (ugh)<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg<P ID="edit"><FONT SIZE=-1><EM>Edited by PeelBoy on 10/17/00 02:14 PM.</EM></FONT></P>
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

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

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
Sounds to me like you're saying - in a roundabout way - that NO, php can't handle it either! Umnn - so what's with these supposedly 'improved' languages!?! <br /><br />I want somrthing that offers *more* not less...<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205485 - 10/17/00 02:34 PM Re: What is this board for? [Re: Chris Schreiber]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8371
Loc: Olympia, WA
php would allow you to have the language switcher in it. You don't have the pre-compiling that you do with mod_perl.<br /><br />Mod_perl pre-compiles all declared .pm files. And since w3t.pm needs to have language files it compiles those in at startup. That is why you can't switch languages. Under normal perl it checks the cookie each time w3t.pm is compiled (oncer per script) and compiles the proper language for that one instance.<br /><br />---<br />Scream<br /><A HREF="http://www.wcsoft.net" target="_new">http://www.wcsoft.net</A>
_________________________
StogieSmokers.com

Top
#205486 - 10/17/00 02:37 PM I think a good example would be.. [Re: Mix505]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
The dbi interface that perl uses to connect to db's..<br /><br />when you say<br /><br />$dbh = DBI -> connect();<br /><br />You are creating an object called $dbh, or an "instance" of the DBI class.<br /><br />Anything you do to $dbh effects that object..<br /><br />So now when you want to make a query to that db, you use $dbh..<br /><br />$blah = $dbh -> prepare ("SELECT .....");<br /><br />and now you can execute the $blah object to get the results.. etc..<br /><br />You can create multiple db connections and store them in different objects<br />and then do queries on which ones you please..<br /><br />Something like that anyway..<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205487 - 10/17/00 02:40 PM Re: What is this board for? [Re: Sally]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Scream is right..<br /><br />I wasn't saying it isn't possible in PHP.. I'm pretty sure it IS possible (with out any weird hacks) but since I don't know 100% about how it works and stuff, I wasn't sure if it would work in PHP or not (so I kept my big mouth closed so I don't look like a fool.. I'm good at that) =)<br /><br />What I was saying is that you can get it to work with mod_perl, but probably not with out doing some major hacks on the way languages currently work smile (in other words, it's possible but not feasible)<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205488 - 10/17/00 02:44 PM Re: I think a good example would be.. [Re: Mix505]
Flyin V Offline
Power User

Registered: 05/20/99
Posts: 73
Why does my web host for a dedicated Cobalt RAQ say<br />"a php based forum will be easier on the server then a perl based forum"<br /><br />Is PHP easier on the server then perl when there are a lot of hits.<br /><br /><br /><br /><A HREF="http://www.flyin.com" target="_new">http://www.flyin.com</A>
_________________________
www.clickteam.com

Top
#205489 - 10/17/00 02:53 PM Re: I think a good example would be.. [Re: Afx]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Yes, but I'm not sure about mod_perl..<br /><br />For every hit your server gets, another instance of perl is started (so that it can execute the cgi file that the user requested).. <br /><br />mod_perl and php are both run from the apache server level, and a new instance isn't started for each hit you get. Everything is already there and running..<br /><br />That probably helps free up quite a bit of memory for the server when you have a heavy load also.<br /><br />I'm sure there is a bunch of other stuff too that I don't know about.. I just know the basics of it :\<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205490 - 10/17/00 02:54 PM Yeee-hahhhhhhh!!!!!! [Re: Sally]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
YESSSSSS!!!!<br /><br />>>php would allow you to have the language switcher in it. <br /><br />Count me in - big time. It can't happen soon enough. []/w3timages/icons/laugh.gif[/]<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

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

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
You sure muddied the water though... []/w3timages/icons/crazy.gif[/]<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205492 - 10/17/00 02:58 PM Re: Yeee-hahhhhhhh!!!!!! [Re: Chris Schreiber]
lcantey Offline
Member

Registered: 05/20/99
Posts: 166
Loc: CA
It can't happen soon enough.<br /><br />Minus of course the real 5.1 release []/w3timages/icons/wink.gif[/]. And I now have a moderated forum, so admin changes are welcome too!<br /><br />Lee.<br /><br />

Top
#205493 - 10/17/00 02:59 PM Oops me sowwy.. (nm) [Re: Chris Schreiber]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
..<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205494 - 10/17/00 03:03 PM Re: Oops me sowwy.. (nm) [Re: Mix505]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
Hey, we attracted Scream's attention - and that's what counts. []http://www.amdragon.com/images/icons/devil.gif[/]<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205495 - 10/17/00 03:05 PM Re: Oops me sowwy.. (nm) [Re: Chris Schreiber]
PeelBoy Offline
Member

Registered: 02/16/00
Posts: 188
Loc: Austin, Texas, USA
Ahh... Good team work! *high-five!*<br /><br />------------------------------------------------<br />Jeremy 'PeelBoy' Amberg
_________________________
------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#205496 - 10/17/00 03:19 PM High 5 [Re: Mix505]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
[big fat grin] Now there a thought - anybody got a 'high five' Smiley?<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
#205497 - 10/17/00 03:42 PM Re: High 5 [Re: Chris Schreiber]
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
ya technically laguange switching could be done on the fly without a doubt. someone at vb was working on a way to switch all the text on the fly. like this post in spanish. but i don't think it went that far.<br /><br />and lastly i wanna integrate wwwthreads (perl for now), with phpnuke.org somehow. just the user base at least.<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
#205498 - 10/17/00 07:28 PM Re: High 5 [Re: vent]
Eileen Offline
Master Hacker

Registered: 05/11/99
Posts: 3701
Loc: Los Angeles
It'll probably be my *first* phpW3T hack!<br /><br />[]http://www.amdragon.com/images/eileensig.gif[/]
_________________________
[]http://www.wopr.com/w3tuserpics/Eileen-sig.gif[/]

Top
Page 1 of 2 1 2 >


Moderator:  Gizmo