will i dont hardcode any thing since i deal with url as variables
taken from db , so that i dont care about hardcode the domain .

On Sep 12, 7:55 am, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2008 at 11:21 PM, zaher ghaibeh <[EMAIL PROTECTED]> wrote:
>
> > can i ask you where you got this rule from ?
>
> It's not really a rule, just a good practice so that you can move your
> code from server to server and your code will work without alteration.
> If you always hardcode the domain then you'll have branch your code
> all over the place for production vs. dev/test.
>
> -justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to