[thelist] pros/ cons of using relative links
Scott Harman
scott at enteractiontv.com
Tue Jun 17 06:41:37 CDT 2003
*blush*
Missed the last line of the post!
Simply add a new site to validate the integrity - take a mirror of the
site, with any required changes and run it on your local dev server.
-----Original Message-----
From: Scott Harman
Sent: 17 June 2003 12:32
To: thelist at lists.evolt.org
Subject: RE: [thelist] pros/ cons of using relative links
I tend to use virtual hosts and internal DNS for testing -
Where it almost becomes a moot point.
i.e.
Creating www.example.com
Test environment is created at dev.example.com as a virutal host in
apache. Have all the db's and resources that you'll be using available.
I tend to use scripts for all changes - i.e. I'll have a perl or php
installer where you're able to predefine your site details and modify
all existing absolute pathes. This can also be achieved with a simple
search and replace routine. Ditto with IIS where you can simply define a
new site - and point it towards a known good location.
Ultimately - pick your flavour of Linux or *nix and configure it as an
internal dev webserver and test away to your heart's content!
-----Original Message-----
From: David Turner [mailto:david.turner at synergy.tv]
Sent: 17 June 2003 12:21
To: thelist at lists.evolt.org
Subject: [thelist] pros/ cons of using relative links
hi all,
i have come from a delphi background, and been thrown in at the deep end
with web development, and a bit more worringly web development project
management.
one of the things that has become apparent is that the developers we are
using upload the code directly to ISP, whereas i would like them to send
the code to myself to test first.
to enable this i have added direcories to my wwwroot and test away using
http://localhost/project1 etc...
however the developers dont use relative paths... this means lots of
missing images/ style sheets not being picked up etc.
so i am about to insist that new projects all use relative links.
what is the concensus of the list about the merits of this? [i was going
to say the relative merits but... :-) ]
cheers,
david.
ps. all development is done using asp, javascript and MSSQL pss. when i
say relative links, i mean they should use ../images/david.gif rather
than /images/david.gif
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
Evolt.org conference in London, July 25-27 2003. Register today at
http://evolt.org.uk
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
Evolt.org conference in London, July 25-27 2003. Register today at
http://evolt.org.uk
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list