Go Back   Webmaster Tips and Tricks Forums - web master resources > Develop the site > Programming

Programming Discuss the code, get ideas, present your own coding.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2005, 12:58 PM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default Programming tips

Yep .. another "tips and tricks" category you are invited to offer ideas.

*****

Use a local server
When having a site or trying new stuff, why not use a local server for Php/Mysql work? You can find good free ones and use them offline. You can refine your skills and try new hacks and mods without annoying the people who are already on your site.
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings
Reply With Quote
  #2  
Old 11-13-2005, 09:20 PM
Vitesse's Avatar
Vitesse Vitesse is offline
Designer
 
Join Date: Nov 2005
Location: UK
Age: 28
Posts: 273
Rep Power: 0
Vitesse has disabled reputation
Default

Following along the idea Dojo mentioned above.



If you have enough webspace, databases available to you and you can have a subdomain then make a duplicate copy of your site/forum (obvoiusly with only a few test posts and users) on a subdomain. This is an invalauable way of testing new scripts out as you will be running scripts with the same server environment as your normal site has so any problems are bound to show up there first.
Reply With Quote
  #3  
Old 11-14-2005, 06:08 AM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default

Wow .. awesome idea indeed. Thank you for sharing it with us .. Methinks I should put it into work ASAP.
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings
Reply With Quote
  #4  
Old 09-26-2006, 12:48 PM
Insane_Sparrow's Avatar
Insane_Sparrow Insane_Sparrow is offline
Wtricks member
 
Join Date: Sep 2006
Location: Newcastle, Australia
Posts: 27
Rep Power: 0
Insane_Sparrow is an unknown quantity at this point
Default

I know this is SO obvious, but it's often overlooked - make sure whatever you're programming will work in as many environments as possible. If it only works for YOU, then it will turn everyone else away.
Reply With Quote
  #5  
Old 09-26-2006, 01:52 PM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default

Very good tip, Insane_Sparrow. We usually forget that not all PCs are like ours, not all browsers function the same way ...
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings
Reply With Quote
  #6  
Old 09-27-2006, 09:08 AM
bdude's Avatar
bdude bdude is offline
Aspiring expert
 
Join Date: Aug 2006
Location: australia
Posts: 645
Rep Power: 0
bdude is an unknown quantity at this point
Default

Exactly, I was trying to do something and then a member sent me a screenshot in IE7 and it was completely screwed up.
__________________
The Blogging Café - Blogging Forum
Reply With Quote
  #7  
Old 10-03-2006, 08:52 PM
compfreak986's Avatar
compfreak986 compfreak986 is offline
Sleepy
Aspiring expert
 
Join Date: Apr 2005
Location: Belgium
Age: 19
Posts: 726
Rep Power: 0
compfreak986 is an unknown quantity at this point
Default

PHP-tip:
Use enough comments, Else you wont understand your code when you look at it in 10 ten years.
__________________
Earn Cash online? Follow my experiences
Reply With Quote
  #8  
Old 10-04-2006, 02:53 AM
bdude's Avatar
bdude bdude is offline
Aspiring expert
 
Join Date: Aug 2006
Location: australia
Posts: 645
Rep Power: 0
bdude is an unknown quantity at this point
Default

Better still, use phpDocumentor syntax - then you can auto-generate basic API documentation
__________________
The Blogging Café - Blogging Forum
Reply With Quote
  #9  
Old 10-04-2006, 12:17 PM
eviL<3's Avatar
eviL<3 eviL<3 is offline
Beginner designer
 
Join Date: May 2006
Posts: 223
Rep Power: 0
eviL<3 is an unknown quantity at this point
Default

Indeed
More info on phpdoc can be found here: http://phpdoc.org/
__________________
phpBBModders.net
Reply With Quote
  #10  
Old 10-09-2006, 05:26 PM
Dale's Avatar
Dale Dale is offline
Wtricks member
 
Join Date: Sep 2006
Location: Outer Rim of London
Age: 22
Posts: 46
Rep Power: 0
Dale is an unknown quantity at this point
Default

AppServ: http://www.appservnetwork.com

AppServ is something that I use which allows you to use PHP and MySQL offline.
__________________
Forum Installation
(vBulletin, phpBB, IPB, MyBB)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT +1. The time now is 08:09 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
Theme redesigned by Dojo Design. © 2005, 2006 Dojo Design & Wtricks.com