Article Network

Using Redis in a hostile environment (Advanced)

by Matt Palmer | December 2013 | Open Source

In this article by Matt Palmer, author of Instant Redis Persistence, we'll step through a number of different scenarios, and how you can go about protecting against each one.

While securing your data isn't strictly a persistence topic, it is an important one to consider when planning your data storage strategy. If your stored data can be accessed improperly, you're in a whole world of pain.

A common complaint about Redis is that it has no means of controlling who has access to the Redis server—if you can connect to the Redis server, you've got the ability to fully access and manipulate the data stored in that server.

Read Using Redis in a hostile environment (Advanced) in full

Using SHOW EXPLAIN with running queries

by Daniel Bartholomew | March 2014 | Cookbooks Open Source

In this article by Daniel Bartholomew, the author of the book MariaDB Cookbook, has discussed about the SHOW EXPLAIN feature of MariaDB. The SHOW EXPLAIN feature was introduced in MariaDB 10.0. It enables us to get an EXPLAIN (that is, a description of the query plan) of the query running in a given thread.

Read Using SHOW EXPLAIN with running queries in full

Using Specular in Unity

by Kenny Lammers | August 2013 | Cookbooks Games

The article, Using Specular in Unity, guides you to become familiar with Unity3D Shaders and post effects. This article by Kenny Lammers, author of the book Unity Shaders and Effects Cookbook, talks about using Specular for your own custom Shaders to create custom Specular effects.

Everybody loves games like Gears of War and Call of Duty, but what is it about these games that make them so visually compelling and very realistic? Well, it is a combination of things really, but one of the more key elements that these games employ in their Shader pipelines are different types of Specular. This article will introduce you to the basics of Specular and demonstrate some of the tricks that today's AAA games use every day in their Shader pipelines.

In this article, will learn the following:

  • Utilizing Unity3D's built-in Specular type
  • Creating a Phong Specular type
  • Creating a BlinnPhong Specular type
  • Masking Specular with textures
  • Metallic versus soft Specular
  • Creating an Anisotropic Specular type
Read Using Specular in Unity in full

Using Spring Faces

by Markus Stäuble | March 2009 | Java Open Source Web Development

In the previous article we saw how to Enable Spring Faces support. In this article by Markus Stäuble, we will learn how to use Spring Faces and its integration with JSF component libraries.

Read Using Spring Faces in full

Using Spring JMX within Java Applications

by Eric Spiegelberg | August 2010 | Java Open Source

Java Management Extensions (JMX) is an incredibly powerful Java technology. Introduced in 2003 as part of Java 5 and the result of multiple Java Community Process specifications (JSR-3 and JSR-160), JMX defines an architecture, API, and services for the management and monitoring of Java applications. Simply put, JMX is a standard part of Java used to interact with a running application. Once started, you probably tend to think of an application as if it were on its own island and that it's difficult to communicate with. Or perhaps you've never needed to interact with a running application or didn't realize such functionality was a possibility. JMX makes these interactions possible and can be used to receive event notifications or to invoke the functionality (such as business logic) contained within your running application. These interactions occur between a JMX client running locally and any Java Virtual Machine (JVM) running on a local or remote machine.

The topic of the article by Eric Spiegelberg, is a design for using JMX and Spring to interact with applications at runtime; the writing is one part a very light introduction to JMX, one part an introduction to the benefits of Spring JMX, and one part that presents a design for how to quickly and conveniently maximize the use of Spring JMX within your Java applications.

Read Using Spring JMX within Java Applications in full

Using SpriteFonts in a Board-based Game with XNA 4.0

by Kurt Jaegers | September 2010 | Beginner's Guides Microsoft Web Graphics & Video

Having built a puzzle game called Flood Control in XNA 4.0 and enhanced it with animation, in this article by Kurt Jaegers, author of XNA 4.0 Game Development by Example: Beginner's Guide, we will take it further by:

  • Adding a SpriteFont to the game and displaying the current level and score in their appropriate positions on the screen
  • Implementing the flooding of the dome and adding increasing difficulty levels

All of these enhancements will give the player a better game experience, as well as give us the opportunity to learn more about how the SpriteBatch class can be used for animation and text display.

Read Using SpriteFonts in a Board-based Game with XNA 4.0 in full

Using Sprites for Animation

by Darmie Akinlaja | October 2013 | Open Source

This article, created by Darmie Akinlaja, the author of LÖVE for Lua Game Programming, takes you through drawing a 2D object, moving objects, and animating a game character.

Read Using Sprites for Animation in full

Using Storyboards

by Steven F Daniel | June 2013 | Cookbooks

Starting with the release of Xcode 4.2 and iOS 5, developers and designers now have the ability to lay out the workflow of their applications using the new storyboards feature that has been incorporated as part of the XIB editor in Xcode.

Instead of creating numerous interface files, you can now start dragging and editing all your views in one place with the ability to specify transitions between screens and the associated actions that trigger them.

In this article by Steven F. Daniel, who has also authored the book Xcode 4 Cookbook, we will be gaining an understanding of what storyboards actually are, and how they require iOS 5 or later, as well as familiarizing ourselves with the new work flow that has been implemented within the XIB editor within Xcode.

Read Using Storyboards in full

Using Templates to Display Channel Content in ExpressionEngine

by Leonard Murphy | September 2010 | MySQL Content Management PHP

In this two-part article series by Leonard Murphy, author of Building Websites with Expression Engine 2.X, you will take an existing website that was written outside of ExpressionEngine and adapt it to ExpressionEngine. In the first part you created your own channel with fields customized to the content that you will be displaying.

In this article you will be:

  • Using templates to display your channel content
  • Creating a 404 page for visitors who get lost on your site
Read Using Templates to Display Channel Content in ExpressionEngine in full

Using Test Fixtures in PHPUnit

by Michael Lively | August 2013 | Open Source PHP

In this article by Micheal Lively, the author of Instant Hands-on Testing with PHPUnit How-to [Instant], we will go into detail of how these fixtures work and what types of things you can do with them.

As you begin writing tests you'll find that many of them, especially ones inside the same test case class, need to run the same code to set up the object that you are running tests against. This code is part of what is commonly called a fixture. Many test methods require the same fixture. PHPUnit allows you to support shared fixtures using the setUp()and tearDown() methods.

Read Using Test Fixtures in PHPUnit in full

Using the Data Pager Control in Visual Studio 2008

by Jayaram Krishnaswamy | September 2008 | .NET Microsoft

When query results exceed the display area then you resort to scrolling and wish you had some way to limit the number of results displayed and comfortable to view without scrolling. Paging functionality which provides an answer to this is therefore a much desired feature. The Data Pager Control in Visual Studio 2008 provides this functionality when you create an ASP.NET web form under .NET Framework 3.5. It can be configured automatically using the GUI, or it can be installed manually after installing the ListView. In this article both of them are described. While the number of items displayed in a list can be declaratively coded, it is possible to set it at page load time as well.

This article by Dr. Jayaram Krishnaswamy describes how you may connect to SQL Server 2008 and display the retrieved data in a ListView Control on a web page. The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control. This article shows how the data from a table in SQL Server 2008 is displayed in the ListView and how the Data Pager is configured to cycle the List View items.

Read Using the Data Pager Control in Visual Studio 2008 in full

Using the Fluent NHibernate Persistence Tester and the Ghostbusters Test

by Jason Dentler | October 2010 | .NET Cookbooks Open Source

Testing is a critical step in the development of any application. This article by Jason Dentler, author of NHibernate 3.0 Cookbook, introduces some techniques you can apply to quickly test your NHibernate applications. The recipes in this article are designed to ease the testing process and expose common issues.

In this article, we will cover the following topics:

  • Using the Fluent NHibernate persistence tester
  • Using the Ghostbusters test
Read Using the Fluent NHibernate Persistence Tester and the Ghostbusters Test in full

Using the OSGi Bundle Repository in OSGi and Apache Felix 3.0

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

In this article, by Walid Gédéon, author of OSGi and Apache Felix 3.0, we will first have a look at the OBR service in some level of detail, and then we'll see how we use it to install bundles from a remote location onto our Felix framework.

This article covers the following topics:

  • OBR, the OSGi Bundle Repository
  • Using the OBR scope commands
  • Installing the Inventory bundles to Felix
  • Dependency management
Read Using the OSGi Bundle Repository in OSGi and Apache Felix 3.0 in full

Using the Spark Shell

by Holden Karau | October 2013 | Open Source

This article written by Holden Karau, the author of Fast Data Processing with Spark, aims to describe the Spark shell which is a wonderful tool for rapid prototyping with Spark. It helps to be familiar with Scala, but it isn't necessary when using this tool. The Spark shell allows you to query and interact with the Spark cluster. This can be great for debugging or for just trying things out.

Read Using the Spark Shell in full

Using the Windows Azure Platform PowerShell Cmdlets

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

The Windows Azure Platform PowerShell cmdlets use the Windows Azure Service Management REST API to expose service management operations as PowerShell cmdlets. The cmdlets provide a convenient way to manage hosted services, including retrieving the properties of current deployments and uploading new and upgraded deployments.

In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, we will learn how to use the Windows Azure Platform PowerShell cmdlets to invoke various service operations in the Windows Azure Service Management REST API.

Read Using the Windows Azure Platform PowerShell Cmdlets in full

Using Themes in LWUIT 1.1: Part 1

by Biswajit Sarkar | August 2009 | Java Open Source

In an application with a large number of UI components, setting attributes for each can be a tedious task and can also lead to errors. A Theme allows us to set the style attributes for an entire class of components in a single place. This not only simplifies the task of setting attributes for all components of a particular type but also ensures that any newly added component will look just like all the others of the same type in the application. A theme thereby establishes a visual coherence through all the screens of an application.

In this two-part article by Biswajit Sarkar, we shall study themes and their usage in detail. In the first part, we will cover the following points:

  • View an existing theme using the LWUIT Designer
  • Edit a theme
  • Build a new theme
  • Preview the new theme on LWUIT demo MIDlet
Read Using Themes in LWUIT 1.1: Part 1 in full

Using Themes in LWUIT 1.1: Part 2

by Biswajit Sarkar | August 2009 | Java Open Source

In the previous part by Biswajit Sarkar, we covered working with theme files. In this part, we will focus on theming custom components, manual styling versus theming, theming on the fly, and new version of the LWUIT Designer.

Read Using Themes in LWUIT 1.1: Part 2 in full

Using third-party plugins (non-native plugins)

by Loiane Groner | September 2013 | Open Source Web Development

In this article by Loiane Groner, author of Sencha Architect App Development, we will learn about third-party plugins. Plugins are a huge help when we want to develop something that is not available within the Sencha API. The plugins that are supported natively already come as an option in Sencha Architect, but there are a lot of plugins that are shared by other developers that we can find on Sencha Forums.

Read Using third-party plugins (non-native plugins) in full

Using Unrestricted Languages

by Hannu Krosing Jim Mlodgenski Kirk Roybal | August 2013 | Open Source

The article, Using Unrestricted Languages, talks about writing functions in languages other than the built-in PL/pgSQL. This article by Hannu Krosing, Jim Mlodgenski, and Kirk Roybal the authors of PostgreSQL Server Programming, provides a gist of writing server-side code in languages other than PL/pgSQL.

You may have noticed that some of the PLs in PostgreSQL can be declared as untrusted. They all end in letter u to remind you that they are untrusted each time you use them to create a function.

This untrustedness brings up many questions:

  • Does being untrusted mean that such languages are somehow inferior to trusted ones?
  • Can I still write an important function in an untrusted language?
  • Will they silently eat my data and corrupt the database?

The answers are no, yes, and maybe respectively. Let's discuss these questions in order.

Read Using Unrestricted Languages in full

Using URLs to Access NNMi Objects

by Marius Vilemaitis | December 2010 | Enterprise Articles

NNMi provides a list of URLs that can be used for accessing most NNMi console objects. This standardized list of URLs and their syntax helps us build the right URL, in order to get the right data object integrated in our selected third-party application.

In this article by Marius Vilemaitis, author of HP Network Node Manager 9: Getting Started, we will cover:

  • Generic URLs.
  • Workspace-related URLs.
  • Form-related URLs.
  • Menu item-related URLs.
Read Using URLs to Access NNMi Objects 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