...

View Full Version : (Firefox) Addon for local development environment?



bowser1111
11-12-2008, 10:17 AM
This question is hard to even phrase, so I'm having trouble finding an answer by normal means.

I'm looking for some kind of browser extension (preferably Firefox) that will allow me to view my pages in a local environment without making the in-page links relative.

I like to use links like this for final deployment: href="/path/to/file/" (this goes for "src" too, of course)... I don't even know what to CALL these kind of links... they aren't relative, but they aren't absolute, either. And of course they won't work when I'm developing on a local machine.

Is there SOME kind of addon out there that can rewrite the part implied before the "/" on a per-project basis? This would be such a timesaver!

Thanks

oesxyl
11-12-2008, 11:17 AM
This question is hard to even phrase, so I'm having trouble finding an answer by normal means.

I'm looking for some kind of browser extension (preferably Firefox) that will allow me to view my pages in a local environment without making the in-page links relative.

I like to use links like this for final deployment: href="/path/to/file/" (this goes for "src" too, of course)... I don't even know what to CALL these kind of links... they aren't relative, but they aren't absolute, either. And of course they won't work when I'm developing on a local machine.

Is there SOME kind of addon out there that can rewrite the part implied before the "/" on a per-project basis? This would be such a timesaver!

Thanks
as far as I know there is no such as extensions. Why don't you use virtual host?

best regards

bowser1111
11-12-2008, 01:54 PM
Really? It seems like quite a common problem...


..and what's virtual host?

oesxyl
11-12-2008, 02:11 PM
Really? It seems like quite a common problem...
don't seems common, :) on cf this is second time when I see it.


..and what's virtual host?
http://httpd.apache.org/docs/2.0/vhosts/

regards

bowser1111
11-12-2008, 03:11 PM
Oh... you meant Apache virtual host??
Why on earth would I install Apache into my local environment?
For all that trouble I would just change the links!
I think we're talking about two totally different things here.

And it may not be vocalized, but I guarantee the need is there...

Apostropartheid
11-12-2008, 05:41 PM
Most people would install an enclosed server on their home computer. Programs like XAMPP (http://www.apachefriends.org/en/xampp.html) are geared especially for this need. This is better because it allows testing in all browsers.

gnomeontherun
11-12-2008, 09:53 PM
Also if you install a virtual host, then you can test things like PHP scripts, database calls, basically simulate the exact server environment you use online from the safety of your own computer.

bowser1111
11-12-2008, 11:43 PM
Ahhh ok... That's starting to make a bit more sense.

I still think that some kind of plugin would be very useful for simple/small-time web designers that only deal with static pages (which can be tested locally in all browsers anyway), but being able to use php would be a huge advantage... I hadn't even been thinking that far...

Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum