Article Network

All | June | May | April

Microsoft Visual Studio 2010: Improving Class Quality with Cohesion

by Peter Ritchie | July 2010 | Enterprise Articles Microsoft

This two-part article series by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, introduces code quality metrics like cohesion and coupling. Principles related to cohesion and coupling are introduced and refactorings that increase cohesion and decrease coupling are covered in this article series. In this first part we will cover how cohesion can be applied to increase code quality.

Read Microsoft Visual Studio 2010: Improving Class Quality with Cohesion in full

Microsoft Visual Studio 2010: Improving Class Quality with Coupling

by Peter Ritchie | July 2010 | Enterprise Articles Microsoft

In the first part of this two-part article series by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, we covered principles related to cohesion and refactorings that increase cohesion. In this part, principles related to coupling are introduced and refactorings that decrease coupling are covered. We will see how coupling can be applied to increase code quality.

Read Microsoft Visual Studio 2010: Improving Class Quality with Coupling in full

Ensuring Quality for Unit Testing with Microsoft Visual Studio 2010

by Peter Ritchie | July 2010 | Enterprise Articles Microsoft

Some level of automated unit testing is required to maintain the quality of the software to support the refactoring effort. In this article by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, we'll discuss various aspects of unit testing, as well as how to approach unit testing with Visual Studio. We will cover some testing frameworks to facilitate writing, like mocking frameworks, and executing those tests. We'll cover the following topics:

  • Automated testing
  • Unit tests
  • Mocking
  • Mocking frameworks
  • Unit test frameworks
  • Unit testing legacy code
  • Test-driven development
  • Third party refactoring tools
Read Ensuring Quality for Unit Testing with Microsoft Visual Studio 2010 in full

Making a Better Form using JavaScript

by Jose Argudo Blanco | July 2010 | Joomla! Open Source

Joomla! is well known as a great content management system (CMS). There are many sites using it throughout the world, some of them having great features that impress their visitors.

In the previous article we learnt the basics of Joomla! module creation and also created a "Send us a question" module.

In this article by Jose Argudo Blanco, author of the book Joomla! 1.5 JavaScript jQuery, we are going to add some new features to our little module. These features are intended to make a better form, such as avoiding a full page reload by sending the form using AJAX or checking that some text has been introduced before sending it. All these are good features, though not every form needs to make use of these features. It's up to us to decide when to implement them.

Read Making a Better Form using JavaScript in full

The Basics of Joomla! Module Creation and Creating a "Send us a question" Module

by Jose Argudo Blanco | July 2010 | Joomla! Open Source

To date, Joomla! has been well known as a great content management system (CMS). There are many sites using it throughout the world, some of them having great features that impress their visitors. Most of the time, these appealing and powerful features work thanks to JavaScript.

In this article by Jose Argudo Blanco, author of the book Joomla! 1.5 JavaScript jQuery, we will:

  • Learn the basics of Joomla! module creation
  • Create a "Send us a question" module
Read The Basics of Joomla! Module Creation and Creating a "Send us a question" Module in full

Solving Least Privilege Problems with the Application Compatibility Toolkit

by Russell Smith | July 2010 | Enterprise Articles Microsoft

The launch of Windows XP in 2001 heralded the long-awaited transition of consumer-orientated editions of Windows to the NT codebase. Microsoft designed the Windows Application Compatibility Infrastructure as part of Windows XP to help system administrators and home users solve compatibility problems with applications that were designed to run in Windows 98 or earlier versions of the 9x range.

In this article by Russell Smith, author of Least Privilege Security for Windows 7, Vista and XP, we will learn:

  • How the Application Compatibility Infrastructure uses shims to modify incompatible applications on the fly
  • Why using shims provides the best balance between compatibility and security
  • How to create shims using Application Compatibility Toolkit 5.5
  • Distributing compatibility databases to devices across the enterprise
Read Solving Least Privilege Problems with the Application Compatibility Toolkit in full

New Features in JPA 2.0

by David R. Heffelfinger | July 2010 | Java Open Source

In this article by David Heffelfinger, author of the book Java EE 6 with GlassFish 3 Application Server, we will look at how to build queries programmatically through the JPA 2.0 Criteria API and automating data validation through JPA 2.0's Bean Validation support.

Read New Features in JPA 2.0 in full

Flash 10 Multiplayer Game: Game Interface Design

by Prashanth Hirematada | July 2010 | Web Development Web Graphics & Video

In this article by Prashanth Hirematada, author of Flash 10 Multiplayer Game Essentials, we will explore the Hello World sample included in the Pulse package. We will focus on how things get initialized and the login process. We will also cover the Pulse framework functionalities. We will explore how the different screens for the game are managed by the PulseUI framework. Finally, we will explore some of the server-side challenges regarding player login and registration during a commercial game deployment.

Specifically, we will learn the following:

  • Programming structure of a multiplayer game
  • Game screen management with the PulseUI framework
  • Detailed walk-through of the login process
  • Login and registration in a typical multiplayer game deployment
Read Flash 10 Multiplayer Game: Game Interface Design in full

Solving LUA Problems with Avecto Privilege Guard

by Russell Smith | July 2010 | Enterprise Articles Microsoft

This article by Russell Smith, author of Least Privilege Security for Windows 7, Vista and XP, includes information about tools and techniques that can be used to solve Least Privilege Security problems. Specifically, we will use third-party solution to configure administrative privileges for applications and Windows processes on-the-fly. Privilege Guard is a third-party solution, from Microsoft Gold Partner Avecto, that allows system administrators to dynamically add or remove privileges by modifying the logged in user's access token as it's assigned to new processes.

Read Solving LUA Problems with Avecto Privilege Guard in full

Flash 10 Multiplayer Game: The Lobby and New Game Screen Implementation

by Prashanth Hirematada | July 2010 | Open Source Web Development

With Pulse SDK, we hardly need to write code for either on the server side, which is already taken care of by the server out of the box or on the client-side, which is taken care of by the PulseUI framework. In the previous article we were introduced to the Lobby and Room Management. In this article by Prashanth Hirematada, author of Flash 10 Multiplayer Game Essentials, we will see how we can directly use the PulseUI framework to jumpstart our multiplayer game as well as customize it to suit the needs for your game. Finally, once players either create a room or join an existing one, we will see how the game screen gets initialized and displayed for the game to start.

More specifically, we will learn the following:

  • Creating a new game room
  • Player management within game rooms
  • Initializing the game screen
Read Flash 10 Multiplayer Game: The Lobby and New Game Screen Implementation in full

Objects in Python

by Dusty Phillips | July 2010 | Open Source

Let's have a look at the Python syntax that allows us to create object-oriented software. In this article by Dusty Phillips, Author of Python 3 Object Oriented Programming we will understand:

  • How to create classes and instantiate objects in Python
  • How to add attributes and behaviors to Python objects
  • How to organize classes into packages and modules
Read Objects in Python in full

Integrating Silverlight 4 with SharePoint 2010

by Gastón C. Hillar | July 2010 | Enterprise Articles Microsoft

In this article by Gastón C. Hillar, author of Microsoft Silverlight 4 and SharePoint 2010 Integration, we want to include Silverlight 4 RIAs (Rich Internet Applications) in SharePoint 2010. RIAs provide rich experience for users, both through their browsers and outside them. Integrating Silverlight RIAs in SharePoint 2010 offers amazing opportunities to combine the power and flexibility offered by SharePoint with great user experiences. In fact, many interfaces shown in SharePoint 2010 are developed in Silverlight. We want to integrate Silverlight RIAs into SharePoint 2010. First, we must understand some of the fundamentals that are related to various tools and their configurations. In this article, we will cover many topics to help us understand the new tools and techniques involved in creating Silverlight RIAs for SharePoint 2010 sites. We will:

  • Understand the benefits of integrating Silverlight with SharePoint
  • Prepare the development environment to develop applications for SharePoint 2010 using Silverlight 4
  • Prepare the SharePoint 2010 server to host Silverlight applications
Read Integrating Silverlight 4 with SharePoint 2010 in full

Content Rules, Syndication, and Advanced Features of Plone 3 Intranet

by Víctor Fernández de Alba | July 2010 | Content Management Open Source

Some of Plone's advanced features at user level are worth having their own section. All of them have a direct impact on how our users use the intranet, and most importantly, they are the catalyst to an alive and more dynamic intranet. A dynamic intranet is in constant change and users update its contents frequently.

In this article by Víctor Fernández de Alba, author of the book Plone 3 Intranets, we will cover the following topics:

  • Content rules: They will allow us to define a set of actions and tasks triggered when some event happens in our site, or in a folder tree. Both the actions and events are user configurable and help us make our site dynamic.
  • Syndication: This is often very important in order to keep our users posted when something changes in our intranet. Not only collections are syndication aware, we can also make any folder in our site export the objects it contains as an RSS feed.
  • Versioning: This is another notable Plone feature and very useful in an intranet scenario. In few words, our users will love it.
  • WebDAV access: WebDAV access to content, along with external editing, will enable communication between our user's desktop and the intranet, taking our user's productivity to its maximum.
  • External editing: This feature will allow us to edit any file content type with the suitable desktop application and save it on the fly.
Read Content Rules, Syndication, and Advanced Features of Plone 3 Intranet in full

Building our own Plone 3 Theme Add-on Product

by Víctor Fernández de Alba | July 2010 | Content Management Open Source

Plone is a highly extensible Content Management System built on Zope application server, which is written in Python. Plone is very suitable for building intranets. No matter what size, or purpose, it offers a solution to the most common intranet needs, and more. Although it shows its real power in medium and large-scale corporate intranets, we can take advantage of Plone even in small-scale scenarios, such as small work groups, software projects, or research teams.

In this article by Víctor Fernández de Alba, author of the book Plone 3 Intranets, we will see how to build our own Plone 3 theme add-on product.

Read Building our own Plone 3 Theme Add-on Product 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
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