|
Hans, Relevant portions repeated: > Regarding JavaScript, is it ever really necessary? Necessary? Probably not, but if you subscribe to the theory of using "the best tool for the job", then JavaScript is the choice for client-side validation. Regardless of availability of high bandwidth internet access, server side data validation can be a waste of bandwidth, web server resources, helping to turn the WWW into the World Wide Wait. Should JavaScript be the only data validation tool used? Absolutely not, namely for the cases where JavaScript is turned off. > My main point is that when designing a web page, you > should never make any assumptions about the capabilities > of the browser, including support for cookies, Java, and > JavaScript. True, but many web developers choose to target the "most common" denominator as the audience. That is, the vast majority of user's allow cookies and JavaScript. Now, if your Amazon, or the biggest widgets company in the world, you cannot afford to assume anything. That means, writing to accommodate all the major browser versions, as well as the alternative browsers. > (Actually, one of the reasons I have JavaScript disabled > on my browser here at work is that I often get error > messages popping up!) But all that proves is that there is alot of junk code out there. The same could be said about RPG. > Perhaps the ideal web application model on the AS/400 uses a > combination of different languages - RPG for the DB access, > and server-side Java for the web page construction. With an added benefit - the Java server side code will run on other platforms. Dave +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.