![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||||||||
| |||||||||
|
|
Thomas 'PointedEars' Lahn wrote: Peter Michaux wrote: Thomas 'PointedEars' Lahn wrote: It has become quite clear over my time reading comp.lang.javascript that you believe you know the right way to do things At least I can *justify* my design decisions. As can I. But you do not. Instead you are arguing with nebulous business constraints. If you cannot clearly see that business constraints play a role then suppose you were charged with the task of writing interactive video games for the web. The business partners want these to be usable by people with a relatively low barrier. That is, no Flash or Sliverlight or other browser plugins |
|
You are allowed to assume support for HTML, images, cookies, CSS and JavaScript because these are on by default in most browsers. |
|
You must support IE6+, FF2+, O9+, S3+. |
|
How would you do that so it degrades gracefully without JavaScript support? |
|
Just more hot smoke I am therefore going to ignore. If you named *your* business constraints once, one could at least try to evaluate your design decision. You are ducking the issue. No. You are, hiding behind names when it is high time to put your money on the table. I just gave you a realistic set of constraints. What more do you want? |
|
I am not trying to suggest depending on JavaScript is good in many situations. I am simply trying to determine if you agree that there are some situations where a dependency on JavaScript may be either necessary or acceptable. Knowing me to suggest frequently to use scripting to generate specific ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ elements that only work *with* client-side scripting, however to try to [a]void ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ these, you could have known that already: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [...] Regarding your approach this means: It is OK if you use client-side scripting and XHR to fill your document; it is not OK if your document remains empty if one of them is not sufficiently supported. As there is an alternative, conventional way to transport the information from the server to the client. So it seems you agree that there are at least some situations that require JavaScript. |
|
It also seems that you do not feature test all host or native objects you use. That was made clear in late 2007. |
|
We also know that you are serving XHTML as HTML. |
|
Unfortunately you continue to berate others for similar types of activities. [...] |
#22
| |||
| |||
|
|
Peter Michaux wrote: I am not trying to suggest depending on JavaScript is good in many situations. I am simply trying to determine if you agree that there are some situations where a dependency on JavaScript may be either necessary or acceptable. Regarding your approach this means: It is OK if you use client-side scripting and XHR to fill your document; it is not OK if your document remains empty if one of them is not sufficiently supported. As there is an alternative, conventional way to transport the information from the server to the client. |
#23
| |||
| |||
|
|
Thomas 'PointedEars' Lahn a écrit : Peter Michaux wrote: I am not trying to suggest depending on JavaScript is good in many situations. I am simply trying to determine if you agree that there are some situations where a dependency on JavaScript may be either necessary or acceptable. Regarding your approach this means: It is OK if you use client-side scripting and XHR to fill your document; it is not OK if your document remains empty if one of them is not sufficiently supported. As there is an alternative, conventional way to transport the information from the server to the client. Are you, both, talking about a static HTML document or a dynamic web application ? |
#24
| |||
| |||
|
|
Peter Michaux wrote: Unfortunately you continue to berate others for similar types of activities. [...] I am not going to comment on this new ad-hominem attack-rant of yours. It is a pity that you deem it necessary to resort to such things in order to back up your argumentation. |
#25
| |||
| |||
|
|
Are there any hidden advantages or disadvantages I may be aware of? |
#26
| |||
| |||
|
|
VK wrote: On Jun 1, 5:31 pm, Dan Rumney <danrum... (AT) warpmail (DOT) net> wrote: VK, PointedEars, Please don't hijack this thread to bicker about accessibility. IMHO it is not hijacking but branching on a sub-topic within the same main topic. But I have no problem with shifting to a new topic like "Javascript and accessibility" if more on the sub-topic will be posted. Then may I suggest that you take it to a separate thread rather than confuse this one. I shall be pleased to join you there and comment on what I fear are your barking mad opinions about the W3C. Do you have some sort of personal gripe? |
#27
| |||
| |||
|
|
Are there any hidden advantages or disadvantages I may be aware of? After some consideration and experimentation, one thing did occur to me. If a webpage is created on the client with multiple requests back to the server for content, then that webpage can't be saved for later offline viewing. |
#28
| |||
| |||
|
|
Dan Rumney wrote: Are there any hidden advantages or disadvantages I may be aware of? After some consideration and experimentation, one thing did occur to me. If a webpage is created on the client with multiple requests back to the server for content, then that webpage can't be saved for later offline viewing. Yes, a snaphot of it can be saved. However, the application needs to provide means to generate a static document from the dynamically generated one. A document tree serialization may be used to create it within another container (e.g. a popup window); the proprietary XMLSerializer(), `outerHTML' and `innerHTML' features may be used for this. |
#29
| |||
| |||
|
|
In comp.lang.javascript message <48445DB3.2050... (AT) PointedEars (DOT) de>, Mon, 2 Jun 2008 22:53:07, Thomas 'PointedEars' Lahn <PointedE... (AT) web (DOT) de posted: Peter Michaux wrote: Unfortunately you continue to berate others for similar types of activities. [...] I am not going to comment on this new ad-hominem attack-rant of yours. It is a pity that you deem it necessary to resort to such things in order to back up your argumentation. Don't misuse language. We do not use the fact that you are an obnoxious hectoring bully as an argument against the technical validity of what you say about JavaScript. Instead, we point out the unreasonable and anti-social nature of your character, which is perfectly obvious of itself to all bar you. If you were to get the appropriate psychiatric treatment, and if it were to prove permanently successful, then you might become a valued member of society. As it is, one can only wonder whether there are still intact logs in Doorn. -- (c) John Stockton, nr London, UK. ?... (AT) merlyn (DOT) demon.co.uk Turnpike v6.05 MIME. Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links. Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036) Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036) |
#30
| |||
| |||
|
|
You are ducking the issue. For the purpose of this discussion these are my business constraints. This is a realistic, possible situation in which a programmer may find himself. |
![]() |
| Thread Tools | |
| Display Modes | |
| |