Developing WebSphere Application Server Communication Enabled Application (CEA) widgets

The Communication Enabled Application (CEA) Dojo widgets that were first released in the IBM WebSphere Application Server V7 Feature Pack for Communication Enabled Applications and in IBM WebSphere Application Server V8 are now available in source code format as samples for creating your own CEA widgets. This gives you the freedom and flexibility to rebuild the widgets for whatever version of Dojo you need, and customize them to suit your application requirements. This article describes general CEA concepts and explains how you can use these widgets as a starting point for your own widget development.

View entire article

Optimizing resource management in supercomputers with SLURM

The arms race of supercomputers is fascinating to watch as their evolving architectures squeeze out more and more performance. One interesting fact about supercomputers is that they all run a version of Linux. To yield the greatest amount of power from an architecture, the SLURM open source job scheduler (used by the Chinese Tianhe-IA supercomputer, and the upcoming IBM Sequoia supercomputer) optimizes resource allocation and monitoring. Learn about SLURM and its approach to parallelizing workloads in clusters.

View entire article

Building a new theme for Drupal 7

Themes are plug-ins for Drupal that build or enhance Drupal's core look and feel. In this article, get an overview of how the theme system functions in Drupal, including the various components of a Drupal theme and how to determine which components are necessary or optional elements, and learn how to construct a new theme from scratch using the default PHPTemplate theme engine.

View entire article

Introducing Riak, Part 2: Integrating Riak as a heavy-duty caching server for web applications

This article is Part 2 of a two-part series about Riak, a highly scalable, distributed data store written in Erlang and based on Dynamo, Amazon's high availability key-value store. For websites with heavy loads, a scalable caching solution can lighten the load on the application and database servers. This particularly applies to data that is read often but updated only occasionally. Explore an in-depth example of an online betting site and how you can use Riak to implement a caching solution. You also will learn to integrate Riak with an existing website and look at other Riak features such as search and how to use it to directly serve user requests. You will need a working Riak cluster if you want to follow along with the examples. You can find the steps for setting up a cluster locally in Part 1 of this series.

View entire article

Improve your XSLT 2.0 stylesheets with types and schemas

The type-aware and schema-aware features of XSLT 2.0 can greatly assist you when you debug a stylesheet, and improve stylesheet quality and robustness in handling all input data. Learn how to use type-aware and schema-aware XSLT 2.0 during the debugging and testing process to avoid common issues with invalid paths, incorrect assumptions about data types, and cardinalities. Also, find examples of XSLT stylesheets that contain errors that would not be caught if schema-aware features were not in use, and discover how explicitly specifying types results in useful error messages.

View entire article

Comment lines: Using an adapter service pattern to build a more flexible, low maintenance ESB

Integrating multiple systems in a point to point manner can be very time consuming and expensive to maintain. One common approach to resolve this issue is to introduce an Enterprise Service Bus (ESB), which replaces the point to point approach with a single, centralized place to integrate systems, and does so in a service-oriented manner. However, if done incorrectly, this can still create maintenance headaches. Here is a look at a pattern that can ?future proof? your integration work, allowing for the upgrading or replacement of legacy systems without excessive additional integration work.

View entire article

Understanding Ajax vulnerabilities

Asynchronous JavaScript + XML (Ajax) is not a web technology; it is a collection of technologies created specifically to build dynamic web applications. Because of its range of functions and ease of use, Ajax is one of the most widely used tools for building web applications today. All applications, including those built using Ajax technologies, are vulnerable to exploits that compromise websites and the databases that drive them. In this article, learn about some of the threats to Ajax technologies and how to guard against them.

View entire article

Make your HTML pages smarter with RDFa 1.1 Lite

Resource Description Framework (RDF) has evolved into increasingly pragmatic formats over time. RDF annotation (RDFa) has been particularly successful as a system for annotating HTML documents inline on the web. It is supported by Google and other search engines in the form of Rich Snippets. The emergence of microdata and the Schema.org initiative applied pressure to simplify RDFa even further. The W3C took action and produced a radically simplified version: RDFa 1.1 Lite. In this article, learn about RDFa Lite, and get a head start on producing and processing the shape of Rich Snippets to come.

View entire article

Implement responsive design with jQuery Mobile and CSS3

On its own, the jQuery Mobile framework is a great solution for quickly creating an accessible, HTML5 markup-driven mobile website. When paired with CSS3, things really get interesting, as it becomes possible to create web page layouts that respond to a user&apos;s device based on the screen resolution. This article shows how to use the jQuery Mobile framework and CSS3 media queries to implement responsive design in <!--achieve responsive design with--> your web pages.

View entire article

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.

View entire article

Use JSON Schema validation in your rich Internet application

Complex AJAX applications can interact with hundreds of different JSON services, thus introducing requirements for client-side validation. This article compares a few of the JSON Schema validation libraries. Learn how to use the libraries to validate your JSON objects. As a bonus, download a sample utility to help you write your own schemas and validate objects against them.

View entire article

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&apos;s dojo.io.script method for asynchronous, on-demand loading of JavaScript libraries. Example code helps you concisely &quot;wrap&quot; loading of external JavaScript libraries.

View entire article

Create rich-layout publications in EPUB 3 with HTML5, CSS3, and MathML

EPUB 3.0, which is the latest revision of the industry-standard XML e-book format, jumps into modern web technology by embracing HTML5 and CSS3. It retains its focus on XML-driven toolkits by requiring XHTML serialization and adding supplementary XML vocabularies, such as MathML and SVG. EPUB 3 offers a variety of options for developing advanced, digital-native publications. In this article, learn to create rich-layout pages using some new features in EPUB 3.

View entire article

Using the Zero Resource Model for database management in WebSphere sMash

The article offers details and insight into features and capabilities of the Zero Resource Model for database management on the IBM WebSphere sMash platform. This peek at agile database management describes the built-in database handling and processing capabilities of WebSphere sMash, and provides code samples that can serve as a starting point for application developers.

View entire article

Using Dojo to extend business processes to the mobile space

This article illustrates an example of how to build a simple mobile user interface that interacts with a business process. The implementation of the mobile UI uses Dojo with the IBM WebSphere Application Server Feature Pack for Web 2.0 and Mobile, and the sample business process is implemented with IBM Business Process Manager V7.5. The mobile web application built here renders with a native look and feel on webkit-enabled mobile devices such as iPhone, iPad, Android, and RIM smartphones and tablets.

View entire article

Using XSLT as a stylesheet for HTML

As the name suggests, Extensible Stylesheet Language Transformations (XSLT) can be used as a stylesheet. Like Cascading Style Sheets (CSS), XSLT helps to separate style from content. You can simplify and enrich your XHTML documents with XSLT, which relieves the XHTML document of navigation. In this article, learn how to use XSLT as stylesheets, which can be executed on the server or in every modern Internet browser. Several examples show how to start developing your own XSLT stylesheets.

View entire article

Make HTML5 microdata useful, Part 2: Next generation aggregation with microdata

Part 1 of this series showed how to use microdata with Schema.org terms so search engines can display your content better in search results. It also showed how to reuse that same microdata markup to improve the display on your own site. In this article, learn to use microdata to enable a collaborating group of site owners to easily hook up their sites and share content on a centralized site.

View entire article

Make HTML5 microdata useful, Part 1: Using jQuery on top of microdata

The microdata specification lists two reasons why you might want to use microdata: To allow generic scripts to provide services that are customized to the page or to enable content from a variety of cooperating authors to be processed by a single script in a consistent manner. In this two-part series, learn to use microdata in both of these ways, starting with generic scripts on top of microdata. In this article, you will write one snippet of HTML to give you both an interactive event map and to enable Google, Bing, and Yahoo to display your page better in search results with Rich Snippets.

View entire article

Get started with Selenium 2

Selenium is a well-known web application testing framework used for functional testing. The new version, Selenium 2, merges the best features of Selenium 1 and WebDriver (a parallel project to Selenium). In this article, learn how to make the easy transition from Selenium 1 to Selenium 2. Examples show how to use Selenium 2, how to test remotely, and how to migrate your written tests from Selenium 1 to Selenium 2.

View entire article

Making Ajax service calls with PHP, jQuery, and JSON

In this article, learn about a system for making and responding to Asynchronous JavaScript and XML (Ajax) service calls in a consistent, event-based manner. The system can determine if a remote process call succeeds or fails. Discover how to standardize the result format of objects returned by Ajax service calls, provide event-based responses to Ajax calls, and centralize Ajax result handling. The system uses PHP, jQuery, and JSON technologies, and example code walks you through the construction of the system. The article wraps up with an example Ajax call that shows how the pieces of the system interact.

View entire article

Functional JavaScript with CoffeeScript and Node

Master web application complexity with the functional scripting superstack of CoffeeScript, Node, and Underscore.js.

View entire article

Your first cup of CoffeeScript, Part 4: Using CoffeeScript on the server

This series explores the popular CoffeeScript programming language, which is built on top of JavaScript. CoffeeScript compiles into JavaScript that is efficient and consistent with many best practices. You can run this JavaScript in a web browser or use it with technologies such as Node.js for server applications. In previous parts of this series, you learned the benefits of CoffeeScript, set up the development environment, exercised many of the features, and wrote the client-side code for a real application using CoffeeScript. In this final part of the series, it&apos;s time to write the server-side CoffeeScript.

View entire article

Your first cup of CoffeeScript, Part 3: Using CoffeeScript on the client

This series explores the popular CoffeeScript programming language, which is built on top of JavaScript. CoffeeScript compiles into JavaScript that is efficient and consistent with many best practices. You can run this JavaScript in a web browser or use it with technologies such as Node.js for server applications. Part 1 of this series explained how to get started with CoffeeScript and explained the perks for developers. Part 2 described how to use CoffeeScript to solve several programming problems. This article explains how to create a complete application using CoffeeScript.

View entire article

Using UI components in jQuery Mobile

Many UI components are available in the jQuery Mobile framework. This article provides a high-level overview of each element and how you can use it in a mobile website. It touches on specific UI components, explains the reasons to use them, and provides code examples of their use in a mobile website.

View entire article

Your first cup of CoffeeScript, Part 2: Learn the language with hands-on examples

This series explores the popular CoffeeScript programming language, which is built on top of JavaScript. In Part 1, you learned about the perks for developers, set up the CoffeeScript compiler, and used it to create code that was ready to run in a browser or server. In this article, wade deeper into the CoffeeScript language. Use CoffeeScript to solve several programming problems, with a mathematical flavor to them, from Project Euler. Example source code is provided.

View entire article

Device-aware mobile sites using PHP, JavaScript, and WURFL, Part 1: Get started using the WURFL PHP API

With a rapidly growing mobile Web, if you haven&apos;t already started working on a PHP-driven mobile site or application, you soon will be. Detecting the capability of one mobile device among the thousands of offerings is nearly impossible with PHP alone. But with the Wireless Universal Resource FiLe (WURFL), this once daunting task becomes as simple as a few API calls to retrieve the device data you need and can use with your PHP site or application.

View entire article

Scalable Vector Graphics in HTML5

Scalable Vector Graphics (SVG) are part of the vector family of graphics. They have several benefits over their raster counterparts: JPEG, GIF, and PNG. In this article, explore the basic concepts and usage of SVG graphics in HTML5. Learn about drawing, filters, gradients, text, and adding SVG XML to web pages.

View entire article

Comment lines: Choosing the right web content management delivery solution

The IBM Web Content Manager software offers different solutions for delivering web content to your users . This article explains all the solutions available and why you would chose each.

View entire article

WebSphere proxy server routing capabilities in a secured environment

This article discusses the various routing capabilities of the WebSphere proxy server, which is a feature of IBM WebSphere Application Server Network Deployment. Multiple configuration scenarios are presented, along with background information, setup instructions and tips to help you achieve success routing content using proxy server features in a secured environment.

View entire article

Measure UI performance on IBM SmartCloud Enterprise

The author debuts a framework for IBM SmartCloud Enterprise that lets you establish an automated, UI performance-measuring system that engages Fiddler, a web debugging proxy. This article explains the framework, Fiddler, the performance metrics that are captured by the system, and how they are important to UI performance measurement.

View entire article

Use the jQuery Mobile API for fine-grained custom control

The jQuery Mobile framework is a quick and easy way to create mobile websites. However, you might not know that the framework has a decent API that you can use to extend the basic functionality. This article provides an overview of some of the most useful features in the API and gives you working code examples throughout.

View entire article

Publishing XML data in HTML and PDF using a single XSLT stylesheet

Learn how to publish XML documents in HTML and PDF using the css2xslfo utility.

View entire article

Getting started with Backbone

Efficient management of the numerous lines of JavaScript code in web applications can be a challenge. Asynchronous JavaScript and XML (Ajax) interactions heavily populate pages to provide a better experience to the user. Single page interfaces, which are becoming more common, are driven by Ajax. Backbone is a JavaScript framework that can be used to create model-view-controller (MVC)-like applications and single page interfaces. In this article, learn how useful Backbone can be for creating Ajax applications or single page interfaces.

View entire article

Develop lightweight mobile web applications with Dojo Mobile

Dojo Mobile is a Dojo-based widget set for creating mobile web applications. With Dojo Mobile, you can develop lightweight, <!--highly performant--> high-performance mobile web applications. In this article, learn how Dojo Mobile addresses the performance issues, and how you can optimize Dojo Mobile-based user applications to make them as small and efficient as possible. [Several clarifications have been made in the text to better reflect the author&apos;s original intent.]

View entire article

Comment lines: Defeat image sprawl, once and for all

Virtualization and cloud computing make it very easy to create new virtual images, but as image catalogs grow, finding and locating the right images gets harder. New images are created because it is easier to create a new image than it is to figure out what existing image might be reusable, creating &quot;image sprawl.&quot; Unless you address how to more effectively build and manage your virtual images, you will not realize the full benefits of the cloud. Two new IBM capabilities, the Virtual Image Library and the Image Construction and Composition Tool, can help you quickly understand the content of your images and build reusable, parameterized images.

View entire article

An update on RDF concepts and some ontologies

Resource Description Framework (RDF) is the standard framework for the Semantic Web and a recommended framework for the Linked Data movement. This article details the most recent updates to and implications of the RDF concept specification. It also covers some new ontology specifications such as data cataloging vocabularies and RDF database mapping systems.

View entire article

Your first cup of CoffeeScript, Part 1: Getting started

There&apos;s a lot of hype and fuss about CoffeeScript, a new programming language built on top of JavaScript. CoffeeScript offers a clean syntax that should appeal to those who like Python or Ruby. It also provides many functional programming features inspired by languages such as Haskell and Lisp. CoffeeScript compiles into efficient JavaScript, and in addition to running the JavaScript in a web browser, you can use it with technologies such as Node.js for server applications. In this first article of a four-part series, get started with CoffeeScript and learn about the perks for developers. You will set up the CoffeeScript compiler and use it to create code that&apos;s ready to run in a browser or server.

View entire article

Build an iOS slideshow application for the iPad

Learn to build an iOS slideshow application as you walk through the process step-by-step in this article. The example application will communicate with a web server to retrieve an XML slideshow definition and display the images contained in the slideshow.

View entire article

Node.js for Java developers

Node.js presents an exciting alternative to traditional Java concurrency, and all you need to get started is an open mind and a little bit of JavaScript.

View entire article

Build REST resources using Apache Wink and OpenJPA

Apache Wink is a framework for building RESTful web services. In this article, see how to use Wink and OpenJPA (Java Persistence Architecture) to implement, store, retrieve, and update a resource. Also, learn to make resources persistent using OpenJPA. Article examples show how the CRUD (create, retrieve, update, and delete) operations can be completed end to end using Wink and OpenJPA.

View entire article

Create custom jQuery mobile themes

The high adoption rate of smartphones and tablet devices is ultimately increasing the demand for mobile web developers and designers. The jQuery Mobile framework lets you create mobile web experiences that rival the results of native application development by providing instant access to applications and websites via the web browser rather than making users download and install mobile applications. Learn how to use the jQuery Mobile theming framework to create custom-branded mobile websites and web applications.

View entire article

Combine Drupal, HTML5, and microdata

With Google, Yahoo, and Bing&apos;s announcement of schema.org, microdata is quickly gaining ground as a way to create applications that rely on data from many different websites. In this article, learn how to use Drupal to add microdata to your pages. Easily make your content available for use in applications such as Google&apos;s Rich Snippets.

View entire article

Comment lines: Your quick start guide to OSGi

This article presents some notable OSGi framework concepts that are relevant when developing OSGi platform solutions for IBM WebSphere Application Server V8 using the IBM Rational Application Developer V8.0.3 workbench. An example application explains the concepts and lays a brief but concrete foundation for understanding these concepts so that you can apply them in your own environment.

View entire article

Comment lines: The new generation of WebSphere DataPower

Not only are the lastest IBM WebSphere DataPower SOA Appliances new on the inside and out, but they are evidence of IBM&apos;s leadership, innovation, and long term strategic plan for appliances. Here&apos;s a high level look at the new line of hardware appliance products, including those designed for caching, integration, and cloud computing.

View entire article

Comment lines: Building a Smarter Planet, one operations center at a time

The act of building a smarter city has parallels with the act of helping a company succeed and grow. A central view of operations and the analysis of operational data is one of those parallels. Here is a high level look at the issue of instrumenting operations from the perspective of IBM&apos;s Smarter Cities initiative, although many of the ideas and approaches could relate equally to any business environment as well.

View entire article

Build mobile text messaging into your web apps

Mobile messaging, and Short Message Service (SMS) in particular, is a crucial communication channel for reaching out to your users. Messaging is also a central part of the consumer mobile experience. However, implementing mobile messaging applications is difficult and expensive due to barriers involved with interacting with closed telco services. This article reviews the background and challenges of mobile messaging, and discusses several technical approaches to address these challenges. After reading this article, you will be ready to incorporate interactive text messaging into your own applications.

View entire article

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.

View entire article

Creating objects with the JavaScript language

See the different methods used to create objects using JavaScript. This demo uses each object-creation method to create a functional photo slideshow.

View entire article

The foundation of the JavaScript language

Get an overview of the foundational constructs of the JavaScript language. This demo briefly describes the basic constructs and provides examples that illustrate how they can be used.

View entire article

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.

View entire article

Get started with JavaScript

This knowledge path begins with a basic overview of the JavaScript language to provide a foundation for writing JavaScript code. It then covers more advanced topics such as object-oriented JavaScript and DOM modification for HTML page manipulation before covering introductory Asynchronous JavaScript + XML (Ajax) concepts and how to make Ajax requests.

View entire article

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.

View entire article

IBM Mashup Center <mdash></mdash> Need-to-know tips and tricks, Part 2: Building mashups and leveraging widgets

IBM Mashup Center is a powerful tool aimed at gaining insight and sharing information by rapidly assembling and visualizing data. This article shares some of the essential &quot;need-to-know&quot; tips we have collected in our experience with the product. In the first article in the series, we reviewed the components of IBM Mashup Center and some terminology, and then provided you with nine practical tips on working with feeds and building Data Mashups. Whereas the previous article focused on the &quot;data site&quot; of a mashup, in this this article we&apos;ll cover the presentation layer of a mashup - the &quot;Mashup Builder&quot;. This article applies to Mashup Center version 2 and version 3.

View entire article

Develop an Apache HttpClient client for Android to a JAX-RS web service

Access a JAX-RS web service with the Apache HttpClient library. Jersey, a reference implementation for JAX-RS, simplifies development of RESTful web services in the Java environment. Android is a popular smartphone and this article shows you how to create a JAX-RS client for Android. You&apos;ll create an Apache HttpClient library client to a JAX-RS web service.

View entire article

Get started with Dojo development

Learn the basics of developing Web applications using the Dojo toolkit. This knowledge path is targeted at web developers and designers who are interested in learning how to leverage the Dojo JavaScript framework to assist them in the development of rich Internet applications (RIAs). You should be very familiar with building web pages using HTML and CSS and have, at the very least, a basic level of understanding of JavaScript. Experienced JavaScript developers who have no prior experience with Dojo will also find this knowledge path useful, although they may want to skim over some sections of the introductory content.

View entire article

HTML5 fundamentals

Since the World Wide Web emerged in the early 1990s, HTML has evolved to become a relatively powerful markup language, which, when backed up by its close partners JavaScript and CSS, can be used to create visually stunning and interactive websites and applications. HTML5 reflects the monumental changes in the way you now do business on the web and in the cloud. This knowledge path is for anyone wanting to get a foundation in HTML5.

View entire article

Web application security fundamentals

Web security is a discipline that is commonly overlooked. It has a reputation of being attended to in a reactive manner partially because of the lack of knowledge about common risks as well as lazy programming. Get introduced to common information security terminology as well as common attacks and vulnerabilities found on websites and applications. This knowledge path is for anyone interested in learning the basics of web application security and the risks involved in running a website from development to deployment.

View entire article

Add charting on mobile browsers

Develop online applications that are both thumb and user friendly for the mobile environment with PHP, XML, jQuery, jQuery mobile, and jQuery charting. In this article, build the back end and front end of a polling application that uses charting to show the results of each poll.

View entire article

Create an ILOG Dojo Diagrammer application for touch-enabled mobile devices

This article introduces both Dojo Mobile and IBM ILOG Dojo Diagrammer, and explains how you can create a diagram application for mobile devices with the Dojo Toolkit and IBM ILOG Dojo Diagrammer. In addition, you&apos;ll see how the application can add custom actions invoked by a touch gesture.

View entire article

Comment lines: Tools for modernizing enterprise applications and the way you develop them

The newly announced IBM Rational Developer for System z Unit Test can dramatically enhance the way you develop, maintain, and test mainframe applications. This article explains how this solution, along with other Rational Enterprise Modernization products, can be used in a typical scenario to transform an existing mainframe &quot;green screen&quot; application into a smartphone interface using modern techniques.

View entire article

Using a recommendation engine to personalize your web application

Most businesses are interested in finding new ways to drive traffic and generate revenue from their online investments. One way to address this challenge is to use a recommendation engine, which can drive visitors to your web site to explore further offerings. These engines apply a variety of patterns and analyze user habits to offer recommendations to users, and can be helpful in presenting offerings that a user might not otherwise know about. This article explains how to integrate Apache Mahout, an open source recommendation engine, with IBM WebSphere Application Server V8.0 and IBM Rational Application Developer for WebSphere Software V8.0.3.

View entire article

Reverse Ajax, Part 5: Event-driven web development

In this final part of this article series, learn about event-driven development. Build an example event-driven web application using the accompanying source code.

View entire article

HTML5 Canvas

This HTML5 demo focuses on the use of the Canvas API and shows you how to paint a very simple animation.

View entire article

HTML5 fundamentals

Get an overview of HTML5 and some of the new tags, and see how CSS3 enhances the look and feel of a web site.

View entire article

HTML5 Forms

This demo describes the &lt;forms&gt;, &lt;fieldset&gt;, &lt;label&gt;, and &lt;input&gt; tags. It shows you how to create very elegant forms using HTML5 and CSS3.

View entire article

Selecting the optimal programming language

There are many programming languages to choose from, and it&apos;s a personal choice for many--you might just pick your favorite, or you might choose the one with the best performance figures. Sometimes, however, other factors are just as important as performance. In this article, learn how to analyze the relevant factors when selecting a programming language. A few project scenarios are outlined to illustrate different variables in your myriad choices.

View entire article

Mobile application development, Part 1: PhoneGap and Dojo Mobile on Android

In this series, you&apos;ll start out by creating a simple, mobile application, and end by consuming web services from your Android device. Learn how to use Eclipse and PhoneGap to create a mobile hybrid application using only HTML and JavaScript. You&apos;ll also use Mobile Dojo to give the application that native feel. In this article, learn how to combine PhoneGap and Mobile Dojo to rapidly create a hybrid mobile application for Android that looks and behaves like a typical Android application.

View entire article

Reverse Ajax, Part 4: Atmosphere and CometD

Learn about Atmosphere and CometD--the best-known open source Reverse Ajax libraries for Java technology servers.

View entire article

Generate dynamic mobile web interfaces with the Dojo Toolkit

Using mobile devices to browse the web has become the rule. As users of mobile devices increase in number, there is a corresponding spike in the development rate of mobile applications and mobile-friendly websites. For the mobile app developer, the main concern becomes how to develop an app that can display on the majority of devices. In this article, see how the Dojo Toolkit can help you create widgets for your application that mimic the interfaces of the most popular mobile devices. The Dojo Toolkit provides a mechanism to create mobile web apps using Cascading Style Sheets, HTML, and JavaScript.

View entire article

Reverse Ajax, Part 3: Web servers and Socket.IO

Learn how to use Comet and WebSockets in your web application for various web containers and APIs. Also learn about Socket.IO, an abstraction library that can be used in a web application with Reverse Ajax. Abstraction libraries, which can be used transparently, hide all of the complexity behind Comet and WebSockets.

View entire article

Create a networked tic-tac-toe game for Android

Build the back end of a multiplayer, network-enabled tic-tac-toe game with a native Android front-end application in this article.

View entire article

Get started with Dojo Mobile 1.7

Learn about Dojo Mobile 1.7, the latest version of the mobile web development framework that&apos;s an extension of the Dojo toolkit. See how to download Dojo 1.7 from trunk and how to use Dojo Mobile in your applications. Explore the various widgets and components it offers, and learn how to wrap your web application up in a native application using PhoneGap.

View entire article

Accessing HTTP and RESTful services from DB2: Introducing the REST user-defined functions for DB2

Increasingly, Representational State Transfer (REST) has become the preferred way of communicating in today&apos;s service-oriented architecture environments. There are many services and information sources that can be addressed via a URL and accessed using HTTP. On the other hand, there is still a significant amount of information stored in relational database management systems (RDBMS) -- like DB2. Modern RDMSes provide powerful processing features for relational data (through SQL) and XML data (through SQL/XML or XQuery).

View entire article

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&apos;s unique server-centric approach enables synchronization of components and events across the client and server via the core engine.

View entire article

Understanding built-in objects in JavaScript

Gain a foundational understanding of the intrinsic objects available in the JavaScript language.

View entire article

Charting for mobile with the Dojo Toolkit

Explore the capabilities of the dojox.mobile and dojox.charting packages. In this article, use the step-by-step examples to create a mobile charting application with the Dojo Toolkit, then enhance the application to support touch interactions. Advanced topics, such as improving rendering performance, are also covered.

View entire article

Java development 2.0: Ultra-lightweight Java web services with Gretty

Gretty is one of a new school of ultra-lightweight frameworks made for building web services. Built on top of the blazingly fast Java NIO APIs, Gretty leverages Groovy as a domain-specific language for web endpoints and Grape&apos;s Maven-style dependency management. In this article, get started with using Gretty to build and deploy Java web service applications.

View entire article

Develop a Spring client for Android to a JAX-RS web service

Spring, a platform used to run Java enterprise applications, provides several benefits including increased productivity and runtime performance. Spring Android, an extension of the Spring framework, simplifies the development of Android apps. The main features of Spring Android are a REST client for Android and Auth support for accessing secure APIs. Learn to access a RESTful web service with the Spring Android REST Client.

View entire article

Comment lines: Successful BPM takes a true team-oriented approach

Over the last two years there&apos;s been a significant change in approaches to business process management (BPM). We are witnessing an evolution from a techno-centric approach to building business processes to an approach that is aligned with business stakeholders. When compared to traditional Information Technology (IT) BPM approaches, a team-oriented approach to BPM design, development, and optimization results in higher success with business process solutions. This article discusses collaborative BPM approaches and recommended practices to support common goals and outcomes for business and IT stakeholders..

View entire article

Comment lines: You can influence WebSphere products through the Client Experience Program

The Client Experience Program for IBM WebSphere Products brings clients and IBM product development teams together to share information about products, usage experience, requirements, and best practices. Through no-charge activities and events, you can improve your understanding of WebSphere products and contribute feedback so that the products you use can continue to meet your future needs.

View entire article

Comment lines: The eventful (and stateful) challenge of service integration

Most IT projects that involve a service-oriented architecture (SOA) ? and the majority of projects do ? also deal with aspects of integration and connectivity between services and their consumers. This article describes a relatively recent trend of adding additional aspects to the integration layer, namely state handling, decision making, and event handling, driven by the desire of the business to become more customer-centric.

View entire article

Create GPS-enabling web applications

This article walks you through building the back end and front end of a GPS-enabled web application using PHP.

View entire article

Get started with the JavaScript language, Part 2: Events, cookies, timing, and more

JavaScript has become increasingly popular and is arguably one of the most widely used languages on the Internet. It can be used cross-platform and cross-browser, and it does not discriminate against back-end languages. Many great libraries are available to help with development, but sometimes, these libraries are so removed from the original language that beginning developers lack an understanding of the language fundamentals. This article, part 2 in a series, continues the fundamentals of JavaScript with events, try...catch statements, cookie use, and timing functions.

View entire article

Reverse Ajax, Part 2: WebSockets

Learn a new way to implement Reverse Ajax, using WebSockets, a new HTML5 API. WebSockets can be implemented natively by browser vendors or by using a bridge that delegates calls to a hidden Flash component called FlashSockets. This article also discusses some constraints on the server side with Reverse Ajax techniques.

View entire article

User interface design for the mobile web

Web application technology reduces the cost of creating multiplatform applications. Developers can create applications that run on mobile platforms that differ in development technology, user interface style, input mechanisms, display form factor, size, and resolution. To design applications that are easy to use, and that integrate well across diverse platforms and devices, you need to consider several factors beyond conventional web applications and native mobile applications. This article explores the usability challenges of the mobile web, and provides several best practices for designing mobile web applications.

View entire article

Reverse Ajax, Part 1: Introduction to Comet

In this series, learn how to develop event-driven web applications using Reverse Ajax techniques to achieve a better user experience. The examples on the client side will use the jQuery JavaScript library. In this first article, explore different Reverse Ajax techniques. With downloadable examples, learn about Comet with streaming and long polling methods.

View entire article

Audience, Relevance and Search

Real solutions to the Internet search challenges that Web marketers and content professionals struggle with every day!

View entire article

Search Engine Marketing Inc., 2nd edition

Whether you?re a marketing, Web, or IT professional, product manager, or content specialist, Search Engine Marketing, Inc., Second Edition will help you define your SEO/SEM goals, craft a best-practices program for achieving them, and implement it flawlessly.

View entire article

Multisite Commerce: Proven Principles for Overcoming the Business, Organizational, and Technical Challenges

Mirlas begins by reviewing why multisite commerce is necessary and yet so challenging to execute. Next, he addresses multisite commerce from three perspectives: business, implementation, and technical. You?ll learn how to plan and implement a shared platform and use it to create and operate new sites that will remarkably lower incremental cost.

View entire article

The Social Factor

Whatever your industry, you?ll learn how to choose and implement the right social networking solutions for your unique challenges...how to avoid false starts and wasted time...and how to evaluate and make the most of today?s most promising social technologies?from wikis and blogs to knowledge clouds.

View entire article

Web 2.0 and Social Networking for the Enterprise

This book provides hands-on, start-to-finish guidance for business and IT decision-makers who want to drive value from Web 2.0 and social networking technologies. IBM expert Joey Bernal systematically identifies business functions and innovations these technologies can enhance and presents best-practice patterns for using them in both internal- and external-facing applications.

View entire article

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.

View entire article

HTML5 fundamentals, Part 4: The final touch

HTML5 reflects the monumental changes in the way we now do business on the web and in the cloud. This article, the fourth in a four-part series designed to spotlight changes in HTML5, introduces the HTML5 Canvas element, using several examples to demonstrate functions.

View entire article

Improve cross-domain communication with client-side solutions

Ajax plays an important role in this Web 2.0 era, yet sometimes its power is limited due to the same origin policy (SOP). In this article, learn how to overcome the collaboration restrictions. Explore several client-side solutions for integrating with other servers and providers. Examples show you how to improve your cross-domain communication and data transfer.

View entire article

Using the WebSphere Application Server Feature Pack for Web 2.0 and Mobile to view web application usage patterns and other analytics data

Knowing how users navigate and browse through your website can be valuable in guiding and justifying efforts to improve the site. For example, knowledge about page statistics might guide you to move the most frequently accessed pages to higher levels in the site, statistics on mouse clicks can identify rarely-used buttons, and long idle times could point to pages needing simplification. This article explains how to make use of new features in the Dojo Toolkit and IBM WebSphere Application Server Feature Pack for Web 2.0 and Mobile to generate analytics data, and offers advice on presenting the data in your own application.

View entire article

Integrating WebSphere CloudBurst capabilities in an iPhone solution, Part 4: Extending classes to manage HTTPS syndication

This series of articles walks you through the process of creating a full client application for an Apple iPhone device that collaborates with an IBM WebSphere CloudBurst Appliance using a REST API. Using the vast REST-based APIs provided, WebSphere CloudBurst offers many integration opportunities for a Web 2.0 environment, such as with a smartphone. Building on the previous articles, Part 4 concludes this series showing how you can extend a class to manage the HTTPS protocol, including security management.

View entire article

Comment lines: What makes for good modularity and why OSGi is awesome

Modularity is one of those things that is considered good -- but not always realized -- in software engineering; hard to describe and harder to achieve. This article explores the key considerations for modularity and then applies them to Java, Maven, and OSGi to see how well they fit these capabilities. This will reveal the value that OSGi brings as a modularity system for Java, and provide the context for explaining the value of applying OSGi to enterprise applications.

View entire article

Get started with Dojo Mobile 1.6

Learn about Dojo Mobile, the mobile web development framework that&apos;s an extension of the Dojo toolkit. Using a practical example, learn how to include and use Dojo Mobile widgets and components in your applications. You&apos;ll see how to wrap your web application in a native application using PhoneGap. This article also offers a preview of some of the new features in the next version of the framework.

View entire article

Automate web application testing with Sahi

There are many commercial tools and open source frameworks for automated testing of web applications. Sahi, a tool for automating web application testing, is gaining popularity. Sahi is an open source tool that allows recording and replaying across browsers. It provides different language drivers for writing test scripts, and supports Ajax and highly dynamic web applications. In this article, learn about Sahi by using a sample application and test case. Learn to format scripts for Junit and to test with Apache Ant.

View entire article

An introduction to Ajax

Get a technical introduction to Ajax programming, and discover the core JavaScript code and popular library implementations. This article presents a brief history of the technology, then outlines the technical basics of Ajax interactions using core JavaScript coding as well as three popular JavaScript libraries.

View entire article