Article Network

All | June | May | April

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

Content Delivery in Alfresco 3

by Munwar Shariff | September 2010 | Content Management Open Source

Alfresco offers true Web Content Management (WCM) by providing an open source alternative to expensive proprietary systems such as Microsoft SharePoint, Interwoven, and IBM Content Manager. Alfresco WCM is a good fit for the customers who are also looking for cost savings.

This article by Munwar Shariff, co-author of the book Alfresco 3 Web Content Management, introduces you to the content delivery feature of Alfresco. You will understand the concepts behind delivering static content as well as dynamic content to the external production servers.

By the end of this article you will have learned how to:

  • Install and configure File System Receiver (FSR)
  • Use Alfresco Server Receiver (ASR)
Read Content Delivery in Alfresco 3 in full

The Deployment Feature of Alfresco 3

by Munwar Shariff | September 2010 | Content Management Open Source

Alfresco offers true Web Content Management (WCM) by providing an open source alternative to expensive proprietary systems such as Microsoft SharePoint, Interwoven, and IBM Content Manager. Alfresco WCM is a good fit for the customers who are also looking for cost savings.

The previous article introduced you to the content delivery feature of Alfresco.

This article by Munwar Shariff, co-author of the book Alfresco 3 Web Content Management, introduces you to the deployment feature of Alfresco. It focuses on the auto deployment feature where the content can be scheduled to be delivered to the production servers automatically.

By the end of this article you will have learned how to:

  • Set up the process for auto deployment
  • Deploy to a test server
  • Deploy directly from a workflow
Read The Deployment Feature of Alfresco 3 in full

Working with a Microsoft Windows Workflow Foundation 4.0 (WF) Program

by Andrew Zhu | September 2010 | .NET Architecture & Analysis Enterprise Articles Microsoft

WF4 is a process engine, as well as a visual program language, shipped along with Microsoft .NET Framework 4.0. Traditionally, when we design a long-running application, we break a large application into lots of small code blocks to address the business logic and use a database to store the intermediate data. With the growing complexity of logic, managing code blocks and authoring logic workflows becomes difficult. Now, with WF4, we can design and create distributed, long-running programs easily.

This article by Andrew Zhu, author of Microsoft Windows Workflow Foundation 4 cookbook, provides recipes that will help us understand basic information about WF4 programming like:

  • Creating the first WF program: HelloWorkflow
  • Creating a WF program with C# code
  • Initializing a WF program with InArguments
  • Creating a WF program with OutArgument
  • Creating a WF Program with InOutArgument
  • Using variable in WF program
  • Running a WF program asynchronously
  • Customizing a MyReadLine activity with bookmark
  • Converting WF program instance to XAML
  • Loading up a WF program from a XAML file
Read Working with a Microsoft Windows Workflow Foundation 4.0 (WF) Program in full

Unity 3D Game Development: Don't Be a Clock Blocker

by Ryan Henson Creighton | September 2010 | Beginner's Guides Web Graphics & Video

One cheap, effective way of amping up the game experience is to add a clock. Games have used clocks to make us nervous for time immemorial, and it's hard to find a video game in existence that doesn't include some sort of time pressure—from the increasing speed of falling Tetris pieces, to the countdown clock in every Super Mario Bros. level, to the egg timers packaged with many popular board games like Boggle, Taboo, and Scattergories.

This article by Ryan Henson Creighton, author of Unity 3D Game Development by Example Beginner's Guide, shows you how to build three different game clocks: a number-based clock, a depleting bar clock, and a cool pie wedge clock, all of which use the same underlying code. You can then reuse the code in a game of your own.

Read Unity 3D Game Development: Don't Be a Clock Blocker in full

Testing and Debugging Windows Workflow Foundation 4.0 (WF) Program

by Andrew Zhu | September 2010 | Architecture & Analysis Cookbooks Enterprise Articles Microsoft

In the previous article we have dealt with working on our first WF program. In this article by Andrew Zhu, author of Microsoft Windows Workflow Foundation 4 cookbook, we will cover the following:

  • Testing a WF program with unit test framework
  • Debugging a WF program
Read Testing and Debugging Windows Workflow Foundation 4.0 (WF) Program in full

All New September Open Source Books from Packt

by | September 2010 | Open Source

 

Packt Open Source

Packt have published a range of new Open Source books this month, for further information click on the links below.

Also you might want to have a look at our all new offers on multiple books purchases, and pick up a bundle of these books.

 

Read All New September Open Source Books from Packt in full

Drupal Site Configuration: Performance, Maintenance, Logging and Errors and Reports

by David Mercer | September 2010 | Content Management Drupal Open Source

Drupal is an elegantly designed, well-supported and flexible open-source CMS platform that anyone can use in order to create their own website. What's more, the latest version of Drupal 7 includes a tremendous number of new features and new under-the-hood improvements for both users and developers. Drupal is a hugely popular and widely celebrated open-source Content Management System that is day-by-day becoming the first choice of people for a wide range of websites. The White house and the British government, to name but a few, turn to Drupal to fulfill their online requirements.

In this article by David Mercer, author of the book Drupal 7, we will take a look at the following Drupal Site Configuration topics:

  • Performance
  • Maintenance
  • Logging and errors
  • Clean URLs
  • RSS Publishing
  • Reports
Read Drupal Site Configuration: Performance, Maintenance, Logging and Errors and Reports in full

Understanding jQuery and WordPress Together

by Tessa Blakeley Silver | September 2010 | Open Source WordPress

In this article by Tessa Blakeley Silver, author of Wordpress 3.0 jQuery, we will understand the following:

  • What WordPress themes are and do
  • The basics of creating your own WordPress themes
Read Understanding jQuery and WordPress Together in full

The Basics of WordPress and jQuery Plugin

by Tessa Blakeley Silver | September 2010 | Open Source WordPress

In the previous article, Understanding jQuery and WordPress Together, we took a look at the WordPress theme and how to edit it.

In this article by Tessa Blakeley Silver, author of Wordpress 3.0 jQuery, we will understand the following:

  • Overview of WordPress and jQuery Plugin
  • The basics of WordPress Plugin
  • The basics of jQuery Plugin
Read The Basics of WordPress and jQuery Plugin in full

Creating a Custom WCM Workflow for a Group using Alfresco 3

by Amita Bhandari | September 2010 | Content Management Open Source

Workflow is an automation of a business process, during which documents are passed from one participant to another for action, according to a set of procedural rules. Every content management system implementation will have workflow requirements. Workflow provides ownership and control on the content and processes. Alfresco web project uses workflows to support any set of changes, either automated or user-driven steps, in a business process before final commit to the Staging Sandbox. WCM Workflows can be configured for each form or for any arbitrary set of non-form assets.

In this article by Amita Bhandari, co-author of the book Alfresco 3 Web Content Management, we will take a look at the creation of a custom WCM workflow for a group.

Read Creating a Custom WCM Workflow for a Group using Alfresco 3 in full

Creating Your Own Functions in MySQL for Python

by Albert Lukaszewski, PhD | September 2010 | MySQL Open Source

Comparing MySQL's string functions to Python's, you will notice that Python supports the capitalize() and capwords() functions. These capitalize the initial letter of the string and the first letter of each word, respectively. MySQL has no built-in capability to do this. It either returns all uppercase, all lowercase, or the original format of the string value. To put the onus of capitalization on the MySQL server, we need to define our own functions.

In this article, Albert Lukaszewski, PhD, author of MySQL for Python, we will cover the following topics:

  • Hello()
  • Capitalise()
  • DELIMITER
Read Creating Your Own Functions in MySQL for Python in full

Checking OpenStreetMap Data for Problems

by Jonathan Bennett | September 2010 | Open Source

OpenStreetMap is a diverse project with hundreds of thousands of people contributing data and making use of it in different ways. As a result, many of the resources that mappers have created and use are scattered around the Internet, but the project data and much of the documentation is hosted at openstreetmap.org, on servers operated by the OpenStreetMap Foundation.

In this article by Jonathan Bennett, author of the book OpenStreetMap, we'll look at some of the following tools you can use to check OpenStreetMap data in a particular area, and what problems they can and can't tell you about:

  • The data inspection tools on openstreetmap.org
  • The NoName map
  • ITOWorld OSM Mapper
  • Geofabrik's OSM Inspector

Some of these tools identify specific problems, while others allow you to see when changes to the data were made and by whom. In either case, all these tools can do is offer guidance, not black-and-white answers, and you always need to use judgment when checking data.

Read Checking OpenStreetMap Data for Problems in full

Exception Handling in MySQL for Python —A Sequel

by Albert Lukaszewski, PhD | September 2010 | MySQL Open Source

In the previous article, Inserting Multiple Entries with MySQL for Python, we learned about exception handling in Python.

This article, Albert Lukaszewski, PhD, author of MySQL for Python, is a sequel of the previous article which discusses ways to handle errors and warnings that are passed from MySQL for Python and the differences between them.

In this article we will specifically cover:

  • Types of errors
  • Customizing for catching
  • Creating a feedback loop
  • Project: Bad apples
Read Exception Handling in MySQL for Python —A Sequel in full

Exception Handling in MySQL for Python

by Albert Lukaszewski, PhD | September 2010 | MySQL Open Source

Any application that is used by multiple users in a production environment should have some level of exception handling implemented.

In this article, by Albert Lukaszewski, PhD, author of MySQL for Python, we will look at the following topics:

  • Why errors and warnings are good for you
  • Errors versus warnings: there's a big difference
  • The two main errors in MySQLdb
  • Warnings in MySQL for Python
  • Handling exceptions passed from MySQL
  • Catching different types of exceptions
Read Exception Handling in MySQL for Python 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