Article Network

All | June | May | April

Testing a Save As Dialog in Java using Swing

by Lindsay Peters Tim Lavers | January 2009 | Java Open Source

In this article by Tim Lavers and Lindsay Peters, we will be studying in detail the test for an extremely simple user interface component. It will involve UI Wrappers for components as a way of safely and easily manipulating them in tests and specific techniques for reading the state of our user interfaces. Although the component that we'll be testing in this article is simple, it will still allow us to introduce a few specific techniques for testing Swing user interfaces. It will also provide us with an excellent opportunity for showing the basic infrastructure that needs to be built into these kinds of tests.

Read Testing a Save As Dialog in Java using Swing in full

Access Control in PHP5 CMS - Part 1

by Martin Brampton | January 2009 | MySQL Content Management Open Source PHP

Many websites will want to control who has access to what. Once embarked on this route, it turns out there are many situations where access control is appropriate, and they can easily become very complex. So in this two part article by Martin Brampton, we look at the most highly regarded model–role-based access control (RBAC)–and find ways to implement it. The aim is to achieve a flexible and efficient implementation that can be exploited by increasingly sophisticated software. To show what is going on, the example of a file repository extension is used.

Read Access Control in PHP5 CMS - Part 1 in full

Access Control in PHP5 CMS - Part 2

by Martin Brampton | January 2009 | MySQL Content Management Open Source PHP

In Part 1, we had a look at the Discussion and Considerations of highly flexible role-based access control system (RBAC). In this part of the article by Martin Brampton, we will look at the database implementation. Also we will discuss the code for administering RBAC, and consider in outline how questions about access can be answered.

Read Access Control in PHP5 CMS - Part 2 in full

Installation and basic features of EnterpriseDB

by Jayaram Krishnaswamy | January 2009 | MySQL PHP

Postgres is the well known and most used Open Source OLTP database available today. EnterpriseDB sits atop Postgres and leverages it to provide enterprise capabilities to Postgres users. EnterpriseDB is available for Windows platform as well. It has most of the necessary features of an enterprise class such as advanced development, monitoring, migration and administrative tools with a stable environment. It also has plug-in capabilities for Oracle. In the present form EnterpriseDB claims cost effectiveness versus Oracle and better scalability than MySQL. It can easily integrate with most applications such as Java, Ajax, Ruby, Drupal etc. This article by Dr. Jayaram Krishnaswamy mainly describes the installation of EnterpriseDB and the basic features to get started on this important database product.

Read Installation and basic features of EnterpriseDB in full

Binding Web Services in ESB—Web Services Gateway

by Binildas A. Christudas | January 2009 | BPEL SOA Web Services Java Open Source

Since SOI (Service Oriented Integration) is all about integrating multiple SOA-based systems, web services play a critical role in the integration space. This article is all about the importance of web services in integration. We will use the samples to illustrate how to bind web services with the ServiceMix ESB to facilitate integration.

In this article by Binildas A. Christudas, we will cover the following:

  • Web services and binding
  • Introduction to HTTP
  • ServiceMix's servicemix-http component
  • The consumer and provider roles for the ServiceMix JBI components
  • servicemix-http in the consumer and provider roles
  • Web service binding (Gateway) sample
Read Binding Web Services in ESB—Web Services Gateway in full

Find closest mashup plugin with Ruby on Rails

by Chang Sau Sheong | January 2009 | Open Source

In this article by Chang Sau Sheong we will explore the 'Find closest' mashup plugin and map a fleet of kiosks in an online map. This mashup plugin allows your Rails website or application to have an additional feature that allows your users to find the location of the closest facility from a particular geographic location based on a specified search radius. This mashup plugin integrates with your existing website that has a database of locations of the facilities.

Read Find closest mashup plugin with Ruby on Rails in full

Textures in Blender

by Allan Brito | January 2009 | Open Source Web Graphics & Video

In this article by Allan Brito, we will learn how to use textures to give our materials more realism. The biggest problem of working with textures is actually finding or creating a good texture. That's why, its highly recommended that you start as soon as possible to create your own texture library. Textures are mostly image files, which represent certain kinds of surfaces such as wood or stone. They work like wallpaper, which we can place on a surface or object. For instance, if we place an image of wood on a plane, it will give the impression that the plane is made of wood. That's the main principle of using textures. We will make an object look like something in the real world using a texture. For some projects, we may need a special kind of texture, which won't be found in a common library. So we will have to take a picture ourselves, or buy an image from someone. But don't worry, because often we deal with common surfaces that have common textures too.

Read Textures in Blender in full

Extending OpenCms: Developing a Custom Widget

by Dan Liliedahl | January 2009 | Content Management Java Open Source

There are a variety of user interface widgets available in OpenCms. The default widgets cover most user interface needs. But sometimes, a data field may need to be populated in some other way. OpenCms allows for custom widgets to be created and plugged into its architecture. In this article by Dan Liliedahl, we will design and create our own widget to illustrate this.

Read Extending OpenCms: Developing a Custom Widget in full

User Input Validation in Tapestry 5

by Alexander Kolesnikov | January 2009 | Content Management Java Open Source

One of the benefits of having a web application is that it can be very easily accessed by everyone around the world. One of the downsides of this is that when so many people use your application, they are going to have errors in their input. Some people are not attentive, others are tired and, finally, everyone in this world has his or her individual style of thinking, so something that seems obvious to the developers of the application might puzzle someone else.

A well-designed web application should immediately be able to define that the input is wrong and stop—otherwise all kinds of errors can happen inside of the application. If this application is user-friendly, it should:

  • Clearly and unambiguously inform the user that some part of the input is erroneous, and should be corrected.
  • Identify the field that is erroneous and mark it in some way.
  • If possible, display the erroneous value, and maybe even explain why exactly it is wrong.

In this article by Alexander Kolesnikov, we will see how Tapestry 5, being a highly efficient and user-friendly framework, handles these issues. For the purpose of this article we will use a Tapestry web application named Celebrity Collector.

Read User Input Validation in Tapestry 5 in full

Network Configuration—IPv6 with FreeBSD

by Babak Farrokhi | January 2009 | Open Source

Today, everyone knows that the internet is running out of IP addresses. In fact, the current infrastructure of the internet is running over legacy IP (aka IPv4) protocol that was not designed for such wide-spread and complicated use (for example, IPv4 was not designed to run in a refrigerator).

The original design of Internet Protocol (IPv4) is not efficient for today's networks. And even worse, we are running out of IPv4 addresses in a few years!

FreeBSD uses the IPv6 code from the KAME project. The KAME project (see www.kame.net) has been inactive since 2005, and FreeBSD developers have eversince maintained the IPv6 protocol stack.

In this article by Babak Farrokhi, we will look into the following:

  • IPv6 facts
  • Using IPv6
  • Routing IPv6
  • RIP6
  • Multicast routing
  • Tunnelling
Read Network Configuration—IPv6 with FreeBSD in full

Creating an Administration Interface in Django

by Ayman Hourieh | January 2009 | Content Management Open Source

We need an administration interface to manage the content that users post to our website. In fact, the administration interface is a universal feature needed in any web application that stores and manages data. For this reason, Django comes with a fully-fledged administration interface ready to be used. This administration interface is considered one of the coolest features in Django because it's easy to use, yet powerful and flexible.

In this article by Ayman Hourieh, you will learn about:

  • Activating the administration interface
  • Using the administration interface to manage content
  • Customizing the administration interface
  • Assigning permissions to users and groups
Read Creating an Administration Interface in Django in full

Extending the Application using Microsoft Dynamics NAV 2009 (Part 2)

by David Roys Vjekoslav Babić | December 2008 | .NET Microsoft

The three-tiered architecture in Dynamics NAV 2009 enables wonderful things to happen. Yes, you can get better scalability by separating the business logic from the presentation layer, but there are a couple of other things you get as a result of the Dynamics NAV Service Tier: Web services enablement and Multiple Presentation Layers. The RoleTailored client is an example of a presentation layer. The user interfaces are lovely, without a doubt, but it's the Web services that have got people buzzing. Web services enablement opens up a whole new world for NAV implementations and in this article, we're going to look at some of the things we can now do.This is in continuation of the Previous Article on the same topic.

In this article by David Roys and Vjekoslav Babic you'll learn what you can do with Web services.

Read Extending the Application using Microsoft Dynamics NAV 2009 (Part 2) in full

Extending the Application using Microsoft Dynamics NAV 2009 (Part 1)

by David Roys Vjekoslav Babić | December 2008 | .NET Microsoft

The three-tiered architecture in Dynamics NAV 2009 enables wonderful things to happen. Yes, you can get better scalability by separating the business logic from the presentation layer, but there are a couple of other things you get as a result of the Dynamics NAV Service Tier: Web services enablement and Multiple Presentation Layers. The RoleTailored client is an example of a presentation layer. The user interfaces are lovely, without a doubt, but it's the Web services that have got people buzzing. Web services enablement opens up a whole new world for NAV implementations and in this article, we're going to look at some of the things we can now do.

This topic is covered in two parts. In this article by David Roys and Vjekoslav Babic you'll learn:

  • What a Web service is (a geek-free definition)
Read Extending the Application using Microsoft Dynamics NAV 2009 (Part 1) in full

Public Key Infrastructure (PKI) and other Concepts in Cryptography for CISSP Exam

by M. L. Srinivasan | December 2008 | Networking & Telephony

Cryptography is an art, as well as a science, that involves the process of transforming plaintext into scrambled text and vice-versa. The purpose of cryptography is to conceal the confidential information from unauthorized eyes and ensure immediate detection of any alteration made to the concealed information.

It is one of the most important domains in the CISSP (Certified Information System Security Professional) examination. This domain includes important concepts which are the fundamental building blocks for information security.

In this article by M.L.Srinivasan, we will discuss about Public Key Infrastructure (PKI) that uses the concepts of public key cryptography. We'll also review some of the important key management techniques, the various attacks on cryptographic systems, and conclude by reviewing some of the published cryptographic standards.

Read Public Key Infrastructure (PKI) and other Concepts in Cryptography for CISSP Exam in full

Adding Calendar to a Web Site using Drupal 6

by Mark Noble | December 2008 | MySQL Content Management Drupal PHP Web Development

In this article by Mark Noble, we will learn about adding calendar to our web site. A calendar is a fantastic way of keeping customers coming back to your site and your business at regular intervals so that they can take advantage of specials, sales, and other time-limited events.

We will consider the example of an imaginary web site created for a restaurant called Good Eatin' Bistro. Chef Wanyama is the owner of the Good Eatin' Bistro, a popular upscale restaurant. You can check this web site at http://goodeatin.drupalbyexample.com/.

We will create a basic event calendar, which displays information about musical concerts, special events, and more, for the Good Eatin' restaurant.

Read Adding Calendar to a Web Site using Drupal 6 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