Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts

    (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

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    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

  • #3
    Regular Coder
    Join Date
    May 2006
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Really? It seems like quite a common problem...


    ..and what's virtual host?

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    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.

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

    regards

  • #5
    Regular Coder
    Join Date
    May 2006
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...

  • #6
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    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.

  • #7
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #8
    Regular Coder
    Join Date
    May 2006
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •