Article Network

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

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

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

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

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

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

Applying LINQ to Entities to a WCF Service

by Mike Liu | February 2013 | Enterprise Articles Microsoft

In this article by Mike Liu, the author of WCF 4.5 Multi-Layer Services Development with Entity Framework, we will learn how to update a product with LINQ to Entities in the data access layer. We will see how to apply changes of a client object to LINQ to Entities and leave all of the update work to LINQ to Entities, and will also see how to control the concurrency of updates with LINQ to Entities.

Read Applying LINQ to Entities to a WCF Service in full

Applying Special Effects in 3D Game Development with Microsoft Silverlight 3: Part 1

by Gastón C. Hillar | September 2009 | Beginner's Guides Web Development Web Graphics & Video

In this two part article series by Gastón C. Hillar, we will use advanced physics and add special effects to the scenes. We will learn to generate gravity effects, add fluids with movements, and use transitions to determine different states in a game.

By reading this article and following the exercises we will learn to:

  • Add many background models, adding life to the game
  • Control many independent backgrounds
  • Simulate fluids with movement
  • Work with multiple concurrent physics simulators
  • Use advanced physics simulation to create waves
Read Applying Special Effects in 3D Game Development with Microsoft Silverlight 3: Part 1 in full

Archiva in a Team: Part 1

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

This article by Maria Odea Ching and Brett Porter showcases the different techniques and ways for getting the best out of using an Archiva repository. We will learn a little bit about access control in Archiva, how to configure and use a virtual repository, and a whole lot about maintenance.

Read Archiva in a Team: Part 1 in full

Archiva in a Team: Part 2

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

Read Part One of Archiva in a Team.

Read Archiva in a Team: Part 2 in full

Arrays and Control Structures in Object-Oriented JavaScript

by Stoyan Stefanov | May 2009 | AJAX Web Development

In this article by Stoyan Stefanov, you will learn about the basics of Object-Oriented JavaScript which will cover the following:

  • Arrays
  • Flow control statements, such as loops and if-else conditions
Read Arrays and Control Structures in Object-Oriented JavaScript 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