Article Network

Multiple Templates in Django

by Scott Newman | December 2008 | Web Development

There are times when we will need to serve the same content in multiple ways whether it's displaying a printable version of a page, creating festive themes for holidays or promotions, or using a different set of templates for mobile devices.
There are a number of approaches to these tasks, and no one is "right". As we will see, the best choice depends on the circumstances specific to your site and users.
In this article by Scott Newman we will:

  • Consider the different approaches to tailoring output
  • Explore the challenges of serving content to mobile devices
  • Create printer-friendly output via URL parameters
Read Multiple Templates in Django in full

ASP.NET Social Networks—Blogs in Fisharoo

by Andrew Siemer | December 2008 | .NET Microsoft MySQL PHP

In this article by Andrew Siemer, we will talk about the concept of Blogging and how it could be applied to our community site Fisharoo. With search engines, users, and security in mind, Andrew invests a part of this article to address an issue that plagues many dynamic websites—query string data being used to determine page output.

The article starts with the discussion of Problem, that is, what we need to do to achieve success for the article's topic-Blogs so to speak. Then it moves on to Design where we decide on and write down the physical requirements for our feature. And finally comes the Solution part where we discuss how to implement all the requirements for each feature.

Read ASP.NET Social Networks—Blogs in Fisharoo in full

Creating the Student Blog in Drupal using Cloning

by Bill Fitzgerald | December 2008 | Drupal Open Source

Blogging in Drupal encompasses a range of learning activities. When incorporated into a course as a regular part of the coursework, blogs provide an incredibly powerful means of tracking student growth. For students who are disorganized (that is, students whose backpacks resemble tumbleweed), the blog can also be an organizational tool. Most importantly, though, blogs create a record of student work that can be accessed at any time. As such, blogs provide a convenient window into both process (how students work) and product (the end results of student work). In this article by Bill Fitzgerald, we will see how to create a student blog.

Read Creating the Student Blog in Drupal using Cloning in full

Python Data Persistence using MySQL Part II: Moving Data Processing to the Data

by Yuli Vasiliev | December 2008 | Open Source

Continuing with the sample discussed in the Python Data Persistence using MySQL article, this Part II: Moving Data Processing to the Data by Yuli Vasiliev explains how you can implement some data processing inside your database, resulting in better application design and better performance in the long run. In this article, you will look at triggers in action. Stored procedures and functions can be used similarly.

Read Python Data Persistence using MySQL Part II: Moving Data Processing to the Data in full

Implementing a Basic HelloWorld WCF (Windows Communication Foundation) Service

by Mike Liu | December 2008 | .NET BPEL Microsoft SOA

SOA is an architectural design pattern by which several guiding principles determine the nature of the design. Basically, SOA states that every component of a system should be a service, and the system should be composed of several loosely-coupled services.WCF is the acronym for Windows Communication Foundation. It is Microsoft's latest technology that enables applications in a distributed environment to communicate with each other.WCF is an umbrella technology that covers ASMX web services, .NET remoting, WSE, Enterprise Service, and System Messaging. It is designed to offer a manageable approach to distributed computing, broad interoperability, and direct support for service orientation. WCF supports many styles of distributed application development by providing a layered architecture. At its base, the WCF channel architecture provides asynchronous, untyped message-passing primitives. Built on top of this base are protocol facilities for secure, reliable, transacted data exchange and a broad choice of transport and encoding options. In this article by Mike Liu, we will implement a basic WCF service from scratch.

Read Implementing a Basic HelloWorld WCF (Windows Communication Foundation) Service in full

Moodle Makeover

by Ian Wild | December 2008 | Beginner's Guides Moodle Open Source

In this article by Ian Wild, we will change the look of our Moodle website. Specifically, we will use our resources within Moodle to make our topics more visually appealing. We would include an animated character. We will take a good look at different tips and tricks to make our courses more interesting for students.

Read Moodle Makeover in full

Podcasting and Images in Drupal

by Bill Fitzgerald | December 2008 | Drupal Open Source

In this article by Bill Fitzgerald we will learn about Podcasting. Podcasting allows you to share audio files over the Internet. In recent years, as podcasting has increased in prominence and popularity, there has been an almost overwhelming amount of information about how to get started with podcasting: the technical requirements, the hardware, the software, and so on.

Sharing images creates a variety of ways for students to get involved in the class. In some classes, such as Photography or other Fine Arts courses, images provide a way for students to showcase their work. In other courses, online image sharing can be used to enhance the curriculum.

In this article, we will focus on cutting through the noise, and setting up your site to work as a podcasting and image sharing platform. This article will break down the technical aspects of publishing audio and images, along with ways of integrating podcasting into your class.

Read Podcasting and Images in Drupal in full

Type, Subtype, and Category Patterns in Logical Data Modeling

by Djoni Darmawikarta | December 2008 | Architecture & Analysis

Your application and its database certainly deal with things of significance to your organization that you care to computerize, automate some of their aspects, and to store data about them. Product and services are examples of these things—the fundamental aspects that any organization must take care of.

This article by Djoni Darmawikarta introduces three patterns for modeling: Type, Subtype, and Category. These three logical data modeling patterns are common structures applicable to any kind of organization.

Read Type, Subtype, and Category Patterns in Logical Data Modeling in full

Dynamic Theming in Drupal 6 - Part 2

by Ric Shreves | December 2008 | MySQL Content Management Drupal Open Source PHP

In Part 1 we had a look at running multiple templates, and at creating dynamic elements and styles. In this article by Ric Shreves, we will discuss about Creating Dynamic CSS Styling and Working with Template Variables.

Read Dynamic Theming in Drupal 6 - Part 2 in full

Service Versioning in SOA

by Todd Biske | December 2008 | Architecture & Analysis BPEL SOA

SOA governance is the combination of people, policies, and processes within your organization that will ensure that the desired behaviors of your strategic SOA initiative are achieved.It includes the traditional areas associated with IT Governance, which is the selection and funding of IT projects. These projects define the initial scope for technology utilization and can either help or hinder the SOA effort, based upon the scope chosen. In this article by Todd Biske we will see that the SOA effort only gets executed through projects, and if the execution is poor, the SOA effort will be poor. Therefore, the project governance activities of an organization must be adjusted to include policies associated with achieving the desired behaviors associated with SOA adoption.

Advasco had initial success with their Customer Information Service and then opened the flood gates for development by the rest of the organization. These efforts were successfully reigned in by the newly formed Center of Excellence. Now, the team at Advasco faces a new challenge: modifying an existing service to handle the needs of a new consumer. This article will go over the challenges faced by the team and then present guidance for handling this situation within your own organization.

Read Service Versioning in SOA in full

Dynamic Theming in Drupal 6 - Part 1

by Ric Shreves | December 2008 | MySQL Content Management Drupal Open Source PHP

The Drupal system, when combined with the PHPTemplate engine, gives you the ability to create logic that will automatically display templates or specific elements in response to the existence of certain conditions. In this two part article by Ric Shreves, we will look at running multiple templates, and at creating dynamic elements and styles. Among the techniques covered in these articles ( Part 1 and Part 2 ) are: using suggestions—naming conventions—to control template display, the use of $body_classes to create dynamic styling, and the implementation of the preprocessor function.

Read Dynamic Theming in Drupal 6 - Part 1 in full

Layouts in Ext JS

by Colin Ramsay Shea Frederick Steve 'Cutter' Blades | November 2008 | AJAX Open Source

A Layout turns your forms, grids, and other widgets into a true web application. The most widely-used layout styles can be found in operating systems such as Microsoft's Windows, which uses border layouts, resizable regions, accordions, tabs, and just about everything else you can think of.

To keep looks consistent between browsers, and to provide common user interface features, Ext JS has a powerful layout management system. The sections are manageable, and can be moved or hidden, and they can appear at the click of a button, right when and where you need them to.

In this article by Shea Frederick, Steve 'Cutter' Blades, and Colin Ramsay, we will learn to:

  • Lay out an application style screen
  • Create tabbed sections
  • Manage Ext widgets within a layout
  • Learn advanced and nested layouts
Read Layouts in Ext JS in full

Minilang and OFBiz

by Jonathon Wong Rupert Howell | November 2008 | Java Open Source

Minilang can help developers to reduce the time it takes to implement simple and repetitive tasks. Code does not need to be compiled and can therefore be implemented faster, breaking the typical Java code-compile-test cycle. Minilang gives the advantage of being able to change the code without a restart of the application. A simple browser refresh is enough to see the changes.

It is more "plain English" than Java code and is simpler to read and therefore easier to understand and maintain by people who may be unfamiliar with the system.

The main reason for Minilang's existence is to facilitate simple operations, notably CRUD operations and to validate and manipulate data. It should not be much used outside of this scope, but within this scope, it excels.

In this article by Jonathon Wong and Rupert Howell we will be looking at:

  • Minilang syntax and schema
  • Defining and creating a "Simple Service" using Minilang
  • Simple events
  • Validating and converting fields using the simple-map-processor
  • Security in Minilang
  • Invoking other services, methods, events, and BeanShell from Minilang
  • Using Minilang in screen widgets
Read Minilang and OFBiz in full

Interacting with Databases through the Java Persistence API

by Suhreed Sarkar | November 2008 | Joomla! MySQL Content Management Open Source PHP

The Java Persistence API (JPA) is an object relational mapping API. Object relational mapping tools help us automate mapping Java objects to relational database tables. Earlier versions of J2EE used Entity Beans as the standard approach for object relational mapping. Entity Beans attempted to keep the data in memory always synchronized with database data, a good idea in theory, however, in practice this feature resulted in poorly performing applications.

Several object relational mapping APIs were developed to overcome the limitations of Entity Beans, such as Hibernate, iBatis, Cayenne, and Toplink among others.

With Java EE 5, Entity Beans were deprecated in favor of JPA. JPA took ideas from several object relational mapping tools and incorporated them into the standard. As we will see in this article by David Heffelfinger, NetBeans has several features that make development with JPA a breeze.

Read Interacting with Databases through the Java Persistence API in full

Web Scraping with Python

by Javier Collado | November 2008 | Open Source

Web scraping is the set of techniques used the to get some information, structured only for presentation purposes, from a website automatically instead of copying it manually. This article by Javier Collado will show how this could be done using python in the steps that require some development.

Read Web Scraping with 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
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