FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » how to create (open) a dialog box
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to create (open) a dialog box [message #175157 is a reply to message #175156] Wed, 17 August 2011 20:50 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <8880046(dot)SEqChMirdb(at)PointedEars(dot)de>,
Thomas 'PointedEars' Lahn <PointedEars(at)web(dot)de> wrote:

> Tim Streater wrote:
>
>> Thomas 'PointedEars' Lahn <PointedEars(at)web(dot)de> wrote:
>>> Tim Streater wrote:
>>>> sheldonlg <sheldonlg(at)thevillages(dot)net> wrote:
>>>> > Wouldn't you use onsubmit only if you are submitting the entire page?
>>>> > The onclick allows you to confirm the deletion, send off an AJAX
>>>> > request, and still stay on the page.
>>>>
>>>> Yes. In my app I never submit any forms at all. Everything happens via
>>>> onclick events and ajax.
>>> IOW, your app cannot be used without client-side scripting, as "ajax"
>>> requires that. With few exceptions, I would consider that bad software
>>> design.
>>
>> So what should I replace my 15000 lines of javaScript with then? Magic?
>
> You should rewrite your application so that it works with and without
> client-side scripting.

No I don't. This app requires JavaScript to be enabled in order to run.
Y'know, like most applications have a minimum configuration requirement?
Well this is one of those.

> That design approach is called graceful degradation.

So apps should be designed so they still run if someone removes the
processor from the computer? Were you always this mad?

> It is not hard to do (see my example) if you start from the premise that
> client-side scripting is not available, instead of the opposite. And 15000
> LOCs is probably too much client-side script code. You might want to ask
> questions about parts of your code where it is on-topic.

I don't need to ask any questions at this time about my code, you rude
bastard. I expect it could be done with little or no JavaScript, but it
would be piss-poor experience for the user.

Now fuck off and take your shitty useless advice with you.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: xml search using javascript
Next Topic: Freelance PHP Developer
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 10:30:32 GMT 2024

Total time taken to generate the page: 0.04077 seconds