Article Network

Applications of Physics

by Brian Broyles Jayme Schroeder | February 2013 | Cookbooks Games Open Source

In this article by Jayme Schroeder and Brian Broyles the authors of AndEngine for Android Game Development Cookbook, we are going to see Physics-based games provide players with a unique type of experience not encountered in many other genres. This article covers the use of AndEngine's Box2D physics extension. Our recipes include:

  • Introduction to the Box2D physics extension

  • Understanding different body types

  • Creating category-filtered bodies

  • Creating multiple-fixture bodies

  • Creating unique bodies by specifying vertices

  • Using forces, velocities, and torque

Read Applications of Physics in full

Application, Session, and Request Scope in ColdFusion 9

by John Farrar | July 2010 | Web Development

In the previous article we had an introduction to the Application.cfc object and application variables. Next, we are going to discover the differences between application, session, and request scopes. We will learn how to share some information and how to protect the rest of the information in a controlled manner. In this article by John Farrar, author of ColdFusion 9 Developer Tutorial, we will have a look at the following topics:

  • The special standard method events, which ColdFusion calls in the Application.cfc object.
  • Custom tag paths and mapping settings inside the object—the two special functions of the Application.cfc object.
Read Application, Session, and Request Scope in ColdFusion 9 in full

Application Packaging in VMware ThinApp 4.7 Essentials

by Peter Björk | January 2013 | Enterprise Articles

In this article by Peter Björk, authors of VMware ThinApp 4.7 Essentials, we will cover the packaging process. We'll discuss packaging's best practices the, packaging environment, entry points, the data container, and Package.ini.

Read Application Packaging in VMware ThinApp 4.7 Essentials in full

Application Development in Visual C++ - The Tetris Application

by Stefan Björnander | August 2008 | .NET Microsoft

Tetris is a classic game. In this article by Stefan Björnander, we will develop a version very similar to the original version. Seven figures of different shapes and colors fall down and the player's job is to move and rotate them into positions so that as many rows as possible are completely filled. When a row is filled, it disappears. Every removed row gives one point.

Read Application Development in Visual C++ - The Tetris Application in full

Appcelerator Titanium: Creating Animations, Transformations, and Understanding Drag-and-drop

by Boydlee Pollentine | December 2011 | Cookbooks

Almost any control or element in Titanium can have an animation or transform applied to it. This allows you to enhance your applications by adding a level of interactivity and "bling" that your apps would otherwise perhaps not have.

In this article by Boydlee Pollentine, author of of Appcelerator Titanium Smartphone App Development Cookbook, we will cover:

  • Animating a View using the "animate" method
  • Animating a View using 2D matrix and 3D matrix transforms
  • Dragging an ImageView using touch events
  • Scaling an ImageView using a Slider control
  • Saving our "Funny Face" image using the toImage() method
Read Appcelerator Titanium: Creating Animations, Transformations, and Understanding Drag-and-drop in full

Apache Wicket: Displaying Data Using DataTable

by Igor Vaynberg | April 2011 | Cookbooks Open Source Web Development

No web application is complete without a page that has a table of data. In this article by Igor Vaynberg, author of Apache Wicket Cookbook, we will learn how to make great use of Wicket's DataTable components to make displaying awesome tables a snap.

In this article we will cover:

  • Sorting
  • Filtering
  • Making cells clickable
  • Making rows selectable with checkboxes
  • Exporting data to CSV
Read Apache Wicket: Displaying Data Using DataTable in full

Apache Solr: Spellchecker, Statistics, and Grouping Mechanism

by Rafał Kuć | July 2011 | Open Source

There are many features of Solr that we don't use every day. In the previous article by Rafal Kuc, author of Apache Solr 3.1 Cookbook, we took a look at some Solr functionalities such as highlighting, sorting results, ignoring words, and so on. In this article, we will take a look at the spellchecker, statistics, or grouping mechanism which may not be in everyday use, but they can come in handy in many situations. The author will try to show you how to overcome some typical problems that can be fixed by using these Solr functionalities.

Specifically, we will cover:

  • Computing statistics for the search results
  • Checking user's spelling mistakes
  • Using "group by" like functionalities in Solr
Read Apache Solr: Spellchecker, Statistics, and Grouping Mechanism in full

Apache Solr: Analyzing your Text Data

by Rafał Kuć | July 2011 | Open Source

The process of data indexing can be divided into different parts. One of the parts, actually one of the last parts, of this process is data analysis . It's one of the crucial parts of data preparation. It defines how your data will be written into index, its structure, and so on. In Solr, data behavior is defined by types.

In this article by Rafał Kuć, author of Apache Solr 3.1 Cookbook, we will cover:

  • Storing additional information using payloads
  • Eliminating XML and HTML tags from the text
  • Copying the contents of one field to another
  • Changing words to other words
  • Splitting text by camel case
  • Splitting text by whitespace only
  • Making plural words singular, but with out stemming
  • Lowercasing the whole string
  • Storing geographical points in the index
  • Stemming your data
  • Preparing text to do efficient trailing wildcard search
  • Splitting text by numbers and non-white space characters
Read Apache Solr: Analyzing your Text Data in full

Apache Solr Configuration

by Rafał Kuć | February 2013 | Cookbooks

Setting up an example Solr instance is not a hard task, at least when setting up the simplest configuration. The simplest way is to run the example provided with the Solr distribution, that shows how to use the embedded Jetty servlet container.

In this article by Rafal Kuc, author of Apache Solr 4 Cookbook , we will cover the following topics:

  • Running Solr on Jetty

  • Running Solr on Apache Tomcat

  • Installing a standalone ZooKeeper

  • Clustering your data

  • Choosing the right directory implementation

  • Configuring spellchecker to not use its own index

  • Solr cache configuration

  • How to fetch and index web pages

We have a simple configuration, simple index structure described by the schema.xml file, and we can run indexing.

In this article you'll see how to configure and use the more advanced Solr modules; you'll see how to run Solr in different containers and how to prepare your configuration to different requirements. You will also learn how to set up a new SolrCloud cluster and migrate your current configuration to the one supporting all the features of SolrCloud. Finally, you will learn how to configure Solr cache to meet your needs and how to pre-sort your Solr indexes to be able to use early query termination techniques efficiently.

Read Apache Solr Configuration 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

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 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 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 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 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 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
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
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