|
Source: developerWorks : Open source : Technical library Data mining is a collective term for dozens of techniques to glean information from data and turn it into meaningful trends and rules to improve your understanding of the data. In this second article of the series, we'll discuss two common data mining methods -- classification and clustering -- which can be used to do more powerful analysis on your data.
Source: developerWorks : Open source : Technical library Understand the tradeoffs in content currency as you practice including links to content, copies of content, or both. Investigate techniques that will infuse new content into a solution information center after you deliver it to its audience. For example, you can provide a link that launches a search of another web site's contents to find the latest documents, You can include RSS feeds that deliver updated content to keep your solution information center fresh.
Source: developerWorks : Open source : Technical library This series explores the major types of cloud services and related software you can use to build Web-scale systems. In this article, learn about AppScale and Platform-as-a-Service (PaaS) cloud computing. Explore the features and architecture of this virtual infrastructure. It's a great way to test your Google App Engine applications on your local resources or virtualized cloud infrastructures, such as Amazon EC2 or Eucalyptus.
Source: developerWorks : Open source : Technical library Get introduced to Apache Click, a Java Platform, Enterprise Edition (Java EE) Web application framework that enables the creation of Web applications without using Model-View-Controller (MVC) patterns or JavaServer Pages (JSP). This article provides examples of displaying a simple Web page and creating a Web form that submits data that is displayed on a different Web page.
Source: developerWorks : Open source : Technical library With the increasing interest in Ruby on Rails from companies in the enterprise world, some observers have posed questions about its suitability when it comes to the demanding requirements in this arena. One issue that some have called attention to is that ActiveRecord, Rails' Object-Relational Mapper (ORM), doesn't use prepared statements--or at least it didn't until now. With the latest release of DB2 on Rails, parameterized queries are automatically available and bring with them important performance and security benefits to Rails applications.
Source: developerWorks : Open source : Technical library The days of cowboy coding are long gone at most organizations, replaced by a renewed interest in generating quality software. Continuous integration (CI) testing is a vital component in the practice of agile programming techniques that lead to high-quality software. Learn the theory and practice of CI testing by exploring Buildbot, an open source CI system written in Python.
Source: developerWorks : Open source : Technical library OpenID is a decentralized authentication protocol that makes it easier for users to access resources in your Java Web applications. In this first half of a two-part article, you'll learn about the OpenID Authentication Specification and walk through the steps of incorporating it into a sample Java application. Rather than implement the OpenID Authentication specification by hand, author J. Steven Perry uses the openid4java library and a popular OpenID provider, myOpenID, to create a safe and reliable registration process for a Java application written in Wicket.
Source: developerWorks : Open source : Technical library Learn how Perl programmers can use three of the CPAN S3 modules -- Net::Amazon::S3, Amazon::S3, and SOAP::Amazon::S3 -- to list, create, and delete "buckets" (S3 data storage); to list, create, retrieve, and delete items in a bucket; and to get an item's metadata.
Source: developerWorks : Open source : Technical library Map-based mashups abound these days. Mashups require services that can be mashed up. Location-based mashups need services that provide boundary information. With Web-based mapping providers, you can easily create a map-based mashup with little or no capital investment. In this article, learn how to create a KML boundary service from an ESRI shapefile to be used in mashups.
Source: developerWorks : Open source : Technical library Alex Miller shows you how to use the Groovy-based DSLs found in GPars to solve common concurrency problems.
Source: developerWorks : XML : Technical library In this two-part article, explore techniques for handling two of the most common data formats used on the Internet -- XML and JavaScript Object Notation (JSON) -- on the Android platform. This first part covers the basics of XML and JSON and shows you how to build an Android application that parses and displays a Twitter status-update feed provided in both formats.
Source: developerWorks : XML : Technical library Java language is the tool of choice for Android developers. The Android runtime uses its own virtual machine, Dalvik, which is not the usual Java virtual machine that most Java developers are used to. Dalvik supports most of the features in the Java programming language -- but not all of them. In this article you will learn advanced Java features and how they are implemented on Android. This includes features such as concurrency, networking, and database access.
Source: developerWorks : XML : Technical library When keeping accounts, bookkeepers often like to manage dynamic data using spreadsheets and produce static reports with a different application. However, allowing the static reporting program to read directly from the spreadsheet can be problematic. With Gnumeric as the spreadsheet and PHP as the reporting application, this article shows how spreadsheet data stored as XML, with proper management of namespaces, allows reading of data directly from the spreadsheet. You save time, increase accuracy, and avoid copy-and-paste and other errors.
Source: developerWorks : XML : Technical library Processing XML in Java usually requires a lot of code and overhead. If you use XQuery, you can do a lot more with a lot less code, even when the XML is stored outside of XML databases. Learn how to use XQuery with Java technology by extracting the hidden information from XML-based Maven POM files.

Source: developerWorks : XML : Technical library For a while, there has been a struggle for the future of markup on the web, a struggle between the W3C's XHTML 2 and HTML5, developed by the major browser vendors under a separate organizational umbrella. First, the W3C took over HTML5, and now it recently announced the sunset of the XHTML 2 effort. This makes a significant difference to the future of XML on the web, and furthermore, because of HTML5's momentum, it is now a technology that every XML developer already has to deal with. But fans of XML need not despair: HTML5 supports a proper XML serialization. Learn about the XML form of HTML5 including some key differences from older XHTML conventions and learn how to practically apply this vocabulary in modern web browsers.
 
Source: developerWorks : XML : Technical library HTML 5 comes with plenty of new features for mobile Web applications, including visual ones that usually make the most impact. Canvas is the most eye-catching of the new UI capabilities, providing full 2-D graphics in the browser. In this article you learn to use Canvas as well as some of the other new visual elements in HTML 5 that are more subtle but make a big difference for mobile users.
Source: developerWorks : XML : Technical library This is the first of a five-part series of articles written for the PHP developer interested in learning about an open-source, flexible, and scalable framework called Agavi. In this first article, you walk through the installation of the framework and the other required components, get an overview of Agavi and its functions, and create your first Web application.
Source: developerWorks : XML : Technical library Continue to build the Web Automobile Sales Platform by adding the ability to add, delete, and update the automobile records in Part 3 of a five-part series. You will also see how to separate user functions from administrative functions with authentication.
Source: developerWorks : XML : Technical library Presenting tablet computers with text designed simply for reading by humans lessens the capacity of the machine to help the reader. To move text to a higher level of generality, you need to provide the machine with disambiguated text and the tools to perform more effective searches and analysis. Discover how XML can provide some structure towards this end.
Source: developerWorks : XML : Technical library 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.
Source: developerWorks : XML : Technical library Real-time web applications are networked applications, with web-based user interfaces, that display Internet information as soon as it's published. Examples include social news aggregators and monitoring tools that continually update themselves with data from an external source. In this tutorial, you will create Pingstream, a small notification tool that uses PHP and JavaScript to communicate over the Extensible Messaging and Presence Protocol (XMPP), a set of XML technologies designed to support presence and real-time-communications functionality.
Source: developerWorks : XML : Technical library The popularity of social networking sites has given rise to an emerging standard for web feeds that express what people are doing online. With Activity Streams, an extension to the Atom format, your websites can syndicate social activity. Explore how the Activity Streams format expresses social objects, learn how to build an activity-feed encoder in PHP, and discover some uses Activity Streams might serve in the enterprise.
Source: developerWorks : XML : Technical library This article shows you how to use IBM Rational Service Tester for SOA Quality testing. You can use this tool to perform functional regression testing. Its unique, code-free design supports testers of all experience levels.
Source: developerWorks : XML : Technical library This article provides a reference to syntax and examples for common types of queries for working with XML data in DB2(R). This reference is short and simple, and it can be used as a resource as you develop your XML-based applications.
Source: developerWorks : XML : Technical library Systems optimization is a growing field, especially in adaptive, autonomic systems, but also in traditional information workflows. Much of the material accumulated in the monitor phase is available in some form of XML. Rather than apply complicated, monolithic analysis tools, you can benefit when you apply the pattern dispatch mechanisms inherent in XML. This saves effort and increases flexibility as it supports a library of analysis primitives that you can redeploy for high-level reports as well as fine-tuning. Learn to apply the likes of XPath and XSLT patterns much more broadly in order to support analysis and drive systems optimizations.
Source: developerWorks : XML : Technical library In the first three articles of this series, you learned to model a NIEM exchange and define subset and extension schemas that implement that model. Now you take the final step and assemble the schemas, documentation, and all the other artifacts of an exchange into a complete NIEM-conformant IEPD. This article also describes the process of validating and publishing your IEPD.
Source: developerWorks : XML : Technical library In this article, we present an approach for XML Validation using OASIS Content Assembly Mechanism (CAM) templates to support a wide array of complex message exchanges with business partners using B2B or B2C business patterns. The CAM templates simplify and externalize the validation rules while allowing the gateway to act as a pass-through on information that is not directly relevant. We also cover our experiences using an open source component built using Eclipse and Java technology to deliver the needed validation services. Follow the application development process as it happened along with sample code snippets and an XML example using the STAR (Standards for Technology in Automotive Retail) Automotive Business Object Document (BOD) schema and associated CAM XML template.
Source: developerWorks : XML : Technical library The Zend Framework is an MVC-compliant framework for building robust, scalable PHP Web applications. It includes a Zend_Soap component that allows developers to quickly and efficiently add SOAP-based Web services to their applications. This article examines the Zend_Soap component in detail, illustrating how you can build a SOAP Web service and examining features such as input validation, fault generation, and WSDL auto-creation.
Source: developerWorks : XML : Technical library The IBM DB2 9 release features a significant architectural departure from prior versions. For the first time since its debut, DB2 is providing a new query language, new storage technology, new indexing technology, and other features to support XML data and its inherent hierarchical structure. But don't worry, all of DB2's traditional database management features remain, including its support for SQL and tabular data structures. Explore DB2 9's XML technology, and learn why IBM now considers DB2 a "hybrid" or multi-structured database management system. Originally written in 2006, this article has been updated to include product changes in DB2 9.5 and 9.7.
Source: developerWorks : XML : Technical library The OSGi framework is becoming increasingly popular. It provides great mechanisms for developing modular and dynamic applications. The recent OSGi Service Platform Release 4 V4.2 specifications introduced the Blueprint Container specification. In this article, learn how the Blueprint Container provides a simple programming model for creating dynamic applications in the OSGi environment. Numerous examples help get you started with the Blueprint XML file and the component XML definitions.
Source: developerWorks : XML : Technical library The pureXML Universal Services for JSON (abbreviated to JSON Universal Services in this article) are a set of database operations, including insert, update, delete, and query, exposed as Web services. These services enable an application to persist JSON in pureXML and to query it easily through HTTP with WebSphere Application Server. Get started with configuring and testing JSON Universal Services in this article.
Source: developerWorks : XML : Technical library This article is for authors; it shows you how to develop and submit technical graphics (such as figures and screen captures) for the article or tutorial you are writing for developerWorks. Following these tips and guidelines will enhance your content and speed up its publication on developerWorks.
Source: developerWorks : XML : Technical library Agavi is an open-source, flexible, and scalable framework for application development. One of its key features is a full-featured API for user authentication and role-based access control. Examine this API in detail, and see how to add sophisticated application-level privilege management and manipulation to a Web application.
Source: developerWorks : XML : Technical library Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
Source: developerWorks : XML : Technical library If you can't find a validating XML editor you like, or prefer not to take the time now to learn how to use one, you can edit the XML for your developerWorks articles and tutorials using your preferred text editor. Ian Shields has created some great tools to help you validate, transform, and preview your article or tutorial. This article shows you how easy it is to use those tools on Microsoft Windows or Linux.
Source: developerWorks : XML : Technical library The maturity of SVG allows for a little-known style of use and development of currently undocumented visual elements. In a time when data-as-a-service is blossoming, it makes a lot of sense to script SVG instances from an enclosing Web application. A specific example of a dynamic choropleth illustrates how easy this technique can be.
Source: developerWorks : XML : Technical library Learn how to integrate business-critical XML data into your data warehouse using IBM InfoSphere(TM) Warehouse Design Studio and DB2(R) 9.7 pureXML(R). This two-part article series provides step-by-step instructions for using pureXML as both a source and target data source for extract, transform, and load (ETL) operations developed with InfoSphere Warehouse Design Studio. This article describes how to build a single control flow that calls multiple data flows that extract, transform, and load XML data in a specific sequence.
Source: developerWorks : XML : Technical library In this article,explore a natural and performant approach to working with XML data in the database and the middle tier. A sample Web application combines XML data across an XML database and Atom services to explain the approach. You will build such an application using an XML database, JDBC 4.0 support for SQLXML, and the IBM WebSphere Application Server V7.0 Feature Pack for XML.
Source: developerWorks : XML : Technical library Castor allows you to bind the data in your Java objects directly into database tables. Learn how to marshal from Java objects to SQL in this article.
Source: developerWorks : XML : Technical library Discover a methodology that takes as input a spreadsheet containing high-level descriptions of device protocol messages, with the spreadsheet saved as an XML document. Then process the XML document through a PHP script that stores the descriptions as blobs in a database.
Source: developerWorks : XML : Technical library One of the most useful new features in HTML 5 is the standardization of local storage. Finally, Web developers can stop trying to fit all client-side data into 4 KB Cookies. Now you can store large amounts of data on the client with a simple API. This is a perfect mechanism for caching, so you can dramatically improve the speed of your application -- a critical factor for mobile Web applications that rely on much slower connections than their desktop brothers. In this second article in this series on HTML 5, you will see how to use local storage, how to debug it, and you will see a variety of ways to use it to improve mobile Web applications.
Source: developerWorks : XML : Technical library Produce and record a 60-second theatre sound play using XML, PHP, and Festival, and provide stage directions, inject sound effects, and control dialogue flow, with a cast of dynamically allocated Festival voices.
Source: developerWorks : XML : Technical library Mobile phones are transforming economies and societies all over the world, but often with phones that might be considered out-of-date by gadget geeks in more developed nations. The good news is that applications that work with these phones can be very simple to write, and they give your application a huge potential user base. In this article, learn how to write programs that respond to specialized requests for information from 2G phones.
Source: developerWorks : XML : Technical library In the first two articles of this series, you learned to model a NIEM exchange, map it to the NIEM base model, and create a subset of the NIEM model for use in your IEPD. Now explore what to do about the parts of your model that do not map directly to NIEM, as you create extension and exchange schemas to define your custom types and properties.
Source: developerWorks : XML : Technical library This article provides an introduction to using DB2 pureXML with CICS applications written in Common Business Oriented Language (COBOL). XML is playing an increasingly important role in CICS applications. Therefore, the need to store and query XML in CICS applications is growing. This article describes two scenarios for using CICS with DB2 pureXML. The first scenario shows how to store inbound XML Web service messages in DB2 pureXML without first parsing the messages in CICS. The second shows how a CICS application can retrieve XML data from DB2 and transmit it through a Web service. The article provides sample source code that you can download.
Source: developerWorks : XML : Technical library The DB2 9 release features significant new support for storing, managing, and querying XML data, which is called pureXML. In this article, learn how to query data stored in XML columns using SQL and SQL/XML. The next article in the series will illustrate how to query XML data using XQuery, a new language supported by DB2.
Source: developerWorks : XML : Technical library DB2's 9 release features significant new support for storing, managing, and querying XML data. In this article, you'll learn the basics of how to write Java applications that access the new XML data. This article has been updated to include changes in DB2 for Linux, UNIX, and Windows 9.5 and 9.7.
Source: developerWorks : XML : Technical library The IBM DB2(R) V9 for Linux(R), UNIX(R), and Windows(R) features significant new support for storing, managing, and searching XML data, referred to as pureXML. This series helps you master these new XML features quickly through several step-by-step articles that explain how to accomplish fundamental tasks. In this article, Learn how to query data stored in XML columns using XQuery. [25 Mar 2010: Originally written in 2006, this article has been updated to include changes in DB2 versions 9.5 and 9.7.--Ed.]
Source: developerWorks : XML : Technical library Learn how to integrate business-critical XML data into your data warehouse using IBM InfoSphere(TM) Warehouse Design Studio and DB2(R) 9.7 pureXML(R). This two-part article series provides step-by-step instructions for using pureXML as both a source and target data source for extract, transform, and load (ETL) operations developed with InfoSphere Warehouse Design Studio. This article explains how to build a single data flow that uses an XML-based source table to populate two target data warehouse tables. One of these tables contains only relational data, while the other contains both relational and XML data.
Source: developerWorks : XML : Technical library This is the first of a two-part series which will introduce you to cmislib, a client-side library for working with CMIS content libraries. Content Management Interoperability Services (CMIS) is a specification that provides a standard way to access content, regardless of the underlying repository implementation or the choice of the front-end programming language. In this article, learn about the cmislib API for Python using examples.
Source: developerWorks : XML : Technical library Interoperability and standards are the latest buzzwords in the healthcare industry today. Use of standards is key to giving hospitals and doctors the capability to interoperate to share patient records better. IBM Research has been investigating the healthcare industry's evolution of standards, including the IHE and HL7 standards. This article offers a brief introduction to these standards and protocols, and it offers a scenario of an IBM DB2(R) pureXML(R) solution that follows the IHE QED protocol.
Source: developerWorks : XML : Technical library Part 1 of this series walked through reading Microsoft Excel files using Java technology and Apache POI. But reading Excel files is only a start. This installment mixes up Excel and XML to soothe developers who turn green at the thought of converting between reporting formats.
Source: developerWorks : Open source : Technical library Learn how to use the XML support in PHP to read the data from the XML exported from Microsoft Excel 2003. Also, learn to export data from your PHP application as Excel XML so your users can see their data in a real spreadsheet.
Source: developerWorks : Open source : Technical library Part of the appeal of mobile applications is that you can take your application and its data with you wherever you go. One reality of mobile is, at times, a mobile device does not have a working connection to the Internet. This might seem to be an insurmountable problem for mobile Web applications. However, Web applications have evolved and become capable of working offline. In this article, you will learn how to offline-enable your mobile Web application and learn to detect when your application goes from offline to online and vice versa.

Source: developerWorks : Open source : Technical library In the first part of this five part series, you will tap into one of the most popular new technologies available to mobile Web applications: geolocation. High-end smartphones all have GPS built-in to them, and now you will learn how it can be used by a Web application. In this article you will learn how to use the various aspects of the geolocation standard and how to use it with some popular Web services to create an interesting mobile mashup.
Source: developerWorks : XML : Technical library The IBM DB2(R) V9 for Linux(R), UNIX(R), and Windows(R) features significant new support for storing, managing, and searching XML data, referred to as pureXML. This series helps you master these new XML features quickly through several step-by-step articles that explain how to accomplish fundamental tasks. In this article, learn how to create database objects for managing your XML data and how to populate your DB2 database with XML data. [11 Mar 2010: Originally written in 2006, this article has been updated to include changes in DB2 versions 9.5 and 9.7.--Ed.]
Source: developerWorks : XML : Technical library What happens if you are using XPath in an XML application, but need to use jQuery for a Web application? What if you know jQuery but need to use XPath in an application? Use this handy phrase book to move from what you know to what you need to know. In this article, learn to use XPath 1.0 and jQuery 1.4 for similar tasks, giving you the ability to move rapidly from one to the other as necessary.
Source: developerWorks : XML : Technical library Extracting business data is a challenge every company faces. Discover some of the secrets to extracting data from Excel and converting it between Excel and XML using Java technology.
Source: developerWorks : XML : Technical library XML schemas come in various types, including an XML schema with or without a namespace, XML schemas consisting of multiple definitions, and XML schemas consisting of multiple namespaces. This article takes those kinds of XML schemas, and introduces ways to register XML schemas, ways to validate XML data, ways to get the XML schema used for validating XML data, and so on. This article is described based on DB2 9.7 for Linux, UNIX and Windows.
Source: developerWorks : XML : Technical library The complexity facing embedded systems architects today is daunting because of added requirements in safety, reliability, and network accessibility. Yet, the tools typically used are often a step behind large-scale software spaces and do not provide the ability to transition smoothly between the detailed device level and a total system view. Learn how to use open source standards such as DITA and PHP and tools such as blob representations to create a system-level environment to address these needs.
Source: developerWorks : XML : Technical library SugarCRM is the world's leading open source Customer Relationship Management (CRM) software provider, with over 5,000 customers and 500,000 downloads of the SugarCRM application all around the world. SugarCRM has long had a very useful Web Services framework, allowing applications to access the SugarCRM instance and work with data on it. But new to SugarCRM 5.2 is a framework for accessing other outside Web services from inside the application itself. SugarCRM 5.2 ships with a LinkedIn connector by default that uses this framework. Thus, users of the SugarCRM instance can check on the LinkedIn status of various companies, contacts, and leads they might have. In this article, learn how the connectors framework works in Sugar 5.2 by building an example connector that allows users to see any recent Google News items pertaining to companies in their SugarCRM instance.
Source: developerWorks : XML : Technical library The pureXML capabilities of IBM DB2 allow you to store XML natively in a database without modification, while Adobe Flex applications can read XML directly and populate Flex user interfaces. In this three-part article series, you will create a microblogging application that takes advantage of pureXML, Web services, and Adobe Flex; and even allows you to publish your microblogging updates on Twitter. In Part 1 of the series, you learned about Web Services and how they are enabled using DB2 pureXML as you created the microblog database and tested it. In this article, Part 2 of the series, you will tap into Adobe Flex and ActionScript to create the user interface of the application.
Source: developerWorks : Web development : Technical library
Source: developerWorks : Open source : Technical library Learn how to consume services using the Dojo Toolkit to enable Asynchronous JavaScript and XML (Ajax) on a web page. Using this article, understand traditional Ajax-style services and get an introduction to RESTful web services abilities in the Dojo Toolkit.
|