Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (Gizmo), 20 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/15/08
Posts: 17
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 54
driv 35
ntdoc 32
Sirdude 29
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Page 2 of 4 < 1 2 3 4 >
Topic Options
Rate This Topic
#32710 - 10/18/00 12:08 AM Re: What is this board for?
Anonymous
Unregistered


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.

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).

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.

Thanks again for porting!
Will

Top
#32711 - 10/18/00 12:11 AM Re: What is this board for?
Anonymous
Unregistered


Well.. You are right, but there are also other things that come in to play..

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?)

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)

I do remember reading through wwwthreads source and seeing comments like "this feature doesn't work under mod_perl" etc...

Also I think that if wwwthreads was written in PHP it would make it 10x easier to hack the layout of your forum..

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....

Once again.. Don't get me wrong.. I love perl.. I write perl for a living..

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)

Jeremy 'PeelBoy' Amberg

Top
#32712 - 10/17/00 01:07 PM Re: What is this board for?
Anonymous
Unregistered


Off Topic:
>>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) =)

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...

 -

Top
#32713 - 10/17/00 01:11 PM Re: What is this board for?
Anonymous
Unregistered


>>I do remember reading through wwwthreads source and seeing comments like "this feature doesn't work under mod_perl" etc...

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?

 -

Top
#32714 - 10/17/00 01:23 PM Re: What is this board for?
Anonymous
Unregistered


Why wouldn't it work with mod_perl?

(I dunno haven't taken a look at it yet..)

I'm sure it would be -possible- to make it work with mod_perl, wouldn't it?

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 =)

------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#32715 - 10/17/00 01:34 PM Re: What is this board for?
Anonymous
Unregistered


In perl you can write the .pm (packages) to be object oriented. (like C++ or Java)..

If you have O'Reilly's "Programming Perl" book read page 289 (2nd edtion)

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).

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 [Smile]

Oh, another thing.. writing perl object oriented perl modules is suppose to make it a little bit slower, so that is the down side [Frown]

------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
#32716 - 10/17/00 01:55 PM Re: What is this board for?
Anonymous
Unregistered


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.

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.


<A HREF="http://www.flyin.com" target="_new">http://www.flyin.com</A>

Top
#32717 - 10/17/00 02:05 PM Re: What is this board for?
Anonymous
Unregistered


I have tons of PHP knowledge and almost zero perl skills.

I think this is one of the real driving factors for a lot of the people that make the most noise out there [Smile] . 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.

Lee.

Top
#32718 - 10/17/00 02:06 PM Re: What is this board for?
Anonymous
Unregistered


Nope. Apparently all the variables are hewn in stone. They tell me that once you've set them up front, that's it.

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?

 -

Top
#32719 - 10/17/00 02:07 PM Re: What is this board for?
Anonymous
Unregistered


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)

------------------------------------------------
Jeremy 'PeelBoy' Amberg

Top
Page 2 of 4 < 1 2 3 4 >


Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156015 Posts

Max Online: 978 @ 06/24/07 08:19 PM