|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
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 ;)
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 :)
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 :)
Benj
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
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.
UBB.threads Developer
|
|
|
|
Joined: May 1999
Posts: 78
Member
|
Member
Joined: May 1999
Posts: 78 |
One thing that I have always gotten compliments on is clean/commented code, so that shouldn't be a problem.Even if your indentation is suspect! []/w3timages/icons/laugh.gif[/] Lee Edited by lcantey on 10/18/00 09:27 AM.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Hey, what's wrong with my indentation?[]/w3timages/icons/laugh.gif[/]
UBB.threads Developer
|
|
|
|
Joined: Feb 2000
Posts: 128
Member
|
Member
Joined: Feb 2000
Posts: 128 |
Nothing..
What editor do you use for developement?
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 :)
Oh and nothing beats HomeSite's syntax highlighting :)
Ever consider putting your code in a CVS and giving reged users read privis? :)
------------------------------------------------ Jeremy 'PeelBoy' Amberg
------------------------------------------------ Jeremy 'PeelBoy' Amberg
|
|
|
|
Joined: May 1999
Posts: 78
Member
|
Member
Joined: May 1999
Posts: 78 |
Spaces are great. A tab character, if present, must equate to an eight character tab stop. Nothing else is acceptable.
Lee.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
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.
UBB.threads Developer
|
|
|
|
Joined: May 1999
Posts: 78
Member
|
Member
Joined: May 1999
Posts: 78 |
Hehe, thought I might get a rise there []/w3timages/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 []/w3timages/icons/smile.gif[/]
Lee
|
|
|
|
Joined: Jan 2000
Posts: 796
Addict
|
Addict
Joined: Jan 2000
Posts: 796 |
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... []/w3timages/icons/smile.gif[/]
As for the Perl editor, tried DZsoft Perl Editor?
|
|
|
|
Joined: Feb 2000
Posts: 128
Member
|
Member
Joined: Feb 2000
Posts: 128 |
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
------------------------------------------------ Jeremy 'PeelBoy' Amberg
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
CVS == Concurrent Versioning System. Version control for source.
|
|
|
|
Joined: Feb 2000
Posts: 128
Member
|
Member
Joined: Feb 2000
Posts: 128 |
Nope never tried DZsoft.. I'll have to check it out.. CVS stands for Concurrent Versions System.. Think of VSS (Microsoft Visual Source Safe) or RCS (Revision Control System) It's a place to keep your code.. It versions all of the files for you, and makes it a lot easier for multiple developers to work on one app.. You can checkout a peice of code from the CVS .. work on it.. then commit the code back to the CVS and it will merge all of the changes that other users made to the code while you had it checked out.. and it will give it a new version.. You can also take out older versions of your code if you need too... or if somebody messes up all of the code you can roll it back to a previous version and it is fine.. check out http://www.cvshome.com/ for more information. ------------------------------------------------ Jeremy 'PeelBoy' Amberg
------------------------------------------------ Jeremy 'PeelBoy' Amberg
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
>>A tab character, if present, must equate to an eight character tab stop. Nothing else is acceptable Who sez? [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: Feb 2000
Posts: 128
Member
|
Member
Joined: Feb 2000
Posts: 128 |
icantey saz!! hehe :)
------------------------------------------------ Jeremy 'PeelBoy' Amberg
------------------------------------------------ Jeremy 'PeelBoy' Amberg
|
|
|
|
Joined: May 1999
Posts: 78
Member
|
Member
Joined: May 1999
Posts: 78 |
Me! []/w3timages/icons/laugh.gif[/] Seriously, I have worked with quite a number of programmers on numerous projects over the years and tabs have always been a bone of contention. You may not like someones layout preferences, but differing tab sizes make it unusable. If there was a generic markup that described the setting used when creating the file it would be somewhat doable. Besides, try dumping your tabstop 2 source to a line printer and you'll have yet another reason []/w3timages/icons/wink.gif[/].
Lee
|
|
|
|
Joined: May 1999
Posts: 78
Member
|
Member
Joined: May 1999
Posts: 78 |
Now we're talking! []/w3timages/icons/laugh.gif[/]
Lee
|
|
|
|
Joined: May 1999
Posts: 624
Master Hacker
|
Master Hacker
Joined: May 1999
Posts: 624 |
Oh, in that case..... phthwphth or words to that effect. BTW have you tried TextPad? That's *my* fave editor. [] http://www.amdragon.com/images/eileensig.gif[/]
|
|
|
|
Joined: Feb 2000
Posts: 128
Member
|
Member
Joined: Feb 2000
Posts: 128 |
TextPad? Isn't that like Notepad+ or something?
I don't think I could ever stop using HomeSite that easy..
It's syntax highlighting is too awesome.. Most programs have crapy syntax highlighting.. plus you can turn tabs into spaces.. etc.. it's just a nice all around program.. for HTML, C, Perl, PHP etc.. I love it.. everybody I know who has used it, swears by it.
------------------------------------------------ Jeremy 'PeelBoy' Amberg
------------------------------------------------ Jeremy 'PeelBoy' Amberg
|
|
|
|
Joined: Mar 2000
Posts: 84
Member
|
Member
Joined: Mar 2000
Posts: 84 |
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Cocurrent Versions Systems (I'm pretty sure). It's something I could not live without. Pretty much it is a central location for code and people with access can download the code and then people with access can upload and update the current code. It allows for 2 different programmers to work on the same file at the sametime without running into a problem (as long as they don't work on the same lines of code ) because it merges both updates together. I mainly use it to back up and / or save code I write on the road.
As far as the editors discussion... vi, pico, Notepad, or MSVC++ Studio
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
The documentation on installing the source code be a BIT better considering it took me the first time like 2 hours to find out the port to set in inetd.conf
|
|
|
|
Joined: Feb 2000
Posts: 128
Member
|
Member
Joined: Feb 2000
Posts: 128 |
pico is very bad to use, unless it is a small file or you are creating it from scratch..
It likes to do weird things like chop off lines of code and junk..
vi is a much better choice :)
msvc++ is nice also, but I don't like waiting for it to load, and it's too centered around C/C++ not Perl/PHP.. HomeSite is good for just about any language.. (if I was writing c code I would pick msvc++ any day over home site though..)
------------------------------------------------ Jeremy 'PeelBoy' Amberg
------------------------------------------------ Jeremy 'PeelBoy' Amberg
|
|
|
|
Joined: Jan 2000
Posts: 796
Addict
|
Addict
Joined: Jan 2000
Posts: 796 |
Thanks to all who replied about CVS -Cocurrent Versions Systems! []/w3timages/icons/smile.gif[/] I am dying to use this as I am working on a script with a friend and we have to do everything by email... version numbers were working terrible for us, so glad I asked!
Thanks.
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I was listing all the editors I use for all coding I do and all coding languages.
|
|
|
|
Joined: Jan 2000
Posts: 796
Addict
|
Addict
Joined: Jan 2000
Posts: 796 |
OK, here is a new software I have found: PHP Editor. Its not just another highlighter, it does lot more, you need to have PHP installed though. It´s really similar to Perl Editor, but for PHP, though it looks like it also can run Perl if you have it installed. Check them out! []/w3timages/icons/cool.gif[/]
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Can't get the PHP Editor link to work []/w3timages/icons/frown.gif[/]
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Just use Notepad. []/w3timages/icons/smile.gif[/]
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Found the link... []/w3timages/icons/smile.gif[/] It was actually recommended to me by some other people as well...it's good to have
|
|
|
|
Joined: Oct 2000
Posts: 14
Newbie
|
Newbie
Joined: Oct 2000
Posts: 14 |
If that dosen't work out, give this a try: http://idm.ccrtcweb.comWith the word files, you can edit almost anything, and the auto ftp configuration is kinda nice, when your working with remote servers. You have to pay for it, and it takes a little to set it up, but it absolutely rocks, IMHO ...... Forgive me Father, for I know not what I do.
|
|
|
|
Joined: Jun 1999
Posts: 77
Journeyman
|
Journeyman
Joined: Jun 1999
Posts: 77 |
Excellent. Can't wait for the PHP version. Thank you, Bob
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,574
Posts293,926
Members13,850
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|