Discussion on:
View:
Show:
Firefox has an excellent debugger, available as an extension, called Venkman.
do what has been recommended for two years now by all security professionals.. DON'T USE JAVASCRIPT!!
or any other clientside scripting.
then you don't have to debug the crap.
or any other clientside scripting.
then you don't have to debug the crap.
...if used judiciously client-sided scripts can save quite a few round trips to the Web server.
broken security on the clientside machine and larger files to be transferred.
a 3 kb static file or a 24 kb clientside scripted file to check the contents of the form.. if it doesn't require any alteration cause the form was filled out right, then you used 5 times more data transfer than required. if it doesn't require 6 full cycles of round trip you are using more data transfer than required.
no-one makes 6 mistakes in a form.
a 3 kb static file or a 24 kb clientside scripted file to check the contents of the form.. if it doesn't require any alteration cause the form was filled out right, then you used 5 times more data transfer than required. if it doesn't require 6 full cycles of round trip you are using more data transfer than required.
no-one makes 6 mistakes in a form.
...did'nt I say that 
If the page has few controls on it that gets enabled/disabled based on other controls on the same page. For example, a radio button enabling a text box or bunch of check boxes, do you want a round trip to just enable them? Or would a client-side script solve the issue simply? And the size of the file/code is not huge.
You can point one extreme case, and I can point a case on the other extreme. Like in all good design and programming it comes down to tradeoffs.
If the page has few controls on it that gets enabled/disabled based on other controls on the same page. For example, a radio button enabling a text box or bunch of check boxes, do you want a round trip to just enable them? Or would a client-side script solve the issue simply? And the size of the file/code is not huge.
You can point one extreme case, and I can point a case on the other extreme. Like in all good design and programming it comes down to tradeoffs.
only 6 errors? oh, I've had a few days when nothing was RIGHT. (like just before I was put in the Hosp. for a triple by-pass)
if that "functionality" is required for your website, then you lose the sale.
one strike, you're out on this, I don't enable any clientside scripting, ever.
one strike, you're out on this, I don't enable any clientside scripting, ever.
I have developed client-server applications (windows applications). I never needed any scripts. I did not have to use browsers too.
But in Web development, unfortunately it is not the case. Some of the functionality can be provided better (in terms of performance and usability) by scripts.
Companies/Vendors are providing web versions of their products for intranet uses. I have seen so-slow applications. Wish they just move it back to non-web based applications.
But in Web development, unfortunately it is not the case. Some of the functionality can be provided better (in terms of performance and usability) by scripts.
Companies/Vendors are providing web versions of their products for intranet uses. I have seen so-slow applications. Wish they just move it back to non-web based applications.
No client-side scripting at all? I guess Google, Amazon and AJAX got it all wrong then? Nope, I don't think they did. 100% centric models went out with 3280 terminals.
google's services other than search, I have no use for them, so it doesn't bother me that they don't run.
Amazon? I buy book in local shops, not online, so I don't care if they require the THEFT that clientside scripting is.
you seem to think consumerism is the only was to live, it is the stupidest way to live, unless you want to kill all life on the planet.
Amazon? I buy book in local shops, not online, so I don't care if they require the THEFT that clientside scripting is.
you seem to think consumerism is the only was to live, it is the stupidest way to live, unless you want to kill all life on the planet.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































