IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Modification effort?
Is the main problem that they don't want to modify the application to handle multiple browsers? Of so, then why would a *total* rewrite be an option?

It seems to me that a *partial* rewrite would be less painful. Seperate the parts of the application that would run on each browser type.

I have before put in IF statements like:

....
if netScape then
....doNetscapeSpecificStuff.....
else
....doMirosoftSpecificStuff....
end if
....

(There is an HTTP variable that returns the browser brand and version.)

If you want, you can even try to OOP-atize it so that you subclass for each browser "type" such that you only have to override browser-specific methods. But you may find that the granularity of the differences is often smaller than method boundaries. (The ol' override-one-third-of-a-method delema.)


________________
oop.ismad.com
Expand Edited by tablizer Jan. 25, 2002, 04:33:02 PM EST
New IF statements not even necessary
For the most part, code that runs in javascript in Mozilla will run in IE. Not so the other way, unfortunately, and that is why there is a problem.

But yes, I don't think they're going to get away with a complete rewrite just for the sake of avoiding Netscape. :-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
     Call for opinions: re: IE vs. Netscape vs. Citrix vs. .NET - (admin) - (39)
         Just to be obvious - (drewk) - (1)
             That will be one of the points. - (admin)
         This is up my alley. - (nking) - (3)
             Re: This is up my alley. - (admin) - (1)
                 Alley cats - (nking)
             Another ? on licensing - (admin)
         Does it run under Mozilla? - (ben_tilly) - (1)
             No. - (admin)
         Modification effort? - (tablizer) - (1)
             IF statements not even necessary - (admin)
         Take a look at Ximian's Mono... - (kmself) - (1)
             Very doubtful. - (admin)
         Is IE still on the clients' machines? - (altmann) - (3)
             Unknown. - (admin) - (2)
                 IE on client machines - (nking) - (1)
                     The idea is to avoid a complete rewrite... -NT - (admin)
         My $0.02. - (Another Scott) - (9)
             Nicely put, or, the dentist says "this won't hurt a bit" -NT - (wharris2)
             Netscape 6.02... - (admin) - (7)
                 Yr facing a psycholgcl. issue not really a technical one - (tablizer) - (1)
                     This isn't a PHB thing. - (admin)
                 Web Compass - (nking) - (1)
                     It's all javascript, I've come to find out -NT - (admin)
                 I'd agree with your solution - (tonytib) - (2)
                     MS oriented IT people - (nking)
                     I was wrong about the vbscript - (admin)
         Flat out refusal to answer... - (folkert) - (1)
             Refresh my memory? -NT - (admin)
         lets look at the ongoing maintenance costs - (boxley) - (10)
             You are correct - (nking) - (9)
                 Cynical view - (wharris2) - (8)
                     If you want to keep that view... - (ben_tilly) - (4)
                         yes, well I'll charge him even more - (cforde) - (3)
                             At this rate... - (ben_tilly)
                             Good for him I'll charge less - (drewk) - (1)
                                 Too bad for you... - (ben_tilly)
                     That is why Open Source doesn't catch on with the suits - (nking) - (2)
                         Heh - (n3jja) - (1)
                             Problem solving - (nking)

Fun is fun to have.
317 ms