Article Network

Apache Cassandra: Libraries and Applications

by Edward Capriolo | June 2011 | Open Source

Apache Cassandra is a fault-tolerant, distributed data store which offers linear scalability allowing it to be a storage platform for large high volume websites.

In this article by Edward Capriolo, author of Cassandra High Performance Cookbook, you will learn:

  • Building the contrib stress tool for benchmarking
  • Inserting and reading data with the stress tool
  • Running the Yahoo! Cloud Serving Benchmark
  • Hector, a high-level client for Cassandra
  • Doing batch mutations with Hector
  • Cassandra with Java Persistence Architecture (JPA)
  • Setting up Solandra for full text indexing with a Cassandra backend
  • Setting up Zookeeper to support Cages for transactional locking
  • Using Cages to implement an atomic read and set
  • Using Groovandra as a CLI alternative
  • Searchable log storage with Logsandra
Read Apache Cassandra: Libraries and Applications in full

Apache Axis2 Web Services: Writing an Axis2 Module

by Deepal Jayasinghe | February 2011 | Cookbooks Web Services Open Source

In this article, we will learn that the Axis2 module provides a very flexible way to extend the Axis2 core functionality and provides quality service. Moreover, we'll discuss the module and related concepts by writing a sample module and demonstrating most of the commonly used configuration settings. In our sample application, we discuss how to write handlers, how to write module implementation classes, and finally, how to put everything together and deploy the module. At the end of the article, we learn how to engage a module to Axis2.

In this article by Deepal Jayasinghe and Afkham Azeez, authors of Apache Axis2 Web Services, 2nd Edition, we will discuss the power of Axis2 modules and how to use them to extend Axis2 to support your own requirements. In particular, we will discuss the following items:

  • Brief history of the Axis2 module and introduce module concept and its structure
  • Module configuration file (module.xml)
  • Optional module implementation class
  • Steps to writing a module.xml file
  • Deploying and engaging a module
  • Brief overview of the WS-Policy and its usage in modules
Read Apache Axis2 Web Services: Writing an Axis2 Module in full

Animation in Silverlight 4

by Frank LaVigne | April 2010 | Beginner's Guides Microsoft Web Development Web Graphics & Video

Packt are due to launch a new Enterprise brand, into which future Silverlight titles will be published. For more information on that launch, look here.

In this article by Frank LaVigne, author of Microsoft Silverlight 4 Business Application Development, we shall create an interactive logo using Silverlight and incorporate it into the website.

Read Animation in Silverlight 4 in full

Animation Effects in ASP.NET using jQuery

by Sonal Aneel Allana | May 2011 | .NET

jQuery offers many useful utilities to achieve animation effects, thus empowering developers to build rich animated pages for a better interactive experience for the web users. This article looks into various interesting animation effects that can be achieved using jQuery.

In this article by Sonal Aneel Allana, author of ASP.NET jQuery Cookbook, we will cover:

  • Enlarging text on hover
  • Creating fade effect on hover
  • Sliding elements on a page
  • Preventing animation queue buildup
  • Animating a panel
  • Chaining animations together
Read Animation Effects in ASP.NET using jQuery in full

Animating in Panda3D

by David Brian Mathews | March 2011 | Open Source

Animation is a crucial component of most 3D applications. Our game is a bit of a special case because our characters are vehicles rather than people, and they don't need walking or running animations. For many video games, that won't be the case. In order to be better prepared for those situations, we're going to use a simple proxy program to discuss some of the aspects of animation and how it's used in Panda3D. Once we've covered that material, we'll employ some aspects of the animation system in our game as well. Our hover cycles may not need a walking animation, but there are pieces of the animation system we can make use of.

The topics we're going to cover in this article by David Brian Mathews, author of Panda3D 1.6 Game Engine Beginner's Guide, will be:

  • Loading Actors and Animations
  • Controlling Animation
  • Blending Animations
  • Creating and using Actor subparts
  • Exposing joints
Read Animating in Panda3D in full

Animating Graphic Objects using Python

by Mike Ohlson de Fine | December 2010 | Cookbooks Open Source

The previous article, Python Graphics: Animation Principles, starts with examples of simple sequences of a circle in different positions and systematically progresses to smoothly-moving animations of elastic balls bouncing inside a gravity field.

In this article by Mike Ohlson de Fine, author of Python 2.6 Graphics Cookbook, we will cover:

  • Colliding balls with tracer trails
  • Elastic ball against ball collisions
  • Dynamic debugging
  • Trajectory tracing
  • Rotating a line and vital trigonometry
  • Rotating lines which rotate lines
  • A digital flower
Read Animating Graphic Objects using Python in full

Animating capabilities of Cinema 4D

by Aaron Kaminar | May 2013 | Open Source

Cinema 4D is a powerful 3D application created by Maxon computing. It is relatively easy to learn and use. Despite this, it also has a host of powerful features that can be used to create dynamic and eye catching 3D images and animations, quickly and efficiently. In this article by Aaron Kaminar from the book Instant Cinema 4D Starter, we will walk through some of the animating capabilities of this powerful application.

Read Animating capabilities of Cinema 4D in full

Animating a built-in button

by Nick Polyak | March 2013 | Enterprise Articles Microsoft

This article by Nick Polyak, author of Instant Silverlight 5 Animation , will describe the process involved in animating a built-in button.

A Silverlight button has the following mouse-driven states:

  • Normal

  • MouseOver

  • Pressed

Read Animating a built-in button in full

Angular Zen

by Pawel Kozlowski Peter Bacon Darwin | September 2013 | Open Source Web Development

This article written by Pawel Kozlowski and Peter Bacon Darwin, the authors of Mastering Web Application Development with AngularJS, serves as an introduction to AngularJS, both the framework and the project behind it. Firstly we are going to take a brief look at the project itself: who drives it, where to find the source code and the documentation, how to ask for help, and so on.

Most of this article is filled with introduction to the AngularJS framework, its core concepts, and coding patterns. There is a lot of material to cover, so to make the learning process fast and painless, there are plenty of code examples.

AngularJS is a unique framework that without doubt will shape the web development space in the years to come. This is why the last part of this article explains what makes AngularJS so special, how it compares to other existing frameworks, and what we can expect from it in the future.

In this article we will cover the following topics:

  • How to write a simple Hello World application in AngularJS. In the process of doing so, you will come to know where to find framework source code, its documentation, and community.
  • To get familiar with the basic building blocks of any AngularJS application: templates with directives, scopes, and controllers.
  • To become aware of the AngularJS sophisticated dependency injection system with all its nuances.
  • To understand how AngularJS compares to other frameworks and libraries (especially jQuery) and what makes it so special.
Read Angular Zen in full

Android User Interface Development: Validating and Handling Input Data

by Jason Morris | July 2011 | Beginner's Guides Web Services

Android provides an excellent toolset to capture many different types of data from the user, while also providing loose coupling between your application components in the form of Intent structures. By using several smaller Activity classes to capture data, while at the same time abstracting the functionality to capture different types of input, you'll be able to more easily reuse the input capturing Activity classes, not just within the application, but in other applications as well. Further, by registering the Activity correctly, you'll allow other applications to override, or make use of your Activity implementation, allowing the users to select their preferred capturing mechanism.

This article by Jason Morris, author of Android User Interface Development: Beginner's Guide, provides tips regarding taking input from a user, and how to keep this experience as painless as possible. This article investigates the different input widgets Android provides and how to configure them best, depending on the situation. Also, when everything else fails, how best to inform your users that what they are doing is wrong.

Read Android User Interface Development: Validating and Handling Input Data in full

Android User Interface Development: Animating Widgets and Layouts

by Jason Morris | February 2011 | Beginner's Guides Web Services

The Android platform is in many ways similar to developing applications for the web. There are many devices, made by many manufactures, with different capabilities and specifications. Yet as a developer, you will want your users to have the most consistent experience possible. Unlike a web browser, Android has built-in mechanisms for coping with these differences, and even leveraging them.

In this article by by Jason Morris, author of the book Android User Interface Development: Beginner's Guide, we will be looking at— widget animations and layout animations. We'll look at the standard animation structures provided by Android, and we'll look at how to create new animation types and extend the existing ones. We'll also be looking at timing and "good practice" use of animations, and keeping users happy without slowing them down or distracting them.

Read Android User Interface Development: Animating Widgets and Layouts in full

Android Native Application API

by Feipeng Liu | May 2013 | Cookbooks

Thanks to the Android native application APIs, it is possible to write an Android application with pure native code since Android API level 9 (Android 2.3, Gingerbread). That is, not a single line of Java code is needed. The Android native APIs are defined in several header files under the <NDK root>/platforms/android-<API level>/arch-arm/usr/ include/android/ folder.

In this article by Feipeng Liu author of Android Native Development Kit Cookbook, we will cover the following recipes:

  • Creating a native activity with the native_activity.h interface

  • Creating a native activity with the Android native app glue

  • Managing native windows at Android NDK

  • Detecting and handling input events at Android NDK

  • Accessing sensors at Android NDK

  • Managing assets at Android NDK

Read Android Native Application API in full

Android Fragmentation Management

by Gianluca Pacchiella | September 2013 | Open Source

In this article by Gianluca Pecchiella, the author of Instant Android Fragmentation Management How-to, we will discuss a little bit about Android Fragmentation Management.

Read Android Fragmentation Management in full

Android Database Programming: Binding to the UI

by Jason Wei | June 2012 | Open Source

As mobile developers, our applications will need to both aesthetically display the results of our data queries, as well as give users an intuitive interface to store and insert data.

In this article by Jason Wei, author of Android Database Programming, we will focus on the former – on binding data to the user interface (UI) and will look specifically at various classes that will allow us to bind our data in the form of lists (the most common and intuitive way to display rows of data).

Read Android Database Programming: Binding to the UI in full

Android Application Testing: TDD and the Temperature Converter

by Diego Torres Milano | June 2011 | Web Services

It doesn't matter how much time you invest in Android design, or even how careful you are when programming, mistakes are inevitable and bugs will appear.

This article by Diego Torres Milano, author of Android Application Testing Guide, introduces the Test Driven Development discipline. We will start with a general revision and later on move to the concepts and techniques closely related to the Android platform.

In this article, we:

  • Introduce and explain Test Driven Development
  • Creating a sample project—the Temperature Converter
  • Creating the TemperatureConverterActivityTests project
Read Android Application Testing: TDD and the Temperature Converter in full

Android Application Testing: Getting Started

by Diego Torres Milano | June 2011 | Web Services

It doesn't matter how much time you invest in Android design, or even how careful you are when programming, mistakes are inevitable and bugs will appear.

This article by Diego Torres Milano, author of Android Application Testing Guide, introduces the different types of testing and their applicability to software development projects in general and to Android in particular.

We will take a look at the following:

  • Software bugs
  • Why, what, how, and when to test
  • Types of tests
  • Android testing framework
Read Android Application Testing: Getting Started in full

Android Application Testing: Adding Functionality to the UI

by Diego Torres Milano | June 2011 | Web Services

It doesn't matter how much time you invest in Android design, or even how careful you are when programming, mistakes are inevitable and bugs will appear.

The previous article by Diego Torres Milano, author of Android Application Testing Guide, introduced the Test Driven Development discipline.

In this article we will take a look at adding some basic functionality to the user interface.

Read Android Application Testing: Adding Functionality to the UI in full

Android 3.0 Application Development: Multimedia Management

by Kyle Merrifield Mew | August 2011 | Open Source

As the computing power of mobile devices has increased, so has their ability to play and record a variety of media such as audio and video. Android provides some useful tools for managing multimedia.

In this article by Kyle Merrifield Mew, author of Android 3.0 Application Development Cookbook, we will cover the following recipes:

  • Playing an audio file from within an application
  • Playing back video from external memory
  • Playing multiple sounds with a SoundPool
Read Android 3.0 Application Development: Multimedia Management in full

Android 3.0 Application Development: Managing Menus

by Kyle Merrifield Mew | July 2011 | Open Source

Menus are an essential part of almost any operating system. On mobile systems where screen real estate is limited, they play an even more important role. Android provides similar mechanisms for menus as it does for other visual elements, making it possible to separate them from application code by the use of XML.

In this article by Kyle Merrifield Mew, author of Android 3.0 Application Development Cookbook, we will cover the following topics:

  • Creating and inflating an options menu
  • Designing Android compliant menu icons
  • Building a context sensitive menu
  • Handling menu selections
  • Building menu groups of checkable items
  • Applying shortcut keys and submenus
Read Android 3.0 Application Development: Managing Menus in full

Android 3.0 Application Development: GPS, Locations, and Maps

by Kyle Merrifield Mew | July 2011 | Open Source

One of the most remarkable aspects of modern smartphones is the way they can detect their location either through a Global Positioning System (GPS), or cell towers and WiFi signal strength; and more often than not, applications use both.

In this article by Kyle Merrifield Mew, author of Android 3.0 Application Development Cookbook, we will cover the following topics:

  • Detecting a device's location
  • Listening for location changes
  • Setting up Google Maps
  • Zooming in on a MapView
  • Setting a map's location with a GeoPoint
  • Marking a location on a map with an overlay
Read Android 3.0 Application Development: GPS, Locations, and Maps in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software