Absolute URLs hardcoded in sources [message #24045] |
Mon, 11 April 2005 11:52 |
akie
Messages: 12 Registered: March 2005 Location: Russia
Karma: 0
|
Junior Member |
|
|
I've tried to find explanation of this decision in this forum, but all I found is this topic, dated 2002, August:
http://fudforum.org/forum/index.php?t=msg&goto=5238&SQ=86027271962b b45ae67d9cb95a43e121&
The question is still highly open for me.
I think this design decision (I mean absolute URLs hard-coded in source) is the great architecture mistake.
I simply do not understand, why I have to spend so much time rebuilding themes when I move forum from one domain to another!
Assume, I develop website with forum integrated to it. Of cause, I want to develop it on separate server, which is special for development purposes. So, the process of moving the site to production server is not the pleasant one. I'm afraid to mind cases when website is to be changed frequently with 1 release per week.
γΙΤΑΤΑ: | This is just one problem, there are others.
|
Please, explain 'other problems', I do want to understand the causes of such a decision.
|
|
|
Re: Absolute URLs hardcoded in sources [message #24046 is a reply to message #24045] |
Mon, 11 April 2005 12:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Absolute URLs are not hardcoded, all urls are templatable. The forum actually uses base href identifier that automatically appends the specified path to each URL. Even that can be removed by modifying the header.
FUDforum Core Developer
|
|
|