|
Source: developerWorks : Open source : Technical library A lot of scientific data is freely available on the Internet. Combine that with open source tools to efficiently process the data, and anyone can experiment and explore and share their results with the rest of the community. See one approach to community-driven science by connecting PHP to Scilab.
Source: developerWorks : Open source : Technical library Learn how to use OpenID to secure Java Web application resources from unauthenticated users. In this second half of his introduction to the OpenID Authentication specification, Steve Perry shows you how to use the openid4java library to create an OpenID Provider in a single sign-on application scenario. By establishing one application as an OpenID Provider in a "closed loop" architecture, you can enable end users to sign in just once to access multiple applications. You'll also learn how to use the OpenID Attribute Exchange (AX) extension for custom data exchange between OpenID relying parties and providers.
Source: developerWorks : Open source : Technical library Agavi is an open-source, flexible, and scalable framework for application development. One of its key features is built-in support for REST routes, making it possible to quickly add a REST API for third-party development to an existing or new Web application. In this article, examine this feature in detail, and how to build a REST API with support for both XML and JSON formats.
Source: developerWorks : Open source : Technical library Cloud computing is no longer a technology on the cusp of breaking out, but a valuable and important technology that is fundamentally changing the way we use and develop applications. As you would expect, Linux and open source provide the foundation for the cloud (for both public and private infrastructures). Explore the anatomy of the cloud, its architecture, and the open source technologies used to build these dynamic and scalable computing and storage platforms.
Source: developerWorks : Open source : Technical library Google Wave is here. And whether you plan to use, integrate with or compete against it, you're going to need to have some understanding of what it does. This article provides you with the basics, from building a simple gadget to the high points of gadget construction.
Source: developerWorks : Open source : 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 : Open source : Technical library See how to spice up your Eclipse-based applications using the same technologies available to web developers, such as Dojo, Adobe Flex, and OpenLaszlo. Furthermore, you can position your application to easily move from a desktop application to a browser-based application, providing multiple options for deployment.
Source: developerWorks : Open source : 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 : Open source : Technical library Ideally, the diverse services that medical patients need should interconnect and interoperate to enhance healthcare quality and efficiency. This article, the first of two parts, discusses the aggregation of healthcare services using Java Business Integration (JBI) architecture. Such an aggregation platform -- a Healthcare Service Bus (HSB) -- can be readily adapted to other industries.
Source: developerWorks : Open source : 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 : Open source : Technical library Developing for mobile devices has been a high cost, low return proposition for many years, despite the hype around it. The latest generation of smartphones powered by the iPhone OS and Google's Android provide a much simplified solution: just build Web applications. This gives you a one build for all devices approach, which can lower the cost. Even better, these high-end devices all offer ultra-modern browsers supporting advanced HTML, JavaScript, and CSS. In this article, learn how to build Asynchronous JavaScript and XML (Ajax)-heavy applications that take full advantage of the capabilities of modern smartphones. You will learn not only how to get the most out of these devices, but also how to deal with the subtle differences between them.
Source: developerWorks : Open source : Technical library iBATIS is a project used primarily for data access object (DAO) and object-relational mapping (ORM). You can use it to easily work with Java objects and databases. The update for iBATIS 3 beta 9 was posted January 23, 2010. iBATIS 3 is a completely rewritten version of iBATIS and includes some significant updates. This article introduces some of what's new in iBATIS 3.
Source: developerWorks : Open source : Technical library Lombok is a Java utility that enables developers to eliminate Java verbosity, specifically with plain old Java objects (POJOs). It does this with the use of annotations. Developers can save a lot of time constructing methods such as hashCode() and equals(), as well as the usual assortment of accessors and mutators, by implementing Lombok in their development environments.
Source: developerWorks : Open source : Technical library The popular jQuery JavaScript library is best known for its use working with HTML, but you can also use it to process XML, if you're careful and aware of the pitfalls. This article shows how to use jQuery to process the Atom Web feed format. Web feed XML is perhaps the most pervasive XML format around, and the main fulfillment of the promise of XML on the Web. But most such formats use XML namespaces, which cause issues with many popular JavaScript libraries, including jQuery.
Source: developerWorks : Open source : Technical library Google provides an interesting and easy-to-use open source alternative for developing unit tests to validate C/C++ based software. This article introduces readers to some of the more useful features of the Google C++ Testing Framework and is based on version 1.4 of the release.
Source: developerWorks : Open source : Technical library The Apache CXF Web services stack supports JAXB 2.x data binding (along with some alternative data bindings) and JAX-WS 2.x service configuration. Like the Metro JAXB/JAX-WS alternative discussed in earlier columns, CXF uses XML files to extend the JAX-WS configuration information. In this article, Java Web services series author Dennis Sosnoski looks into the basics of working with CXF for client and server development.
Source: developerWorks : Open source : Technical library If you want your teams to collaborate by using IBM Rational Team Concert and Jazz technology, yet you are reluctant to give up the mainframe software configuration management (SCM) system that you use, this article is for you. It explains how you can jump start your development teams on Rational Team Concert while enabling governance of your existing mainframe SCM system.
Source: developerWorks : Open source : Technical library NoSQL datastores like Bigtable and CouchDB are moving from margin to center in the Web 2.0 era because they solve the problem of scalability, and they solve it on a massive scale. Google and Facebook are just two of the big names that have bought in to NoSQL, and we're in early days yet. Schemaless datastores are fundamentally different from traditional relational databases, but leveraging them is easier than you might think, especially if you start with a domain model, rather than a relational one.
Source: developerWorks : Open source : Technical library One of Linux's strengths is its cross-platform nature: you can run it on x86, x86-64, SPARC, PowerPC, and many other central processing units (CPUs). This wealth of hardware choices poses a challenge for software developers, though. Ensuring that software compiles, and runs correctly, on all platforms can be difficult. The use of the QEMU package can help ease this burden. QEMU is a machine emulator that supports a wide range of CPUs, so you can run PowerPC software on an x86 computer, x86-64 software on an SPARC computer, or what have you. This facility is particularly useful for programmers who need to test software's endianness compatibility or check other CPU-specific features. QEMU also enables you to run different operating systems entirely, so that you can test a program's ability to compile and run under FreeBSD, Solaris, or even Microsoft Windows without shutting down Linux.
Source: developerWorks : Open source : Technical library Meet OpenLaszlo, an open source platform, released under the Common Public License (CPL), for the development and delivery of rich Internet applications (RIAs). OpenLaszlo is based on LZX, which is an object-oriented language utilizing XML and JavaScript. Rich-client applications written with OpenLaszlo run across browsers and across platforms. In this article, we look at the architecture and APIs of OpenLaszlo with several examples. We also cover the basic debugging tools.
Source: developerWorks : Open source : Technical library Are you an experienced PHP developer who needs to learn Python? This article approaches the world of Python development from a PHP developer's perspective, translating familiar PHP concepts, such as variables, lists, and functions, into their Python equivalents.
Source: developerWorks : Open source : Technical library Google Base allows users to store any type of content online in Google's version of a massive online database. Web application developers are able to access and search this content through the Google Base Data API. This article introduces the Google Base Data API and demonstrates it in the context of a PHP application, explaining how to use SimpleXML and the Zend_Gdata module to search, retrieve, add, and edit different types of data on Google Base.
Source: developerWorks : Open source : Technical library As mobile platforms become increasingly sophisticated, the demand for mobile computing will increase. In this "Introduction to the eSWT mobile extension series, learn about the embedded Standard Widget Toolkit (eSWT). You can use eSWT to develop native-looking Java applications for a variety of mobile phones. In this article, learn how to use more of the mobile controls: MultiPageDialog, QueryDialog, TimedMessageBox, MobileDevice, Screen, and Input.
Source: developerWorks : Open source : Technical library Hardware management using the Common Information Model standard often means that the management application must be capable of listening to and handling the indications that occur at the hardware level. To test the indication listener component of the management application when the planned system hardware is not available during development, you will need dummy indications. This article explains how to generate dummy indications on OpenPegasus CIMOM (Common Information Model Object Manager) using a provider shipped with the OpenPegasus source code.
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 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 Check out Global Innovation Outlooks' first-of-a-kind roundtable in Second Life, diving into conducting a collaborative, open innovation meeting in Second Life. The author also discusses tools to use for brainstorming and best practices to consider during planning.
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 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 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 : 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 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 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 Master techniques for collecting and customizing reusable content for a solution information center that describes your IT project. Learn fast paths for capturing many documents at once for instant reuse.
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 Recap and deliver your IT project experience for the benefit of clients, colleagues, and your own records. Quickly and productively document the solution you've implemented. Aggregate, organize, and share presentations, demos, product documentation, feeds, code samples, and other information you've created or reused for delivery in an Eclipse-based information center.
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 : Open source : Technical library Whether looking for the nearest coffee shop on a GPS-enabled smartphone, nearby friends via a social-networking site, or all trucks within the city delivering a certain product, more and more people and businesses are using location-aware search services. Creating such services has often been the domain of expensive proprietary solutions and geospatial experts. Recently, however, the popular open source search library, Apache Lucene, and the powerful Lucene-powered search server, Apache Solr, have added spatial capabilities. Lucene and Solr committer Grant Ingersoll walks you through the basics of spatial search and shows you how to leverage its capabilities to power your next location-aware application.
Source: developerWorks : Open source : Technical library The core PHP libraries and the open source contributions to PHP provide innumerable functions. PHP extensions provide everything from byte-code caching to system calls. However, if you require specialized computation, you can create your own extension with the Simplified Wrapper and Interface Generator (SWIG).
Source: developerWorks : Open source : 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. In December 2009, SugarCRM released version 5.5 of the application suite, which completely revitalized the Web Services platform. The changes include a faster, easier-to-use API, the ability to easily extend the API that is presented to a Web service client, and the addition of REST support. In this article, you'll take a look at what REST is and how to use the REST support in the Web Services API to interact with a SugarCRM instance.
Source: developerWorks : Open source : Technical library Google Books allows Web application developers to access book lists and metadata through its REST-based developer API. The Zend Framework's Gdata module is able to process the XML feeds generated by this API and use it in the context of customized Web applications. This article introduces the Google Book Search Data API, demonstrating how you can use it to search for books by keyword, author, and title; retrieve book thumbnails and previews; and add reviews and labels to user libraries.
Source: developerWorks : Open source : Technical library ZK, an open source Asynchronous JavaScript + XML (Ajax) framework written in Java code, lets you write a Web 2.0-enabled, rich Internet application without writing a single line of JavaScript code. Typical Ajax frameworks like Dojo have JavaScript libraries that expose certain API's for making "Ajaxified" calls. ZK, on the other hand, uses a meta-definition based on XML to define the user interface. Translation to HTML code then occurs when this page is requested by the client. This article introduces you to ZK and gives you a real-world example of its use running on Apache Tomcat and connecting to a MySQL database.
Source: developerWorks : Open source : Technical library This article is for any Eclipse developer who wants to learn how to use the mature Web Tools Platform release of Galileo to develop, debug, and deploy a restaurant-search Facebook application. Along the way, you will take advantage of various aspects of the Facebook Application API and the Facebook Connect API.
Source: developerWorks : Open source : Technical library In this "Design and develop SCA components using the Spring Framework" series, learn how Service Component Architecture (SCA) and the Spring Framework effectively combine to build distributed service applications. This article explores some of the advanced features supported by the Apache Tuscany runtime. Learn how multiple application contexts can be combined and used to implement your SCA component. An example walks you through SCA annotations used to explicitly declare the SCA services, references, and properties within your Spring bean classes.
Source: developerWorks : Open source : Technical library IBM DB2 pureXML allows you to store XML data natively in a relational database management system, giving you the power and flexibility to report on this data without disturbing the advantages that its XML format offers. In this tutorial, you will learn how to connect to a DB2 database from the Python programming language, importing data about population from the United States Census Bureau. You will use Python to convert this CSV file into XML, before inserting this XML data natively into DB2. Finally, you will use Python to create a command-line application that produces some informative tables that you can access through a menu system.
Source: developerWorks : Open source : Technical library 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.
Source: developerWorks : Open source : Technical library Learn how to access the features of the Twitter API using the CPAN Net::Twitter module. You'll also see some solid business uses for Twitter, including automated posting and analyzing Twitter search results.
Source: developerWorks : Open source : Technical library Get to know the work-distibution system Gearman, and distribute the workload of applications written in PHP, C, Ruby, or any other supported language.
Source: developerWorks : Open source : Technical library The IBM Corporate Service Corps (CSC) is a leadership development program that brings in-depth business and IT consulting support to organizations in developing countries that are working on core societal challenges. This is the story of one CSC project, the impact it had on a university in East Africa, and the impact it had on the team members who participated.
Source: developerWorks : Open source : Technical library For collecting data from Web pages, the mechanize library automates scraping and interaction with Web sites. Mechanize lets you fill in forms and set and save cookies, and it offers miscellaneous other tools to make a Python script look like a genuine Web browser to an interactive Web site. A frequently used companion tool called Beautiful Soup helps a Python program makes sense of the messy "almost-HTML" that Web sites tend to contain.
Source: developerWorks : Open source : Technical library WS-SecureConversation lets you secure ongoing Web service message exchanges with less processing overhead than plain WS-Security. In this article, you'll learn how to configure and use WS-SecureConversation with the three main open source Java Web services stacks: Apache Axis2, Metro, and Apache CXF. You'll also see how the three stacks compare on WS-SecureConversation performance.
Source: developerWorks : Open source : Technical library This series explores the major types of cloud services and related software that you can use to build Web-scale systems. Here in Part 1, learn how Infrastructure as a Service (IaaS) clouds provide basic services you can use to deploy and run your applications. The article also discusses how Eucalyptus can be used as an infrastructure to create public or private clouds.
Source: developerWorks : Open source : Technical library Eclipse includes the ability to define and use code templates that increase your productivity and make your code more predictable. This tip shows you how to edit the existing code templates and define new ones. It includes examples of the built-in variables so you can see what they resolve to in the editor.
Source: developerWorks : Open source : Technical library Explore the concepts, design, and implementation details pertaining to interacting with social media sites using various APIs and XML-based data formats such as Really Simple Syndication (RSS), Atom, Facebook Markup Language (FBML), OpenSocial Markup Language (OSML), SOAP, and plain old XML (POX).
Source: developerWorks : Open source : Technical library Get to know the BIRT extension point model by creating a basic aggregation extension in BIRT using the new V2.3+ extension model.
Source: developerWorks : Open source : Technical library Flickr isn't just for photo sharing and social networking; it's a legitimate business tool. Learn how Perl programmers can use the CPAN Chart modules to create charts and graphs, and the Flickr::Upload module to upload the charts to Flickr.
Source: developerWorks : Web development : Technical library 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.
Source: developerWorks : Web development : Technical library How do you know who is doing what and where on your site? Chances are you have an Apache-style log for your site, and you just need to learn how to mine it for valuable information. Learn about the format of Web server logs and how to access them in code. Along the way, apply a recipe to identify spider traffic from Web crawlers.
Source: developerWorks : Open source : Technical library Java developers have a variety of choices when it comes to serializing and deserializing Extensible Markup Language (XML) objects. Simple is one such example, and it offers a number of advantages over its competitors. In this article, explore an introductory overview of how to use Simple within an XML communication system.
Source: developerWorks : Open source : Technical library With the Ganymede release, the Eclipse Update Manager has been replaced by the Equinox/p2 provisioning framework. Author Nathan Good gives a high-level overview of the framework, and discover its benefits for users and update site builders.
Source: developerWorks : Open source : Technical library Learn how to create a Twitter-enabled Web 2.0-style application using Django, jQuery, and the python-twitter wrapper that you can easily use and plug in to your own Django project. With this application, you'll be able to see recent tweets, post updates, and show your friends and followers.
Source: developerWorks : Open source : Technical library This article describes the various refactorings available in Eclipse Java Development Tools (JDT), including what each refactoring does, when to use it, and how to use it. It also explores the refactoring scripts functionality in Eclipse that allows library developers to share refactorings of their code with their clients.

Source: developerWorks : Open source : Technical library Database security is the single biggest concern with today's Web-based applications. Without control, you risk exposing sensitive information about your company or, worse yet, your valuable customers. In this article, learn about security measures you can take to protect your PostgreSQL database.
Source: developerWorks : Web development : 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 : Web development : Technical library 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.
Source: developerWorks : Open source : Technical library Cloud computing minimally requires two components: the client software that runs on the portable device and the server software that normally runs on a network server. This article proposes creating an Android-based service that emulates a network server that enhances the value of the local machine in unique and unexpected ways. Put a tiny cloud in your Android handset and experience the usefulness of a local Web server.
|