Hail scream !! I'm so happy to see you starting PHP. All of you curently running perl w3t, I can tell you you will LOVE php version <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />
My suggestions for PHP version:
- All the current w3t feature - Show total post - Welcome last registered user - Unlimitted subcategories depth
Clean code, not too much sql querries per page <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Also, a question: is there a difference between porting a product to php from perl or writing it from scratch ? Will it be as good as if it was originally made for PHP ?
Will you do convert utilities so we can convert other PHP forums database to w3t php ?
Thats it <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
The initial version will be a straight port, new features will be added once I get the base version caught up with the perl version.
One thing that I have always gotten compliments on is clean/commented code, so that shouldn't be a problem.
I've got almost 2 years in of optimizing the program for SQL and the number of SQL calls has always been kept to a minimun as a priority.
The difference between porting and writing from scratch depends upon the languages. If you have a fundamental difference in the logic of the language then it would probably be easier to write from scratch. But, the differences between PHP and PERL are minimal, the logic is basically the same so there will be no loss in doing a port.
If there is enough interest in a conversion script from different products, then yeah I would probably write one up.
HomeSite 4.5 is the best windows Perl editor if you ask me.
You can set the tabs to spaces, (how ever many you want, 3 or 4 is what I use) that way your code always looks clean regardless of the editor you view it in.
Some editors treat tabs different than others so using spaces is the best <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
I use vi, that's it, nothing else. I do a 2 character space for indentation, but because of the // for comments in php I'm doing 3 spaces for indentation in php.
Have contemplated the cvs thing, but have never gotten the time to install it and set it up.
Hehe, thought I might get a rise there <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" /> . Actually the only problem I've run into that I really notice (I won't get into minor preferences like open brace location or amount of indentation which no one agrees on) is that you outdent your comments which breaks up the visual alignment of blocks. I tend to stop scanning upwards when I run across them. I'll manage <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Sorry for my ignorance, but what is a CVS? I just walked into a shoping cart script in PHP and saw that term and was wondering what it is... Thanks, I wont be ignorant to this any more... <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Oh, cool... vi is nice.. I could never use it to develop because I'm not good enough in it yet, but for editing files here and there it is great (specially if I need to change a lot of things in a file.. gotta love vi!!)
CVS was actually pretty easy to setup and get working.. I haven't figured out users yet though.. I installed it the lazy way using an RPM since my server runs redhat.. Works great..
------------------------------------------------ Jeremy 'PeelBoy' Amberg