Validating Forms with JavaScript
JavaScript is not a true security measure, but rather an added level of security and convenience for your users. Because JavaScript is a client-side technology (whereas PHP is server-side), incorporating it into your web pages can save users the hassle of having to submit a form to the Web server, have it checked by PHP, and then have the data sent back when there are errors. Instead, you can use JavaScript to immediately run through some tests and then, if the data passes, send the form information along to PHP. However, JavaScript does this of the cost of a larger file size for the user to initially download. Directory:
> Articles > Application Development
Date: 2002-05-30
|
Java Native Interface
Ok, so now you finally admitted to yourself that you’ve got a problem! You have all this code that has been doing its job for years now but it really needs a bit of a makeover. What doesn’t help your cause is that it has come to your boss’s attention that "Java is the way to go!" and he or she is now eager to harness the powers of this mystical thing they call "Java". This situation may seem a little far-fetched but a lot of developers have found themselves facing the problem of dealing with "legacy code" or code that has been written in a style or language that is now considered outdated. Directory:
> Articles > Application Development
Date: 2002-05-28
|
|
|