Rolf wrote:

> I don't know why Miguel is trying to force people to
> use only one of the three possible ways to provide
> the path (directory-relative,
> DocumentRoot-relative, absolute).

I believe that I allow you to use 2 of the 3 ... not one of the 3.

I am being paternalistic. I am trying to put up a safety railing and keep
people within bounds.

> There are advantages and disadvantages
> with all three ways. It depends on each individual
> case which solution is the most adequate one.

It goes against 'best practices'.

In the general case, I can think of no advantage or justification for ever
having an absolute URL.

> I think that he views this too much from the perspective
> of an applet developer.

I think I do it because I am trying to reduce support questions.

> The directory-relative variant he wants to force is
> often not very suitable for interface developers,
> because it restricts the location of the pages to
> the same directory level. The devolepment area is for
> example often in a totally different part of the WWW
> server directory tree as the pages provided for users.
> Therefore the movement from the development area to the
> productive area would always require editing the page
> (or changing the CGI script configuration) with
> directory-relative path specifications.

Correct.

Doc-root-relative can also be used.

> I like the idea of an additional switch that would avoid
> having to modify 'Jmol.js' each time it is updated, if
> Miguel still thinks he should direct the user to the
> directory-relative path specification.

Q: Why does anyone need a server-absolute address.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to