Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-12-2008, 09:17 AM   PM User | #1
bowser1111
Regular Coder

 
Join Date: May 2006
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
bowser1111 is an unknown quantity at this point
(Firefox) Addon for local development environment?

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
bowser1111 is offline   Reply With Quote
Old 11-12-2008, 10:17 AM   PM User | #2
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by bowser1111 View Post
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
oesxyl is offline   Reply With Quote
Old 11-12-2008, 12:54 PM   PM User | #3
bowser1111
Regular Coder

 
Join Date: May 2006
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
bowser1111 is an unknown quantity at this point
Really? It seems like quite a common problem...


..and what's virtual host?
bowser1111 is offline   Reply With Quote
Old 11-12-2008, 01:11 PM   PM User | #4
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by bowser1111 View Post
Really? It seems like quite a common problem...
don't seems common, on cf this is second time when I see it.

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

regards
oesxyl is offline   Reply With Quote
Old 11-12-2008, 02:11 PM   PM User | #5
bowser1111
Regular Coder

 
Join Date: May 2006
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
bowser1111 is an unknown quantity at this point
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...
bowser1111 is offline   Reply With Quote
Old 11-12-2008, 04:41 PM   PM User | #6
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
Most people would install an enclosed server on their home computer. Programs like XAMPP are geared especially for this need. This is better because it allows testing in all browsers.
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 11-12-2008, 08:53 PM   PM User | #7
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
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.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 11-12-2008, 10:43 PM   PM User | #8
bowser1111
Regular Coder

 
Join Date: May 2006
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
bowser1111 is an unknown quantity at this point
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!
bowser1111 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 11:31 AM.


Advertisement
Log in to turn off these ads.