Filter by products, topics, and types of content

(419 Products)

(752 Topics)

(20 Industries)

(15 Types)

1 - 100 of 335 results | Next
Show Summaries | Hide Summaries
View Results
Title none Type none Date none
JavaScript EE, Part 3: Use Java scripting API with JSP
In the previous two parts of this series, you've seen how to run JavaScript files on the server and how to call remote JavaScript functions with Ajax. This article explains how to use server-side JavaScript code with the JavaServer Pages (JSP) technology and how to build Asynchronous JavaScript and XML (Ajax) user interfaces that remain functional when JavaScript is disabled in the Web browser. The sample code consists of a small JSP tag library that you can reuse in your own applications as well as a dynamic Web form, which is generated with a piece of JavaScript code that can be executed on the Web server or in the Web browser.
Also available in: Chinese   Japanese  
Articles 02 Jun 2009
Get started with the JavaScript language, Part 2: Variables
Continue your JavaScript language journey with this interactive tutorial about variables. Variables store data that can later be retrieved or updated with new data.
Also available in: Japanese  
Articles 10 May 2017
Get started with the JavaScript language, Part 1: The basics
Want a foundational understanding of the JavaScript language? This tutorial series series gets you started by covering basic JavaScript concepts for beginners, and provides code examples to show how it's all done.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 08 May 2017
Get started with the JavaScript language, Part 7: Loops
Continuing on the foundational understanding of the JavaScript language, this article explores loops in the JavaScript language and how you can use them.
Also available in: Japanese  
Articles 10 May 2017
Get started with the JavaScript language, Part 3: Operators
Continuing on the foundational understanding of the JavaScript language, this article explores all of the available operators in the JavaScript language and how you can use them. Code examples to show how it's all done are included as are places to practice what you're learning.
Also available in: Japanese  
Articles 10 May 2017
Get started with the JavaScript language, Part 4: Arrays
Continuing on the foundational understanding of the JavaScript language, this article explores all of the available operators in the JavaScript language and how you can use them. Code examples to show how it's all done are included as are places to practice what you're learning.
Also available in: Japanese  
Articles 10 May 2017
Get started with the JavaScript language, Part 6: Functions
Continuing on the foundational understanding of the JavaScript language, this article explores functions in the JavaScript language and how you can use them. Code examples to show how it's all done are included as are places to practice what you're learning.
Also available in: Japanese  
Articles 10 May 2017
Get started with the JavaScript language, Part 5: Conditional statements
Continuing on the foundational understanding of the JavaScript language, this article explores conditional statements in the JavaScript language and how you can use them. Code examples to show how it's all done are included as are places to practice what you're learning.
Also available in: Japanese  
Articles 10 May 2017
JavaScript EE, Part 2: Call remote JavaScript functions with Ajax
In Part 1 of this series, you learned how to use the javax.script API in Asynchronous JavaScript and XML (Ajax) and Java Platform, Enterprise Edition (Java EE) applications and how to build a Java servlet that lets you run server-side JavaScript files. This article shows how to implement a Remote Procedure Call (RPC) mechanism for Web applications that use JavaScript on both servers and clients. You'll also learn several interesting techniques, such as implementing Java interfaces with JavaScript, building an XMLHttpRequest wrapper, making Ajax debugging easier, and using JSP tag files to generate JavaScript code.
Also available in: Chinese   Russian   Japanese  
Articles 31 Mar 2009
Finite state machines in JavaScript, Part 1: Design a widget
Finite state machines were long used as an organizing principle for designing and implementing complex behavior in event-driven programs, such as network adapters and compilers. Now, programmable Web browsers open a new event-driven environment to a new generation of applications. Browser-based applications, popularized by Ajax, are becoming more complex. Designers and implementers benefit from the discipline and structure that finite state machines offer. In this article you, learn how to use a finite state machine to design complex behavior for a simple Web widget -- an animated tooltip that fades into and out of view.
Also available in: Russian   Japanese  
Articles 09 Jan 2007
The busy JavaScript developer's guide to ECMAScript 6, Part 4: New objects and types in the standard library
Get started with a handful of worthy additions to the standard library new objects and types that, over time, could revolutionize the way you code in JavaScript.
Also available in: Chinese   Japanese  
Articles 03 May 2017
The busy JavaScript developer's guide to ECMAScript 6, Part 2: Functional enhancements
Some of the new features you'll find in ECMAScript 6 are associated with functional programming, including the arrow and generator functions. Get started with using these and other functional elements in your JavaScript programs.
Also available in: Chinese   Japanese  
Articles 03 May 2017
The busy JavaScript developer's guide to ECMAScript 6, Part 3: Classes in JavaScript
Love it or hate it, JavaScript has long been a language without classesobject-based but not object-oriented. Find out how ECMAScript 6 changes all that, and what it means for prototypical inheritance in your JavaScript programs.
Also available in: Chinese   Japanese  
Articles 03 May 2017
Finite state machines in JavaScript, Part 2: Implement a widget
Part 1 of this series illustrated how to use a finite state machine to methodically design complex behavior for a simple Web widget -- an animated tooltip that fades into and out of view. In this article, you learn to implement that behavior in JavaScript and take full advantage of its distinctive language features, including associative arrays and function closures. The resulting code is compact and concise, its logic is transparent, and its animation performs smoothly even on heavily loaded processors. Part 3 will cover the practical issues of making the implementation work in all popular Web browsers.
Also available in: Russian   Japanese  
Articles 13 Feb 2007
The busy JavaScript developer's guide to LoopBack, Part 2: Models
In Part 2 of this series on the LoopBack framework, learn how to define and use models and data sources as you walk through the development of a basic web API.
Also available in: Chinese   Japanese  
Articles 24 Apr 2017
The busy JavaScript developer's guide to LoopBack, Part 1: Hello, World!
LoopBack is one of many open source Node.js frameworks that have recently rebooted the possibilities for server-side JavaScript development. Set up LoopBack in your development environment, then write your first LoopBack API using the command line and IBM API Connect, an API lifecycle management platform.
Also available in: Chinese   Japanese  
Articles 07 Mar 2017
JavaScript EE, Part 1: Run JavaScript files on the server side
Combine JavaScript with Java code on the server to get the freedom to use the same JavaScript routines on both servers and clients. In addition, the techniques presented throughout this series will allow you to maintain a single code base for both Ajax and non-Ajax clients. Because much of the server-side code would still be written in the Java language, you'll find it necessary to expose the Java Platform, Enterprise Edition (Java EE) features to JavaScript. In this series, learn how to run JavaScript files on the server side, call remote JavaScript functions with Ajax, and use the Java Scripting API with the JavaServer Pages (JSP) technology.
Also available in: Chinese   Russian   Japanese  
Articles 16 Dec 2008
Finite state machines in JavaScript, Part 3: Test the widget
In this series you learn how to use a finite state machine to methodically design complex behavior for a simple Web widget -- an animated tooltip that fades into and out of view. The resulting code is compact and concise, its logic is transparent, and its animation performs smoothly even on heavily loaded processors. In this article, learn how to deal with practical issues to make the implementation work in all popular Web browsers, and wrap things up. Part 1 showed how to use a finite state machine to methodically design complex behavior for a simple Web widget. Part 2 described how to implement that behavior in JavaScript, and take full advantage of its distinctive language features, including associative arrays and function closures.
Also available in: Russian  
Articles 13 Mar 2007
Tip: Call JavaScript from an XSLT style sheet
XSLT style sheets allow you a great deal of freedom in manipulating the data in your original XML document. There are times, however, when you really want to do actual programming, and the XSLT recommendation is designed to allow that through the use of extensions. These extensions take the form of functions and elements and can be written in any language the processor supports. One of your options is to embed JavaScript within the style sheet, either directly or as an external file.
Also available in: Japanese  
Articles 01 Apr 2002
JavaScript floating objects
Have you ever seen content floating in the corner of your browser? Scroll the page, resize the window, and it still appears in that corner. This tutorial teaches you to create cross-browser floating content on a page, and even to reposition it.
Tutorial 20 Dec 2001
A guide to writing unobtrusive JavaScript and Ajax
Unobtrusive JavaScript is the practice of separating the JavaScript, CSS, and HTML elements in your web applications. By keeping your applications organized in this way, it's easier to maintain them and to ensure that your applications behave consistently across various platforms and web browsers. In this article, learn how to employ techniques to reap the benefits of developing web applications in an unobtrusive manner.
Also available in: Chinese   Japanese  
Articles 02 Nov 2010
Find and resolve browser memory leaks caused by JavaScript and Dojo
If you're developing Web 2.0 applications that heavily use JavaScript and Ajax technologies, it is likely you will encounter browser memory leaks. The issue can be significant if you have a one-page application, or if a page handles a lot of UI operations. In this article, learn how to detect and correct memory leaks with the sIEve tool. Practical examples of memory leak issues, and the solutions, are included.
Also available in: Chinese   Japanese  
Articles 05 Apr 2011
E4X: JavaScript on steroids
Learn to use ECMAScript (aka JavaScript) for XML (E4X), and discover the capabilities of the E4X enhancement, which was designed to facilitate simple and easy parsing, calculating, editing, and related activities on XML data.
Also available in: Chinese   Japanese  
Articles 15 Jul 2008
Understanding built-in objects in JavaScript
Gain a foundational understanding of the intrinsic objects available in the JavaScript language.
Also available in: Chinese   Russian   Japanese  
Articles 16 Aug 2011
Traverse the Document Object Model with JavaScript
Web developers are, of course, familiar with JavaScript and the Document Object Model (DOM). While DOM provides a neutral interface for abstracting XML/HTML documents, JavaScript provides an implementation of this interface that lets you interact with web pages. In this article, explore the JavaScript bindings of DOM and learn how to manipulate a web document for peak performance. An example application illustrates DOM methods and properties, and how to attach handlers to DOM events.
Also available in: Chinese   Russian   Japanese  
Articles 12 Jul 2011
Setting font properties with JavaScript
When the JavaScript in this tip is called in the onLoad event of a form, it sets the font and size of all text on a document to preferred settings. (This script works only in Internet Explorer.)
Articles 02 Jan 2003
Build an easy JavaScript data access layer
Work through the entire process of building a database access wrapper in PHP for the back end and connecting it to a JavaScript access wrapper at the user interface layer in this article.
Also available in: Chinese   Japanese  
Articles 15 Mar 2011
Domino and JavaScript: Dynamic Partners (Part 3)
Part 3 of 3: This article explains how to create interactive dialog boxes for Web applications using Notes forms, pass-thru HTML and JavaScript. It uses the functionality and look of the native Domino Public Address Book for the Web as an example.
Articles 05 Jan 1998
IBM Cognos Proven Practices: IBM Cognos BI – Auto Submit a Tree Prompt Using JavaScript
A brief video illustrating how to automatically submit a single select tree prompt selection using JavaScript.
Articles 22 Jun 2011
Memory leak patterns in JavaScript
Plugging memory leaks in JavaScript is easy enough when you know what causes them. In this article authors Kiran Sundar and Abhijeet Bhattacharya walk you through the basics of circular references in JavaScript and explain why they can cause problems in certain browsers, especially when combined with closures. After seeing some of the common memory leak patterns you should watch out for, you'll learn a variety of easy ways to work around them.
Articles 24 Apr 2007
Load external JavaScript libraries on demand with Dojo 1.5
Dojo is an excellent library for creating Rich Internet Applications. However, complex Web 2.0 applications often require more than just one JavaScript library, and loading numerous libraries on page load can introduce performance overhead. In this article, learn how to use Dojo's dojo.io.script method for asynchronous, on-demand loading of JavaScript libraries. Example code helps you concisely "wrap" loading of external JavaScript libraries.
Also available in: Russian   Japanese   Spanish  
Articles 27 Mar 2012
Visualize in-browser performance data with R and JavaScript using the W3C performance object
When looking at web performance metrics, the ideal numbers to focus on are real user metrics harvested from your own users. The most popular method is to consume your machine data with a tool such as Splunk, which enables you to analyze and visualize your access and error logs. With these tools you can glean some aspects of performance data, such as file I/O times for reading assets and access times of API requests. However, you are still left to extrapolate client-side performance data, put beacon calls at certain high-level checkpoints, or just run synthetic testing with tools like WebPagetest. Now, the W3C has standardized an API that makes it possible to capture and report out in-browser performance data by using the Performance object, an object native to the Windows object in all modern browsers.
Also available in: Chinese   Russian   Spanish  
Articles 11 Mar 2014
Functional JavaScript with CoffeeScript and Node
Master web application complexity with the functional scripting superstack of CoffeeScript, Node, and Underscore.js.
Also available in: Chinese   Russian   Japanese  
Articles 21 Feb 2012
Creating advanced input forms using JSF and JavaScript with IBM Rational Application Developer V6
Creating complex validation on input forms no longer needs to be difficult, and no longer requires detailed knowledge of Java or the internals of JSF. With the release of Rational Application Developer V6, you can quickly and easily create forms involving complex validation using drag and drop.
Articles 05 Jan 2005
Maximizing JavaScript and Ajax performance
With Ajax and JavaScript becoming more prominent in modern web applications, it is becoming increasingly important to ensure that your JavaScript code and Ajax requests are finely tuned to provide optimal performance. In this article, learn the best practices for writing JavaScript code and performing Ajax requests. Learn how to measure the performance of your existing applications and how to identify common bottlenecks in your code. And finally, learn how to fix performance-related problems and how to use the various tools that are at your disposal when it comes to maximizing the speed of your application.
Also available in: Chinese   Russian   Japanese  
Articles 28 Sep 2010
Use jspm to harness the future of JavaScript modules
The jspm framework breaks new ground in JavaScript client-side dependency management. Find out how you can use future JavaScript (ECMAScript 6) language features now, thanks to jspm. Learn how jspm automates module resolution through registries such as npm and GitHub, and take a look at value-added tools that jspm includes.
Also available in: Chinese   Japanese  
Articles 09 Mar 2016
JavaScript and the Document Object Model
While the Document Object Model (DOM) is perhaps best known in its role as a foundation for working with XML, variations on the theme actually started in browsers with HTML. Now DOM has come full circle as newer browsers implement the W3C Document Object Model through client-side scripting, such as JavaScript. This article looks at the JavaScript approach to DOM and chronicles the building of a Web page to which the user can add notes and edit note content.
Articles 01 Jul 2002
Domino and JavaScript: Dynamic Partners (Part 2)
Part 2 of 3: This article explains how to do field validation with JavaScript, and covers topics including testing for browser type, JavaScript functions, input data types, retrieving field values, and cleaning up strings. Code examples are included.
Articles 01 Oct 1997
IBM Cognos Proven Practices: IBM Cognos BI - Restrict Tree Prompt Selection with JavaScript
A technique for report developers that wish to utilize a Tree Prompt but require that the value submitted be restricted to a designated level within a hierarchy.
Also available in: Chinese  
Articles 22 Dec 2010
Add interactive documentation to your JavaScript apps with Intro.js
Add easy-to-absorb, interactive user documentation to your JavaScript apps with Intro.js. Learn from a sample tour implementation how to demonstrate your application's features the modern way from within the app's UI.
Also available in: Chinese   Japanese   Portuguese  
Articles 09 Oct 2015
Domino and JavaScript: dynamic partners (Part 1)
Part 1 of 3: This article compares Java and JavaScript, looks at JavaScript as part of a new Webthink application model, and discusses some guidelines for when and where you might want to use JavaScript in your applications.
Articles 16 Jun 1997
Build a stylish image gallery using Lightbox 2 and JavaScript
The Web has increasingly become a medium for showing off art. From candid snapshots taken by an amateur photographer to professional art galleries, Web pages are primary vehicles for displaying images. But a beautiful image is hindered--or aided--by its frame. Using a simple JavaScript library, you can "frame" your online images beautifully and provide an intuitive user interface along the way.
Also available in: Chinese  
Articles 28 Oct 2008
Understand memory leaks in JavaScript applications
Garbage collection can be freeing. It lets us focus on application logic rather than memory management. However, garbage collection is not magic. Understanding how it works, and how it can be tricked into maintaining memory long after it should have been released, results in faster and more reliable applications. In this article, learn about a systematic approach for locating memory leaks in JavaScript applications, several common leaking patterns, and appropriate methods to address those leaks.
Also available in: Chinese   Japanese   Spanish  
Articles 06 Nov 2012
JSF 2 fu, Part 3: Event handling, JavaScript, and Ajax
JavaServer Faces (JSF) 2 Expert Group member David Geary wraps up his three-part series on JSF 2's new features. Find out how to use the framework's new event model and built-in support for Ajax to make your reusable components all the more powerful.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 14 Jul 2009
Get started with object-oriented JavaScript code
With the popularity of today's highly interactive websites, the JavaScript language is in high demand. Developers who truly want to write complex JavaScript code need to have a basic understanding of the different ways custom objects are built and how to use them. This article explains all the ways you can create a custom object using the JavaScript language and uses code examples throughout to show how you can use those objects in a real-world situation.
Also available in: Chinese   Russian   Japanese  
Articles 19 Apr 2011
Tools to unit test your JavaScript
Some developers may complain that JavaScript is difficult to test. With the current focus on the client side of web applications, however, unit testing JavaScript code is becoming essential. Now, you have tools to make sure your code is solid. In this article, learn about some of the most common tools for unit testing JavaScript: QUnit, YUI Test, and JSTestDriver. Code examples walk you through sample test cases.
Also available in: Chinese   Russian   Japanese  
Articles 10 Apr 2012
Java development 2.0: JavaScript for Java developers
Java developers have historically perceived JavaScript as a toy language, both too lightweight for real programming and too clunky to be of use as a scripting alternative. And yet JavaScript is still around, and it's the basis of exciting web technologies like GWT and Node.js. In this installment of Java development 2.0, Andrew Glover explains why JavaScript is an important tool for the modern Java developer. He then gets you started with the syntax you need to build first-class applications for today's web, including JavaScript variables, types, functions, and classes.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 26 Apr 2011
Compare JavaScript frameworks
Modern Web sites and Web applications tend to rely quite heavily on client-side JavaScript to provide rich interactivity, particularly through the advent of asynchronous HTTP requests that do not require page refreshes to return data or responses from a server-side script or database system. In this article, you will discover how JavaScript frameworks make it easier and faster to create highly interactive and responsive Web sites and Web applications.
Also available in: Chinese   Russian   Japanese  
Articles 02 Feb 2010
IBM Cognos Proven Practices: Using JavaScript to Pass Multiple Values to a Textbox Prompt within IBM Cognos 8 Report Studio
This technique uses JavaScript to allow a user to pass multiple values provided to an IBM Cognos 8 Report Studio textbox prompt.
Also available in: Chinese   Spanish  
Articles 11 Aug 2010
Use functional programming techniques to write elegant JavaScript
Functional, or declarative, programming is a very powerful programming method and is gaining popularity in the software industry. This article introduces some of the relevant functional programming concepts, and provides examples to use those concepts effectively. The author explains how to write elegant code with JavaScript(TM), which can import constructs and features from functional programming.
Also available in: Japanese  
Articles 13 Jun 2006
Practice: Creating objects with JavaScript
There are several methods for creating objects using JavaScript. These exercises teach you how to create objects using those methods as well as how to add properties and methods.
Also available in: Japanese  
Articles 01 Nov 2011
Build apps using Asynchronous JavaScript with XML (Ajax)
Ajax (Asynchronous JavaScript with XML) enables a dynamic, asynchronous Web experience without the need for page refreshes. In this tutorial, you learn to build Ajax-based Web applications -- complete with real time validation and without page refreshes -- by following the construction of a sample book order application.
Tutorial 15 Nov 2005
The IDE & more: JavaScript support in Designer R5
Ready to spice up your R5 applications with some JavaScript? Want to code your JavaScript directly within the new Domino Designer IDE? Write JavaScript that runs in both a Web browser and the Notes client? You can do all this with R5! Whether or not you've written any JavaScript in your Domino R4.6 applications, you'll be impressed by what you can do with JavaScript in R5, because R5 introduces broad support for JavaScript -- both for coding it in Domino Designer and running it in the Notes client.
Articles 01 Mar 1999
Use JavaScript closures efficiently
Understand the characteristics of JavaScript closures and their lifecycles so that you can prevent memory leaks in your Node.js applications.
Also available in: Chinese  
Tutorial 02 May 2016
Object-oriented design in JavaScript games
Much of JavaScript is procedurally based loops and gigantic if/else statements. In this article, learn about a smarter approach by using object-oriented design in JavaScript games. Get an overview of prototypal inheritance and basic object-oriented programming (OOP) with JavaScript. Learn how to gain more benefits from OOP in JavaScript by using a classical inheritance-based library. This article also reviews architectural design patterns that demonstrate how to write cleaner code with examples of a game loop, state machine, and event bubbling.
Also available in: Chinese   Russian   Japanese  
Articles 16 Oct 2012
Practice: Getting started with JavaScript
The JavaScript language includes basic constructs that are commonly used in any script you write. Get the hands-on practice you need to store and retrieve values, create logic, iterate arrays, and write functions -- all of which give you a foundation for writing custom code in JavaScript.
Also available in: Japanese  
Articles 01 Nov 2011
Meet the JavaScript Development Toolkit
The JavaScript Development Toolkit (JSDT) is an open source plug-in that brings robust JavaScript programming tools to the Eclipse platform. JSDT streamlines development, simplifies code, and increases productivity for pure JavaScript source files and JavaScript embedded in HTML.
Also available in: Japanese  
Articles 27 May 2008
Practice: JavaScript and the Document Object Model
Take your knowledge of JavaScript a bit further--into the DOM. Through the exercises in this practice, learn how to use JavaScript properties to traverse the DOM, targeting nodes, changing node values, and manipulating attributes.
Also available in: Japanese  
Articles 01 Nov 2011
Rational Functional Tester
Formerly known as Rational XDE Tester, Rational Functional Tester is an automated testing tool for functional and regression testing of Java and web applications. It can test applications built with Java EE, Java SE, HTML, DHTML, XML, JavaScript, and Java Applets.
Downloads 19 Dec 2003
Build an Ajax application with the Dojo Toolkit
The Dojo toolkit is a JavaScript library that makes the process of building large JavaScript-based Rich Internet Applications (RIAs) much simpler. With a wide range of features, from DOM querying and manipulation, Asynchronous JavaScript and XML (Ajax) request handling, excellent object-orientation support, and a full user interface widget library (Dijit), Dojo is an excellent library to use to build a dynamic and interactive web application. In this tutorial, learn about many of the concepts of Dojo and the Dijit widget library through the development of a fully featured sample application, a contact manager system. This application lets a user browse, create, edit, and remove contacts (and contact groups) from a MySQL database. PHP is used on the server side to communicate with the database, with Dojo and the Dijit component library providing a rich, Ajax-powered user interface. The final result is a powerful web application that you can use as a foundation for your own RIAs.
Also available in: Chinese   Japanese  
Tutorial 01 Mar 2011
Using Internet data in Android applications
Many of your Android applications will need to interact with Internet data, which comes in a variety of formats. In this article, build an Android application that works with two popular data formats -- XML and JavaScript Object Notation (JSON) -- as well as the more exotic protocol buffers format from Google. You'll learn about the performance and coding trade-offs associated with each format.
Also available in: Chinese   Japanese  
Articles 29 Jun 2010
Use Rational Team Concert to create calculated fields within a work item
IBM® Rational Team Concert™ can help software development teams store and organize information, including work plans, tasks, builds, tests and source code / other files. IBM® Rational Team Concert can also be customized to align with the processes and data gathering requirements of a project team. This article demonstrates how to add a custom attribute to a work item that performs some calculations (through JavaScript), based on the values of one or more attributes from the same work item.
Articles 27 Aug 2014
Improve your XSLT coding five ways
Whether you're a beginner with XSLT or a seasoned programmer, you'll surely find that these five tips from Benoit Marchal will improve your coding and give you new ideas. The handful of tips cover using CSS with XSL style sheets (including HTML entities), incorporating client-side JavaScript, working with multiple input documents, and using XSLT to generate style sheets automatically. The article includes sample code to adapt and reuse.
Also available in: Japanese  
Articles 01 Jan 2001
Data visualization, Part 2: Use D3 component layouts
In this two-article series, learn how to use Scalable Vector Graphics (SVG) with the open source D3 JavaScript library to create data visualizations. Shapes, colors, and layouts can be of great help in making business sense out of data volumes. This article demonstrates various ways to arrange graphical components to represent your data on a canvas, using both D3's and your own calculations.
Also available in: Chinese   Russian   Japanese  
Articles 15 Jul 2013
EcmaScript
EcmaScript, a collection of four Ecma standards (262, 290, 327, and 357), is a scripting language that, with the addition of XML extensions in ECMA-357, is XML native (and referred to as E4X). Based in part on JavaScript, EcmaScript has been used by many open standards for its browser host environment's client-side computation. Ecma is a membership organization, the European Computer Manufacturers Association.
Downloads 13 Dec 2004
AJAX techniques within a Tivoli Access Manager WebSEAL Environment
This article describes the challenges found when introducing Asynchronous JavaScript and XML (AJAX) programming techniques into an IBM Tivoli Access Manager (TAM) WebSEAL environment. It provides a brief review of WebSEAL technology and a brief introduction to AJAX methods. The considerations are outlined for AJAX developers when working with WebSEAL. The potential solutions to issues that can arise are supplied, along with listing best practices that will assists AJAX developers to succeed in a WebSEAL environment.
Articles 29 Apr 2008
Running Node.js with IBM HTTP Server for i
Node.js, the server-side JavaScript runtime platform, is now supported on IBM i. The event-driven, non-blocking I/O model supported by node.js is well suited to web application development. IBM® HTTP Server for i is a powerful Apache-based web server on IBM i. This article explains how to associate IBM HTTP Server for i with Node.js through a Node.js FastCGI add-on to create a powerful and secure web environment.
Also available in: Chinese  
Articles 14 Sep 2015
IBM DB2 for i: JSON Store Technology Preview
The JavaScript Object Notation (JSON) Store Technology Preview for IBM i allows the storage and retrieval of JSON documents in database tables. This article describes how to enable the JSON store on IBM DB2 for i. It also illustrates the use of the DB2 JSON command line and the DB2 JSON Java application programming interface (API) to store and retrieve JSON documents.
Articles 05 Jun 2015
Java theory and practice: The closures debate
Everyone has a favorite feature idea or two for adding to the Java language. With the open-sourcing of the Java platform and the rise in popularity of other languages for server-side applications (JavaScript and Ruby, to name two), the debate over the future of the Java language has never been more vigorous. Should the Java language embrace major new additions, such as closures? Or is that too much messing with a good thing? In this month's Java theory and practice, Brian Goetz reviews the concepts involved and provides details on the two competing closures proposals.
Also available in: Chinese  
Articles 24 Apr 2007
Use Apache Wink with the Jackson JSON processor
Apache Wink is fast becoming one of the de facto implementations of the JAX-RS 1.0 specification. The providers included with the standard Apache Wink distribution for JSON marshalling and unmarshalling, such as JSON.org and Jettison, have some problems with array representation and limited return types. Coding JAX-RS services and their client Asynchronous JavaScript and XML (Ajax) applications can be difficult. In this article, learn a method for configuring an existing Apache Wink-enabled Web application to use the Jackson JSON provider to solve some of the problems. An example, with sample code for a simple Jackson-enabled JAX-RS Web service, illustrates the advantages of this provider.
Also available in: Chinese   Japanese  
Articles 20 Apr 2010
Various client-server communication mechanisms in an Ajax-based web application
A key part of any Asynchronous JavaScript and XML (Ajax)-based web application is the communication layer between the client and the server. To implement this layer, you need to understand the various communication mechanisms that browsers provide, as well as each mechanism's pros and cons. In this article, learn to make the correct match between the specific communication needs of an application and the appropriate mechanism. Detailed examples show you how to create a communication layer that can meet these different client-server communication needs.
Also available in: Chinese   Russian   Japanese  
Articles 22 Jun 2010
Ajax and XML: Ajax for chat
Learn to build a chat system into your Web application with Asynchronous JavaScript + XML (Ajax) and PHP. Your customers can talk to you and to each other about the content of the site without having to download or install any special instant-messaging software.
Also available in: Japanese  
Articles 04 Dec 2007
Introduction to Pyjamas, Part 1: Exploit the synergy of GWT and Python
Pyjamas is a cool tool, or framework, for developing Asynchronous JavaScript and XML (Ajax) applications in Python. It's a versatile tool that you can use to write comprehensive applications without writing any JavaScript code. This series examines the myriad aspects of Pyjamas, and this first article explores Pyjamas's background and basic elements. Step through the process of building a sample application with Pyjamas using the article's examples.
Also available in: Chinese  
Articles 09 Mar 2010
IBM Business Analytics Proven Practices: Setting Dynamic Date Prompt Values within IBM Cognos 10.2 Report Studio
This document describes a technique to set dynamic default values for date prompts using a combination of prompt macros and JavaScript.
Articles 14 Nov 2012
Processing XML with jQuery
Did you know that you can use jQuery's fast and powerful DOM traversal and manipulation methods to process any XML file? This ability, combined with jQuery's ability to easily load XML files using Ajax, makes this JavaScript library a great choice for building dynamic, XML-based UI applications. In this tutorial, take a closer look at the specifics of this approach and explore its benefits and caveats. Along the way, you get an overview of DOM processing in the browser and discover how useful jQuery's methods can prove when you parse XML. The tutorial also outlines the basic steps in the development of a generic, browser-based live XML editor using the covered techniques.
Tutorial 01 Feb 2011
Comment lines by Erik Burckart: Every application needs communications
IBM WebSphere Application Server V7 Feature Pack for Communications Enabled Applications (CEA) can help easily add powerful communications capabilities to your applications. In many cases, integration starts simply with one line of HTML while importing the JavaScript and CSS. This article briefly describes the capabilities of this new feature pack, including the ability to browse a Web site with a friend, or click to make a call to someone all via JavaScript. If you want to see it in action, this article includes easy ways to get started plus links to YouTube demo videos.
Articles 30 Sep 2009
Making Web applications act like Notes applications
This tip shows you how to script the JavaScript onDblClick and onKeyPress events to edit a document when it is double-clicked and to close a document when the Escape key is pressed, just like a Notes application.
Articles 01 Aug 2002
Dojo from the ground up, Part 1: Getting started with Dojo development
The Dojo toolkit enables web application developers to create Rich Internet Applications by offering a wide variety of features that save development time and effort. From DOM helpers and Asynchronous JavaScript and XML (Ajax) to a full-blown widget library and object-orientation features, Dojo includes virtually everything you need to build large-scale Ajax-powered web applications. If the functions you are looking for are not included in Dojo itself, it's likely that you can find them in DojoX, a repository of extensions and experimental features that are not included in the Base or Core modules of the toolkit. In this article series, learn how to develop Dojo-powered applications from the ground up, covering the basics, Dojo's great object-orientation features, and the Dijit user interface library. By the end of this series, you will be well prepared to develop Dojo applications of your own.
Also available in: Chinese   Japanese  
Articles 18 Jan 2011
Improve the performance of your web applications
As web users, we know that the speed at which a page loads or refreshes is paramount to its success. This article will help you gain a better understanding of the factors that contribute to your web application's performance. Learn to identify these issues and to find the bottlenecks with your client-side content. Explore performance problems, and solutions, for JavaScript, DOM, CSS, and Dojo widgets. An example walks you through fine-tuning a Dojo widget by using YSlow and Firebug.
Also available in: Chinese   Japanese  
Articles 21 Sep 2010
Ajax JSP Tag Library
The AJAX Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (Ajax) technology in JavaServer Pages.
Downloads 19 Nov 2009
JSON-lib
JSON-lib is a Java library for transforming beans, maps, collections, Java arrays, and XML to JavaScript Object Notation (JSON) and back again to beans and DynaBeans.
Downloads 13 Dec 2009
Write runnable and deployable code for the IBM Cloud Functions platform
One of the great things about the developerWorks sandbox is that you can run your code in the browser or deploy it to Bluemix. Your deployed code is an action on the IBM Cloud Functions platform. However, the Cloud Functions platform requires your JavaScript or Java code to support a particular interface before you can deploy it. This tutorial explains the rules and requirements to make everything work.
Also available in: Chinese   Japanese  
Articles 10 Jul 2017
Build a simple JSON controller for your web project
Regardless of which database back end your project uses, a JavaScript Object Notation (JSON) controller can simplify your development efforts. Set up a very basic JSON controller that can enhance your next development project.
Also available in: Chinese   Japanese  
Articles 10 Aug 2010
Extract meaningful statistical measures from data in JSON using R
This article explains how to integrate JavaScript Object Notation (JSON) data, such as the data IBM InfoSphere BigInsights produces, with R, a language for statistical computing. It also explains basic R data types, commands, and its graphical display.
Also available in: Chinese   Russian  
Articles 21 Jan 2014
DOM-based data storage and retrieval using jQuery
The popular, and free (MIT and GPL-licensed), jQuery JavaScript library has a concise and portable set of JavaScript APIs for rapid web development. In this article, learn how the jQuery data() method can simplify the task of associating data to DOM elements. In-depth examples show how to use the method in your own applications. Discover how jQuery lets you use HTML5 data-* attributes in your jQuery-powered applications.
Also available in: Chinese   Japanese  
Articles 22 Feb 2011
Build Comet applications using Scala, Lift, and jQuery
Web applications have gotten more and more advanced, and users are always expecting more out of them. One of the most advanced features is Comet, also known as reverse Asynchronous JavaScript and XML (Ajax) or server-side push. Comet allows for browser-based instant messaging, real-time stock quotes, and so on. Advanced Ajax libraries, such as jQuery, make it easy to write Comet applications on the client side, but getting them to scale on the server is still a challenge. That is where the Scala programming language and the Lift Web application framework can step in and deliver a scalable back end for your Comet application. In this tutorial, build a real-time Web auction using these technologies.
Tutorial 24 Mar 2009
Integrate the rich Internet application framework ZK with Informix to build real-world applications
This tutorial presents a real-world example that integrates IBM Informix and ZK, a rich Internet application (RIA) framework. Informix is a flagship IBM RDBMS product, while ZK is a Java-based web application framework supporting Ajax applications. This event-driven framework enables creation of rich user interfaces with minimal knowledge and use of JavaScript. ZK's unique server-centric approach enables synchronization of components and events across the client and server via the core engine.
Also available in: Portuguese  
Tutorial 18 Aug 2011
Get to know Open Services for Lifecycle Collaboration Change Management
This article highlights some of the key features of the new OSLC Change Management 1.0 specification (OSLC-CM), which is part of the OSLC group of specifications. The authors use a simple HTML + Javascript interface to illustrate how you can take advantage of these features quickly and easily.
Also available in: Chinese   Portuguese  
Articles 25 Feb 2010
Creating doclinks on the Web
This article shows how to create a Notes-like interface for Web browser clients to create hyperlinks between Domino Web page using HTML and JavaScript. It also discusses how to create Agents that programmatically use the information from the link.
Articles 01 Sep 1998
Build Ajax applications using the first real Ajax server: Aptana Jaxer
Get acquainted with Jaxer, the first true Asynchronous JavaScript + XML (Ajax) server. Jaxer makes it possible to execute JavaScript code, Document Object Model (DOM), and HTML on the server side as well as giving you the ability to access server-side functions asynchronously from the client side. This article describes the features of Jaxer and shows the great potential that Jaxer has to offer, even in its infancy.
Also available in: Chinese   Japanese  
Articles 26 Aug 2008
Load big web applications quickly with a custom Dojo build
Learn how a custom Dojo build can reduce the overall JavaScript footprint of your large applications. This article uses an example web project to walk you through the prerequisites, the build profile, optimization, and buildscripts.
Also available in: Japanese  
Articles 29 Mar 2011
Integrating IBM Sametime in a Web application without the Dojo Toolkit
The current documentation for the IBM Sametime Proxy SDK refers to using the Dojo Toolkit to provide integration into a user's Web application. However, many applications do not use Dojo as their JavaScript framework. This article explains how to enable presence awareness with no external JavaScript toolkit, that is, by using simple JavaScript.
Articles 28 Jan 2013
Enhance Ajax development with a fusion of jQuery, ZK, and Java code
Using jQuery to communicate with a server-side Java application is straightforward. When developing enterprise web applications, though, code becomes complex, and secure communication between the server and client using jQuery becomes very time-consuming and error-prone. It would be much easier if you could implement the entire application in pure Java code. Want to control the business logic and leverage all the benefits of client-side control? In this article, learn to use ZK tools and Java EE technologies to enhance your Asynchronous JavaScript + XML (Ajax) application development--without giving up client-side functions.
Also available in: Chinese   Japanese   Portuguese  
Articles 19 Oct 2010
Ajax-based persistent object mapping
The Persevere persistent object framework brings persistent object mapping to the browser JavaScript environment. Object persistence has seen great popularity in the Java programming and Ruby worlds, and the dynamic JavaScript language is naturally well suited to mapping objects to persisted data. Persevere automates mapping and communication in Ajax-based Web applications, in addition to simplifying much of the development challenge, by providing a manageable data model, transparent client-server Ajax interchanges, automatic state change storage, and implicit transaction management.
Also available in: Chinese   Japanese  
Articles 13 Nov 2007
Android and iPhone browser wars, Part 2: Build a browser-based application for iPhone and Android
This article is the second in a two-part series on developing browser-based applications for iPhone and Android. In Part 1, we introduced WebKit, the browser engine at the heart of the browser in iPhone and Android. In this article, we dig deeper by building a network management application which runs on both the iPhone and Android browsers. The application demonstrates both browser-local SQL storage as well as Ajax, key technologies that enable a rich application experience from within the mobile browser. Additionally, the application leverages the popular jQuery JavaScript library.
Also available in: Russian   Japanese   Portuguese  
Articles 05 Jan 2010
An introduction to Mashups4JSF
Creating mashups in web applications can be a headache. Developers need to know intensive JavaScript, RSS and Atom parsing, JSON parsing, and parsing of other formats. Adding to these complexities, they also need to study the low level APIs provided by the mashup service providers and write a great deal of code to integrate their JSF applications. Mashups4JSF is an open source project in incubation that aims at integrating mashup services with the JSF world. Developers will be able to construct rich and customized mashups by using simple tags. The aim of Mashups4JSF is to have an integrated set of tags and APIs that produces a maintainable mashup application. This article illustrates the architecture of Mashups4JSF, configuration of the library, and creating a mashup application with few lines of code, using Mashups4JSF and the IBM JWL (JSF Widget Library) on the WebSphere application server 7.0.
Also available in: Japanese   Portuguese  
Articles 13 Jul 2010
Build Ajax-based Web sites with PHP
Learn the process of writing Asynchronous JavaScript + XML (Ajax) applications using native JavaScript code and PHP. This article introduces a few different frameworks and application program interfaces (APIs) that reduce the amount of code you need to write to achieve a complete Ajax-based Web application.
Also available in: Chinese   Japanese  
Articles 02 Sep 2008
Build a pureXML and JSON application, Part 1: Store and query JSON with DB2 pureXML
JavaScript Object Notation (JSON), a popular textual notation in Web 2.0, is used to represent objects (or data structures) as serialized text when clients and servers exchange information. Some applications benefit from persisting JSON objects to maintain state across sessions. In this article, learn how DB2 pureXML can store, manage, and query JSON when you adopt a simple JSON-to-XML mapping.
Also available in: Chinese   Japanese   Portuguese  
Articles 27 Apr 2010
Working with jQuery, Part 3: Rich Internet applications with jQuery and Ajax: JQuery: Building tomorrow's Web apps today
JQuery is emerging as the JavaScript library of choice for developers looking to ease their creation of dynamic Rich Internet Applications. As browser-based applications continue to replace desktop applications, the use of these libraries will only continue to grow. Get to know jQuery in this series of articles that takes a look at JQuery and how you can implement it in your own Web application projects.
Also available in: Chinese   Japanese  
Articles 28 Oct 2008
Ajax for Java developers: Java object serialization for Ajax
If you're doing JavaWeb development using Asynchronous JavaScript and XML (Ajax), then delivering data from the server to the client is probably your top concern. In this second article in the Ajax for Java developers series, Philip McCarthy walks you through five approaches to Java object serialization and gives you all the information you need to choose the data format and technology best suited to your application.
Articles 04 Oct 2005
1 - 100 of 335 results | Next
Show Summaries | Hide Summaries