Article Network

All | June | May | April

Introducing variables

by John Bura | June 2014 | Games

Computer programming is based on mathematical principles. After all, the first computer was made to actually calculate equations, and it was only later that applications (as we know them) were developed. You have probably heard of variables in science and math classes. In computers, these variables are necessary to make applications and they are very important in games. Even a small indie game might have hundreds of variables. In this article by John Bura, author of Construct 2 Game Development by Example, we will look at what a variable is, why it is needed, and the different types of variables.

Variables are places where you can store small amounts of data. This data can be a name, a number, a date, a game object, or it can even store true or false information. Variables are essential to games because they can store items such as the following:

  • Score

  • Player name

  • Game objects

  • Mouse position

  • Keyboard input

Read Introducing variables in full

Serving and processing forms

by Amuthan G | June 2014 | Beginner's Guides Open Source Web Development

In this article by Amuthan G, author of the book Spring MVC Beginner's Guide, we will see how to serve and process forms; we will also learn how to bind form data with a form-backing bean and read that bean in the controller.

Read Serving and processing forms in full


by Kirill Muzykov | June 2014 | Beginner's Guides Games Open Source

In this article by Kirill Muzykov, the author of Learning iPhone Game Development with Cocos2D 3.0, we'll start building our sample game called Cocohunt. We'll start by creating the Xcode project skeleton and adding the GameScene class to the project. Then, we'll start filling the empty GameScene scene with the actual game objects. We will add the most common type of objects used in games—sprites. We'll learn their main properties, such as position and anchor point. We will make them move and will even add an animation.

Read Sprites in full

Uploading multiple files

by Anghel Leonard | June 2014 | Enterprise Articles Web Development

In this article by, Anghel Leonard, the author of Mastering JavaServer Faces 2.2, we will look into the concept of uploading multiple files using JSF 2.2 By default, JSF 2.2 does not provide support for uploading multiple files, but with some adjustments, we can easily achieve this goal. In order to have multiple file uploads, you need to focus on two aspects, which are listed as follows:

  • Making multiple file selections possible

  • Uploading all the selected files

Read Uploading multiple files in full

End User Transactions

by Ganesh Karthik S | June 2014 | Enterprise Articles

In this article, Ganesh Karthik S, the author of the book SAP HCM – A Complete Tutorial, has discussed about the Transactional codes in details.

Read End User Transactions in full

Upgrading from Previous Versions

by Edvaldo Alessandro Cardoso | June 2014 | Enterprise Articles

This article written by Edvaldo Alessandro Cardoso, author of the book System Center 2012 R2 Virtual Machine Manager Cookbook, provides recipes that allow you to smooth the migration process from the previous versions of System Center to the new System Center 2012 R2 with tips and tricks.

In this article, we will cover the following:

  • Reviewing the upgrade options

  • Checking the VMM system requirements and preparing for the upgrade

  • Upgrading to VMM 2012 R2

  • Reassociating hosts after upgrading

  • Updating the VMM agents

  • Performing other post-upgrade tasks

Read Upgrading from Previous Versions in full

Using the Playlist

by Shaun Friedman | June 2014 | Cookbooks

In this article by Shaun Freidman, author of the book FL Studio Cookbook, you can learn to arrange the many pieces and parts of your production by pasting patterns in FL Studio. You may also paint automation curves and record external audio in the playlist. The playlist is where you can specify which patterns are played (or not played) at which point in time. You can actually make a full-length song with one pattern by using the Piano roll and by continually adding more beats and bars with data. Thus, beats per bars is the area where you can distinguish between an intro, verse, chorus, bridge, outro, or any type of section of your song. It is all up to the individual artist using FL Studio to decide their particular musical arrangement. This is shown in the first recipe Using patterns to build a song.

In this article, we will cover the following topics:

  • Using patterns to build a song
  • Comparing patterns and audio
  • Using markers and snap
  • Viewing the playlist
Read Using the Playlist in full

Working with Pentaho Mobile BI

by Sergio Ramazzina | June 2014 | Cookbooks Open Source

In this article by Sergio Ramazzina, the author of Pentaho Business Analytics Cookbook, we will learn about accessing BA server from a mobile device, accessing files and folders, adding files to favorites, and changing the default startup screen.

Read Working with Pentaho Mobile BI in full

Kendo UI DataViz – Advance Charting

by Sagar Ganatra | June 2014 | Cookbooks Open Source Web Development

In this article by Sagar Ganatra, author of Kendo UI Cookbook, we will learn about different charting widgets provided by the Kendo UI that can be used to visualize data. These include the Stock Chart widget that shows you the stock price history of a particular stock, the Gauge widget that creates a dashboard that contains gauge charts, and Barcode and QRCode widgets that allow you to create codes that can be used to identify products.

Read Kendo UI DataViz – Advance Charting in full

What is Quantitative Finance?

by Alonso Peña, Ph.D. | June 2014 | Open Source

In this article by Alonso Peña, Ph.D., author of Advanced Quantitative Finance with C++, we will give a brief introduction to Quantitative Finance, delimit the subject to option pricing with C++, and describe the structure of the article.

Quantitative Finance studies the application of quantitative techniques to the solution of problems in finance. It spans diverse areas such as the management of investment funds and insurance companies, the control of financial risks for manufacturing companies and banking industry, and the behavior of the financial markets. Quantitative Finance is eminently interdisciplinary building upon key expertise from the disciplines of finance, mathematics, and informatics.

In this article, we will focus on one aspect of Quantitative Finance—the pricing of financial derivatives using the programming language C++. In the following sections, we will describe the main features of the three key disciplines that constitute Quantitative Finance:

  • Finance

  • Mathematics

  • Informatics

Read What is Quantitative Finance? in full

Discovering Python's parallel programming tools

by Jan Palach | June 2014 | Open Source

In this article by Jan Palach, author of Parallel Programming with Python, we will expose some Python libraries to implement parallel solutions.

The Python language, created by Guido Van Rossum, is a multi-paradigm, multi-purpose language. It has been widely accepted worldwide due to its powerful simplicity and easy maintenance. It is also known as the language that has batteries included. There is a wide range of modules to make its use smoother. Within parallel programming, Python has built-in and external modules that simplify implementation. This work is based on Python 3.x.

Read Discovering Python's parallel programming tools in full

Shaping a model with Meshmixer and printing it

by Richard Salinas | June 2014 | Cookbooks Open Source

In this article by Richard Salinas, author of the book 3D Printing with RepRap Cookbook, has discussed about shaping a model and then printing it. We're going to take the models that are scanned with 123D Catch and make them better. We'll do this by using Meshmixer, the free program offered by Autodesk. Meshmixer is a 3D modeling program that offers a variety of sculpting tools that manipulate the surface mesh of a 3D model. It also offers a series of tools that are geared to optimize a model for 3D printing. We'll improve the surface of a model by working with its mesh. Later on, in the printing section, we're going to learn how to optimize what we can't see of the model.

Read Shaping a model with Meshmixer and printing it in full

Machine Learning in Bioinformatics

by Paurush Praveen Sinha | June 2014 | Cookbooks Open Source

In this article by Paurush Praveen Sinha, the author of Bioinformatics with R Cookbook, discusses how to deal with machine learning methods in bioinformatics using R.

Read Machine Learning in Bioinformatics in full

Common performance issues

by Osama Oransa | June 2014 | Enterprise Articles

In this article by Osama Oransa, author of Java EE 7 Performance Tuning and Optimization, we will discuss the most common performance issues, classify them, describe the symptoms, and analyze the possible root causes.

Let's now go through the most common performance issues in enterprise applications that we could face during performance troubleshooting. For each issue, we will define the issue, describe it and its symptoms, and give examples. Let's begin with classifying the most common issues and organizing them into different categories.

Read Common performance issues in full

Getting Started with Mockito

by Marcin Grzejszczak | June 2014 | Open Source

In this article by Marcin Grzejszczak, author of Mockito Cookbook, for those who don't know Mockito at all, he has written a really short introduction about it.

In this article, we will cover the following recipes:

  • Adding Mockito to a project's classpath
  • Getting started with Mockito for JUnit
  • Getting started with Mockito for TestNG
  • Mockito best practices - test behavior, not implementation
  • Adding Mockito hints to exception messages in JUnit (Experimental)
  • Adding additional Mockito warnings to your tests in JUnit (Experimental)
Read Getting Started with Mockito 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
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