Article Network

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 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

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

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

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

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 Cassandra: Working in Multiple Datacenter Environments

by Edward Capriolo | July 2011 | Cookbooks 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.

The tunable consistency model of Cassandra extends beyond a single datacenter to complex multiple datacenter scenarios. This article by Edward Capriolo, author of Cassandra High Performance Cookbook, discusses the features inside Cassandra that are designed for this type of deployment.

Read Apache Cassandra: Working in Multiple Datacenter Environments in full

Apache CloudStack Architecture

by Navin Sabharwal Ravi Shankar | June 2013 | Open Source

This article is written by Navin Sabharwal and Ravi Shankar, the authors of Apache CloudStack Cloud Computing, introduces you to Cloud Computing, the architecture of Apache CloudStack, and the various components of Apache CloudStack.

To understand Apache CloudStack, it is important to have an understanding of the basic building components of the cloud. In this article we will introduce you to the following:

  • The concept of cloud computing
  • The core components of the cloud
  • The basic components of CloudStack—management servers and types of storage
Read Apache CloudStack Architecture in full

Apache Continuum: Ensuring the Health of your Source Code (Part 1)

by Brett Porter Maria Odea Ching | September 2009 | Java Open Source

In the article Continuum: Ensuring the Health of your Source Code by Maria Odea Ching and Brett Porter, we will learn about the importance of a continuous integration, or CI, server in a project (especially gigantic ones!).

We will be using Continuum to show you first-hand the formidable role of a CI server in the development life cycle. We will learn the essentials of how to set up Continuum, plus the basics of how to configure it so you will know when your project's build breaks.

The first part of the article deals with setting up a source repository, installing any required applications or tools, and setting up Continuum. The remaining sections cover the systematic process of adding and building projects in Continuum.

Read Apache Continuum: Ensuring the Health of your Source Code (Part 1) in full

Apache Felix Gogo

by Walid Joseph Gédéon | November 2010 | Beginner's Guides Open Source

Felix Gogo, a sub-project of Apache Felix, is an implementation of this early draft specification. The Gogo shell is included with the Felix Framework Distribution since version 3.0.

It is worth noting that this specification is not yet part of the official OSGi specifications, and therefore, may change in the future.

In this article, by Walid Gédéon, author of OSGi and Apache Felix 3.0, we will:

  • Learn about the Tiny Shell Language and its syntax
  • Cover some of the commands provided by Gogo

So let's start with a quick overview of the language.

Read Apache Felix Gogo in full

Apache Geronimo Logging

by Vamsavardhana Reddy Chillakuru | November 2009 | Java Open Source

The ability to log important events or errors for problem diagnosis and then checking of application execution is very important. The ability to log certain statements selectively while others are not logged, depending on the context in which the application is running, is also important. An application that is deployed in Apache Geronimo can use any custom logging mechanism to log its messages. However, Apache Geronimo uses log4j and slf4j for logging server log messages. Applications deployed in Geronimo can also leverage the functionality of these logging frameworks. In this article by Vamsavardhana Reddy Chillakuru, we will see how an application developer can configure logging for his application in Apache Geronimo, by using some common logging frameworks. The frameworks that we will be covering are:

  • Apache log4j
  • Java logging API
  • slf4j logging adapter
Read Apache Geronimo Logging in full

Apache MyFaces Extensions Validator

by Bart Kummel | March 2010 | Java Open Source Web Development

In this article by Bart Kummel, author of Apache MyFaces 1.2 Web Application Development, you will be able to:  

  • Set up a project to use ExtVal
  • Use ExtVal to generate validation based on JPA annotations
  • Use ExtVal’s added annotations for additional validation
  • Implement cross validation using ExtVal’s annotations
  • Use ExtVal with custom JSF validators
  • Create custom error messages for ExtVal validations
  • Override and extend ExtVal’s default behavior
Read Apache MyFaces Extensions Validator in full

Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1

by David Thomas | November 2009 | Web Development

In this article we develop the basic parts of the web application that serves as Trinidad sample web application. For example, login registration, user authorization, navigation, internationalization (18n), and polling are implemented and briefly discussed. We cover all these areas and learn how this can be practically solved in conjunction with Trinidad, Facelets, and Seam and provide further completing information wherever required.

Also, at the end of this two-part article by David Thomas, we deal with deployment using Seam-gen to rapidly deploy at each change of any file.

Read Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1 in full

Apache OFBiz Entity Engine

by Ruth Hoffman | November 2010 | Cookbooks Open Source

This article, by Ruth Hoffman, author of Apache OFBiz, discuss' the recipe's for OFBiz entity engine.

This article will cover:

  • Changing the default database
  • Connecting to a remote database
  • Connecting to multiple databases
  • Creating entity groups
  • Disabling automatic database checks
  • Mapping database data types
  • Creating a new entity model
  • Modifying an existing entity model
  • Building a view-entity
Read Apache OFBiz Entity Engine in full

Apache OFBiz Service Engine: Part 1

by Jonathon Wong Rupert Howell | June 2009 | Java Open Source

In this two-part article by Jonathon Wong and Rupert Howell, we will be exploring the Service Engine. Services in OFBiz operate in a Service Oriented Architecture (SOA). These services not only have the ability to invoke other services internally, but can also be 'opened up' and invoked by remote applications using, amongst other methods, the widely adopted messaging protocol SOAP.

Besides serving as a platform for interoperability, OFBiz services also offer us additional capability to organize our code. The traditional organizational strategies in object-oriented Java were a great improvement over the procedural paradigm. Wrapping both methods and variables together into objects to form a powerful "behavioral model" for code organization (where object's methods and variables define their behavior). Similarly with OFBiz services we are able to bundle groups of behavior together to form a coherent "service". We can say that OFBiz services, in terms of code or software organization, operate at a higher level than Java object-oriented organizational strategies.

In this part, we will be looking at:

  • Defining and creating a Java service
  • Service parameters
  • Special unchecked (unmatched) IN/OUT parameters
  • Security-related programming
Read Apache OFBiz Service Engine: Part 1 in full

Apache OFBiz Service Engine: Part 2

by Jonathon Wong Rupert Howell | June 2009 | Java Open Source

In the previous part of the article by Jonathon Wong and Rupert Howell, we looked at Defining and creating a Java service, Service parameters, Special unchecked (unmatched) IN/OUT parameters, and Security-related programming. In this part, we will look at the following:

  • Calling services from code (using dispatcher)
  • IN/OUT parameter mismatch when calling services
  • Sending feedback; standard return codes success, error and fail
  • Implementing Service Interfaces
  • Synchronous and asynchronous services
  • Using the Service Engine tools
  • ECAs: Event Condition Actions
Read Apache OFBiz Service Engine: Part 2 in full

Apache OFBiz Services

by Ruth Hoffman | September 2010 | Cookbooks Open Source

In this article, by Ruth Hoffman, author of Apache OFBiz Cookbook, we explore the following OFBiz Service topics:

  • Managing OFBiz Services
  • Calling asynchronous, synchronous, and recurring Services from an HTML form
  • Creating a Service definition file
  • Creating a Service definition
  • Service implementation
  • Defining Service input and output attributes
  • Service Event Condition Actions (SECAs)
  • Service groups
  • Handling Service errors
  • Implementing Groovy Services
  • Mail Event Condition Actions (MECAs)
  • Entity Event Condition Actions (EECAs)
Read Apache OFBiz Services in full

Apache Roller 4.0: Creating a Theme

by Alfonso V. Romero | November 2010 | Beginner's Guides Open Source

In this article by Alfonso V. Romero, author of Apache Roller 4.0 Beginner's Guide, we will look at how to create your first Roller theme from scratch. We will also cover the basics about the theme.xml, weblog.vm, _day.vm, and stylesheet override files used inside a Roller theme.

Read Apache Roller 4.0: Creating a Theme 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