Article Network

Creating Views 3 Programmatically

by J. Ayen Green | March 2012 | Drupal

In this chapter, we will switch from the admin user interface to code, creating a view within a module and other examples of using code in conjunction with Drupal and Views architectures to manipulate the content. These methods should only be considered if you are comfortable with PHP and the Drupal architecture and API. The benefits of using code include more granular control, as well as the ability to achieve behaviors otherwise unavailable. The drawbacks are that the Views environment can be very complex, and one can easily break the environment.

The differences between using the Views UI to create a view and doing it in a module is that the UI does the coding for you and makes it more convenient to make changes to the view afterwards. That said, the UI method does not make it easy to distribute a ready-made view, nor does it make it facilitate tying such a view to other code.

In this artice by J. Ayen Green, author of Drupal 7 Views 3 Cookbook, we are going to cover the following topics:

  • Programming a view
  • Handling a view field
  • Styling a view field
  • Fine tuning the query
Read Creating Views 3 Programmatically in full

Creating User Interfaces

by Belén Cruz Zapata | October 2013 | Open Source

In this article by Belén Cruz Zapata, author of Android Studio Application Development, we will see how to create visually appealing applications using the new IntelliJ IDE Android Studio. The various tools needed for handling the UI of the devices and other properties such as themes are discussed in detail.

Read Creating User Interfaces in full

Creating Time Series Charts in R

by Hrishi V. Mittal | February 2011 | Open Source

With more than two million users worldwide, R is one of the most popular open source projects. It is a free and robust statistical programming environment with very powerful graphical capabilities. Analyzing and visualizing data with R is a necessary skill for anyone doing any kind of statistical analysis.

In the previous article by Hrishi V. Mittal, author of the book R Graph Cookbook, we learnt some intermediate to advanced recipes for customizing line graphs.

In this article we will learn some intermediate to advanced recipes for processing dates to make time series charts and stock charts.

Read Creating Time Series Charts in R in full

Creating Themes for a Report using BIRT

by John Ward | July 2010 | Java Open Source

BIRT is an open source business intelligence and reporting tool built on top of the Eclipse Framework. BIRT is used by developers for building reports that can best represent data and tell a story of that data that is easy to follow. In addition, BIRT can be integrated into a product to allow that product to provide reporting capabilities.

In this article by John Ward,author of BIRT 2.6 Data Analysis and Reporting we will learn how Themes provide a simple mechanism to apply a wide range of styles to an entire report design without the need to manually apply them.

Read Creating Themes for a Report using BIRT 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

Creating the maze and animating the cube

by Jos Dirksen | July 2014 | Open Source Web Development

This article by Jos Dirksen, the author of Three.js Essentials, describes how to create a maze and animate a cube using Three.js.

Read Creating the maze and animating the cube in full

Creating the ice and snow materials

by Bernardo Iraci | December 2013 | Cookbooks Games Open Source

In this article by Bernardo Iraci, author of the book Blender Cycles: Lighting and Rendering Cookbook, we are going to create all the material for an iceberg. Our target is to have snow on the flat surfaces and ice on the slopes, where it is too steep for the snow to stay. Let's get started!

Read Creating the ice and snow materials in full

Creating the first Circos diagram

by Tom Schenk Jr. | April 2013 | Open Source

In this article, by Tom Schenk Jr., the author of Circos Data Visualization How-to, we will create a very basic Circos diagram containing links (ribbons) showing the relationship between hair and eye color. Throughout this task, we will become acquainted with Circos' genome-based terminology. As Circos' roots are in biology, the program does not read the typical tables most users are accustomed to.

Read Creating the first Circos diagram in full

Creating Tax Rules in Magento

by William Rice | March 2009 | Beginner's Guides MySQL e-Commerce Open Source PHP

In this article by William Rice, we will see how to create Tax Rules in Magento. In the real world, the tax rate that you pay is based on three things: location, product type, and purchaser type. In Magento, we can create Tax Rules that determine the amount of tax that a customer pays, based upon the shipping address, product class, and customer class.

When you buy a product, you sometimes pay sales tax on that product. The sales tax that you pay is based on:

  • Where you purchased the product from. Tax rules vary in different cities, states, and countries.
  • The type of product that you purchased. For example, many places don't tax clothing purchases. And, some places tax only some kinds of clothing. This means that you must be able to apply different tax rates to different kinds of products.
  • The type of purchaser you are. For example, if you buy a laser printer for your home, it is likely that you will pay sales tax. This is because you are a retail customer. If you buy the same printer for your business, in most places you will not pay sales tax. This is because you are a business customer.
  • The amount of the purchase. For example, some places tax clothing purchases only above a specific amount.
Read Creating Tax Rules in Magento in full

Creating Tables in Latex

by Stefan Kottwitz | March 2011 | Beginner's Guides Open Source

LaTeX is a high-quality open source typesetting software that produces professional prints and PDF files.

In this article by Stefan Kottwitz, author of LaTeX Beginner's Guide, we will learn how to perform the following:

  • Lining up text and data in columns
  • Typesetting complex tables
Read Creating Tables in Latex in full

Creating Skeleton Apps with Coily in Spring Python

by Greg L. Turnquist | December 2010 | Open Source

Spring Python has many useful building blocks. These illustrate the bottom line task for software developers: delivering runnable applications.

To speed up the process for building apps, Spring Python provides the Python script coily. This script is built to support extensible plugins. The first plugin provided by the Spring Python team is gen-cherrypy-app, which is based on creating a skeleton CherryPy application using Spring Python IoC and security.

In this article, by Greg Lee Turnquist, author of Spring Python 1.1, we will learn:

  • The plugin driven approach of coily, which allows us to utilize plugins written by other developers or to write our own
  • The easy-to-code requirements of creating a plugin
  • Building a CherryPy application from scratch, with fully configured security, using the template-based gen-cherrypy-app plugin
Read Creating Skeleton Apps with Coily in Spring Python in full

Creating Site Accesses with eZ Publish 4

by Francesco Fullone Francesco Trucchia | October 2009 | Content Management Open Source

An eZ publish installation can host multiple sites using something called the siteaccess system. In this article by Francesco Fullone and Francesco Trucchia, we will look at:

  • eZ Publish siteaccesses
  • How to create custom siteaccesses
  • How a custom site access will help us in development stage

Also, we will look at how to enable additional languages on our site.

Read Creating Site Accesses with eZ Publish 4 in full

Creating sheet objects and starting new list using Qlikview 11

by B. Diane Blackwood | September 2013 | Enterprise Articles

In this article by B. Diane Blackwood, author of the book Instant QlikView 11 Application Development, we will create more sheet objects, starting with a new list box to begin analyzing our loaded data. We can add dimensions for analysis. We can format our data and other enhancements by right-clicking on our sheet or our sheet objects that were created by the wizard. For example, with this data, we can add a box for the Company dimension data and format the data to have dollar signs and commas.

Read Creating sheet objects and starting new list using Qlikview 11 in full

Creating Quizzes

by Dr. Edward Lavieri | October 2013 | Open Source

In this article by Edward D Lavieri Jr., author of the book LiveCode Mobile Development Hotshot, explains how to create mobile app quizzes.

Read Creating Quizzes in full

Creating Pseudo-3D Imagery with GIMP: Part 2

by Reynante Martinez | August 2009 | Open Source Web Development Web Graphics & Video

This is the second part of the two part article series by Reynante Martinez. In this article series, we will learn how to digitally sketch/draw your scenes, give them subtle color shifts, add fake lighting, and apply filter effects to further emulate how 3D does its job in a step by step process. Read Creating Pseudo-3D Imagery with GIMP: Part 1 here.

Read Creating Pseudo-3D Imagery with GIMP: Part 2 in full

Creating Pseudo-3D Imagery with GIMP: Part 1

by Reynante Martinez | August 2009 | Open Source Web Development Web Graphics & Video

In this two part article series by Reynante Martinez, we will learn how to digitally sketch/draw your scenes, give them subtle color shifts, add fake lighting, and apply filter effects to further emulate how 3D does its job in a step by step process. We will start off from scratch and move on to create a realistic 3D scene with just some 2D tools.
We will discuss:

  • creating an appropriate canvas
  • layering
  • layer modes
  • layers as backups
  • selection tools
  • color transition and theory
  • gradients
  • filters
  • faking Depth of Field
  • faking reflections
  • simple post processing

 

Read Creating Pseudo-3D Imagery with GIMP: Part 1 in full

Creating Our First Module using Drupal 6 (Part2)

by Matt Butcher | May 2009 | Content Management Drupal Open Source PHP

In the first part of this 2-part article series we had created a basic module that uses hook_block() to add block content and installed this basic module. In this article by Matt Butcher, we are going to extend the module's functionality. We will add a few new functions that retrieve and format data from Goodreads.

Read Creating Our First Module using Drupal 6 (Part2) in full

Creating Our First Module using Drupal 6 (Part2)

by Matt Butcher | May 2009 | Content Management Drupal Open Source PHP Web Development

In the first part of this 2-part article series we had created a basic module that uses hook_block() to add block content and installed this basic module. In this article by Matt Butcher, we are going to extend the module's functionality. We will add a few new functions that retrieve and format data from Goodreads.

Read Creating Our First Module using Drupal 6 (Part2) in full

Creating Our First Module using Drupal 6 (Part1)

by Matt Butcher | May 2009 |

In this two-part article series by Matt Butcher, we will create our first Drupal module. This article assumes basic knowledge of Drupal module development. Our first module will make use of an existing web service to pull in some XML data, format it, and display it as a block in the site's layout.

We will cover the following topics in this article:

  • Creating the .info and .module files
  • Creating a new module
  • Using basic hooks
  • Installing and configuring the module
  • Using important Drupal functions
Read Creating Our First Module using Drupal 6 (Part1) in full

Creating Our First jQuery Plugin

by Giulio Bai | October 2010 | Beginner's Guides Open Source Web Development

As the name suggests, this article by Giulio Bai, author of jQuery Plugin Development Beginner's Guide, is about creating our first, working, and fantastic jQuery plugin! This article deals with the correct creation of a plugin of any sort, the basic outline of a plugin and what is fundamental for successfully developing a plugin from scratch. Step-by-step instructions are provided in order to guide even very beginners to the successful realization of their first plugin.

This article will be about the following topics:

  • Defining our own default plugin structure
  • Setting the basics for our first plugin
  • Getting a step farther
  • Dealing with options
  • Using functions inside the plugin
  • Closures: making functions private
Read Creating Our First jQuery Plugin 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