Search DominoPower's 11,437 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
INTERNET TUTORIAL
Getting started with JavaScript development in Domino
By Tony Patton

In many ways, JavaScript has evolved into the de facto standard for programming in Web clients. Microsoft has introduced VBScript and Jscript, but JavaScript is the only scripting language supported by the major browsers such as Internet Explorer, Navigator/Communicator, and even the lesser known, but quite impressive Opera. JavaScript can be used to accomplish tasks within the browser in the same way that LotusScript does in the Lotus Notes client.

"Domino 5.0 includes native support for JavaScript. Finally the same code you developed for your Web-based clients can be interpreted by the R5 client."

What it is
Many tout JavaScript as a scripting language, but I just don't like the sound of that. It is a programming language and that's that. Now, many non-programmers do take advantage of the numerous Web sites that offer code snippets to achieve desired effects (see end of article for sites). But it has all the control constructs and elements of a "real" programming language, and so, therefore, it is.

JavaScript can be used to control both the browser and browser content appearance. In addition, it can be used to interact with the user, browser content, cookies, and Java applets.

What it isn't
JavaScript is not a derivative or variation of Java, they are completely unrelated. [When Netscape defined JavaScript, they just snarfed the "java" term because it seemed like good marketing. -- DG] Java and JavaScript do have some similarities in syntax, and they can be used to together to build powerful applications and Web sites. JavaScript is not for non-programmers, it requires programming skills to be used effectively. But JavaScript is more of a "scripting language" while Java is more of a traditional language. The boundaries of those are quite blurred since scripting languages on powerful processors can often do much of what you might have previously used a "hard core" language to accomplish previously.

JavaScript in Domino 4.6
Developing an application to be used by both Notes and Web clients in Release 4.6 was a nightmare that entailed double the amount of work. Features had to be built on the form for the Notes client as well as the Web client. The Notes client supported LotusScript, but the browser didn't -- it supported JavaScript only. Hide-When formulas are a developers best friend when working in this environment. Thankfully, Lotus finally shipped Domino R5 earlier this year.

JavaScript in Domino 5.0
Domino 5.0 includes native support for JavaScript. That's right, finally the same code you developed for your Web-based clients can be interpreted by the R5 client. JavaScript is a now a viable option (along with Java and LotusScript) when choosing your scripting language.


1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Internet Technologies > JavaScript (13 articles)
   Sorting your Domino views with JavaScript
   Give your Domino views life with DHTML
   Using dynamically generated HTML to thwart spam email address harvesting
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Home > Lotus Technologies > Older Releases > R5 (19 articles)
   More archive fun
   A Notes release in Dilbert-land
   Tips for being more productive with Notes R5 mail
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
Adding Quick Highlighter support to IBM Lotus Notes Domino Wiki, Weblog, or Webpage
Remember Young Admins...there are 2 files
WebSphere Portal 6.1.0.2 and Lotus Domino 8.5
The CKEditor - with Domino
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login