In article <Xns9D6C6B9294340arbpenyahoocom@81.169.183.62>,
Adrienne Boswell <> wrote:
> Gazing into my crystal ball I observed Tim Streater
> <> writing in
> news:timstreater-:
>
> > In article <hrjtci$hh8$>,
> > "Jonathan N. Little" <> wrote:
> >
> >> Tim Streater wrote:
> >>
> >> > All Levels Navigational Menu (http://www.dynamicdrive.com)
> >> >
> >> > because I wanted multi-level menus (but without being constrained
> >> > to some maximum depth), and the ability to construct some menus on
> >> > the fly with JavaScript.
> >> >
> >>
> >> That is such a *bad idea*, yes convenient but
> >>
> >> disabled JavaScript==no navigation
> >>
> >> Far better if you want flexible dynamically created|maintained menus
> >> use server-side scripting that is not dependent on the client.
> >
> > Why would I disable javascript in my application? I have 13k lines of
> > js in my app and 6k lines of php. Next thing I'll do is look into
> > whether or not I can use PackageMaker to build a .pkg so that
> > Installer can put the code in the right place, check that the
> > appropriate system components are in place, and make some changes to
> > various files so that some features work.
> >
> > I view your notion that "JavaScript might be disabled" as on a par
> > with, "Well, that's a nice executable you've made, but suppose the
> > user has no operating system installed, eh? Didn't think of that one,
> > did you?".
>
> Your best friend, Google, does not have javascript enabled, and thus
> cannot access javascript navigation.
>
> >
> > Client-side and server-side are both on the same machine, and all
> > appropriate components have to be present for the application to work.
> >
>
> That makes absolutely no sense. What you have on your server is not on
> my client, and whatever client side script you might be serving me, I
> can use my browser to override or disable client side scripting
> altogether.
Yes it does. If you were to use my app then server side and client side
would both reside on your machine - assuming you have a Mac running
10.6. I don't have access to, and won't have access to, any other
platform. The components I need (SQLite, PHP5, Apache, browser with
JavaScript) are all supplied. The JavaScript uses ajax to get data and
assumes all the php scripts are on localhost.
Of course you could then disable JavaScript. Equally I could cd to / and
rm some random set of files from there. Hmm, mach_kernel might be a good
place to start. But why would I bother?
Trouble is you have just assumed that any visitor here is dealing with
the standard browser-on-my-machine-getting-content-from-remote-server
scenario. That may be true for 99% of visitors but not in my case.
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689