Article Network

Including Charts and Graphics in Pentaho Reports (Part 1)

by Will Gorman | September 2009 | Java Open Source

In this two-part article by Will Gorman, you'll learn how to incorporate charts and graphics into Pentaho Reports. You'll learn about the different types of charts supported, and how to configure them in Pentaho Report Designer. You'll also learn how to populate a chart with various types of data.

In addition to learning all about charts, this article also covers the various methods for including visual information in your report, including embedding images and Java graphics in your report.

Read Including Charts and Graphics in Pentaho Reports (Part 1) in full

In-place Editing using PHP and Script.aculo.us

by Sridhar Rao | April 2009 | AJAX MySQL PHP Web Development

In this article by Sridhar Rao, we will learn about editing the content in the page without moving, dragging, or dropping it. This feature is called in-place editing. The key topics that we are going to explore in this article are:

  • Introduction to in-place editing
  • In-place editing: Definition and attributes
  • Code usage in examples
  • Tips and tricks involving in-place editing
  • Hands-on example: Handling at the server-side
  • Hands-on with InPlaceCollectionEditor
Read In-place Editing using PHP and Script.aculo.us in full

Improving Your Development Speed

by Hudson Orsine Assumpção | October 2013 | Enterprise Articles

This article written by Hudson Orsine Assumpção, the author of Getting Started with IntelliJ IDEA, provides a wide range of functionalities that will improve your development speed. It presents to you the main visual interface of the IDE and shows you how to improve your productivity using the features of IntelliJ IDEA such as the productivity guide, live templates, and navigation usabilities.

Read Improving Your Development Speed in full

Improving the Snake Game

by Rodrigo Silveira | July 2013 | Games Web Development

In this article by Rodrigo Silveira, the author of the book Learn HTML5 by Creating Fun Games, we will see how to enhance a snake game created in HTML5. This article is the second and final part of the series where we're building a more robust snake game. The first version of the game used five HTML5 concepts, namely 2D canvas rendering, offline application cache, web workers, typed arrays, and requestAnimationFrame.

The first version of the game used five HTML5 concepts, namely 2D canvas rendering, offline application cache, web workers, typed arrays, and requestAnimationFrame. In this version, we'll include two features from the new web storage API, namely local storage and session storage. We'll also look at a third API that is part of web storage, IndexedDB, as well as the web messaging feature, which includes cross-domain messaging.

Local storage and session storage are two mechanisms that allow us to save data on the user's browser using a key-value strategy. This is similar to a cookie, where every value must be a string. The difference between these two storage options and a cookie, first and foremost, is that a cookie is always sent back to the server through HTTP requests. This can be especially undesirable when we have larger amounts of data that we would like to store, since that data would be traveling around consuming extra bandwidth, and there is nothing that we can do about it. With HTML5's web storage, we can save more data locally, and that data never leaves the user's machine, though HTTP components like cookies do.

IndexedDB, also part of web storage, is similar to local and session storage, where data is stored in a key-value manner, but instead of values being limited to strings only, IndexedDB is more of an object store, where we can store entire JavaScript objects. Of course, IndexedDB is much more than a mere hash map that holds objects for us. As the name implies, this new API allows us to index these stored objects with the purpose of being able to search for them through a query system. In summary, IndexedDB is a NoSQL database accessed through an asynchronous programming interface.

Finally, the web messaging API provides an interface through which an HTML document can communicate with other HTML contexts. These documents can be related by iframes, in separate windows, and even in different domains.

Read Improving the Snake Game in full

Improving the Snake Game

by Rodrigo Silveira | July 2013 | Games Web Development

In this article by Rodrigo Silveira, the author of the book Learn HTML5 by Creating Fun Games, we will see how to enhance a snake game created in HTML5. This article is the second and final part of the series where we're building a more robust snake game. The first version of the game used five HTML5 concepts, namely 2D canvas rendering, offline application cache, web workers, typed arrays, and requestAnimationFrame.

The first version of the game used five HTML5 concepts, namely 2D canvas rendering, offline application cache, web workers, typed arrays, and requestAnimationFrame. In this version, we'll include two features from the new web storage API, namely local storage and session storage. We'll also look at a third API that is part of web storage, IndexedDB, as well as the web messaging feature, which includes cross-domain messaging.

Local storage and session storage are two mechanisms that allow us to save data on the user's browser using a key-value strategy. This is similar to a cookie, where every value must be a string. The difference between these two storage options and a cookie, first and foremost, is that a cookie is always sent back to the server through HTTP requests. This can be especially undesirable when we have larger amounts of data that we would like to store, since that data would be traveling around consuming extra bandwidth, and there is nothing that we can do about it. With HTML5's web storage, we can save more data locally, and that data never leaves the user's machine, though HTTP components like cookies do.

IndexedDB, also part of web storage, is similar to local and session storage, where data is stored in a key-value manner, but instead of values being limited to strings only, IndexedDB is more of an object store, where we can store entire JavaScript objects. Of course, IndexedDB is much more than a mere hash map that holds objects for us. As the name implies, this new API allows us to index these stored objects with the purpose of being able to search for them through a query system. In summary, IndexedDB is a NoSQL database accessed through an asynchronous programming interface.

Finally, the web messaging API provides an interface through which an HTML document can communicate with other HTML contexts. These documents can be related by iframes, in separate windows, and even in different domains.

Read Improving the Snake Game in full

Improving proximity filtering with KNN

by Bborie Park Paolo Corti Stephen Vincent Mather Thomas J Kraft | January 2014 | Cookbooks Open Source

In this article by Paolo Corti, Thomas J Kraft, Stephen Vincent Mather, and Bborie Park, authors of PostGIS Cookbook, you will learn how to make use of KNN filters to increase the performance of proximity queries.

PostGIS Cookbook uses a problem-solving approach to help you acquire a solid understanding of PostGIS. Hopefully, this book provides answers to some common spatial questions and gives you the inspiration and confidence to use and enhance PostGIS in finding solutions to challenging spatial problems.

Read Improving proximity filtering with KNN in full

Improving Plone 3 Product Performance

by Juan Pablo Giménez Marcos F. Romero | June 2010 | Content Management Open Source Web Development

This article, by Juan Pablo Giménez and Marcos F. Romero, authors of Plone 3 Products Development Cookbook, will teach you how to reap the benefits of Plone by dealing with the problem of creating content types in which the objects’ final HTML rendering performs badly, and how to benchmark these improvements.

We will cover:

  • Installing CacheFu with a policy product
  • Improving performance by tweaking expensive code
  • Testing server load and benchmarking our code
Read Improving Plone 3 Product Performance in full

Improving Performance with Parallel Programming

by Eric Rochester | April 2013 | Cookbooks Open Source

The recipes in this article focus on leveraging multiple cores by showing different ways to parallelize Clojure programs.

In this article by Eric Rochester, the author of Clojure Data Analysis Cookbook, we will cover:

  • Parallelizing processing with pmap

  • Parallelizing processing with Incanter

  • Partitioning Monte Carlo simulations for better pmap performance

  • Finding the optimal partition size with simulated annealing

  • Parallelizing with reducers

  • Generating online summary statistics with reducers

  • Harnessing your GPU with OpenCL and Calx

Read Improving Performance with Parallel Programming in full

Improving components with Joomla! 1.5

by James Kennard | June 2010 | Joomla! Open Source

Joomla! is one of the world's top open source content management systems. The main sources of the PHP MySQL application's success are its comprehensive extension libraries, which extend Joomla! far beyond content management, and it's very active forums where one can easily tap into the knowledge of other Joomla! users, administrators, and developers.

In this article by Chuck Lanham and James Kennard, author of Mastering Joomla! 1.5 Extension and Framework Development, we will cover:

  • How to Improve toolbars in the backend
  • How to Modify the Submenu
  • The joomla.html library
  • How to Build better layouts and templates
Read Improving components with Joomla! 1.5 in full

Importing videos and basic editing mechanics

by Jason Cox | October 2012 | Web Graphics & Video

The Final Cut Pro X Cookbook contains recipes that will take you from the importing process and basic mechanics of editing up through many of FCPX’s advanced tools needed by top-tier editors on a daily basis. Edit quickly and efficiently, fix image and sound problems with ease, and get your video out to your client or the world easily.

In this article by Jason Cox, we will see the following topics:

  • Importing from a tapeless video camera
  • Importing MTS, M2TS, and M2T files
  • Appending, inserting, and overwriting clips to a storyline
  • Working with (and without) the Magnetic Timeline
  • Creating connected clips

Most artists have it easy—a painter grabs a brush, some paint and goes straight for the canvas. A writer grabs a pen and paper (or keyboard) and starts writing. A graphic artist grabs a tablet and starts drawing. If only it were that easy for video editors!

Well before an editor can start doing any actual work, we've got to spend a good amount of time getting organized and importing our media. The act of importing is simply the process of bringing our media inside FCPX and making the program aware of its existence. It's very similar to dragging a song file into iTunes—the song file already existed in some capacity, but by dropping it into iTunes, we're making iTunes aware that it exists. The same goes for FCPX in most cases.

Unlike the digital music world, however, which only has a small handful of file formats, the digital video world has dozens, and the process for importing these different media types can vary greatly. And, to top it all off, we have many options to consider as to how we want FCPX to process and handle that media as it is imported!

FCPX can import many kinds of media, but there are many factors that must be considered before doing so to determine the best workflow for a project, and where there's a will there's a way—even if FCPX can't immediately import certain file types or projects from other programs, this chapter will help explain workarounds to do the impossible!

Read Importing videos and basic editing mechanics in full

Importing Videos and Basic Editing Mechanics

by Jason Cox | October 2012 | Web Graphics & Video

The Final Cut Pro X Cookbook contains recipes that will take you from the importing process and basic mechanics of editing up through many of FCPX’s advanced tools needed by top-tier editors on a daily basis. Edit quickly and efficiently, fix image and sound problems with ease, and get your video out to your client or the world easily.

In this article by Jason Cox, we will see the following topics:

  • Importing from a tapeless video camera
  • Importing MTS, M2TS, and M2T files
  • Appending, inserting, and overwriting clips to a storyline
  • Working with (and without) the Magnetic Timeline
  • Creating connected clips
Read Importing Videos and Basic Editing Mechanics in full

Importing Structure and Data Using phpMyAdmin

by Marc Delisle | March 2009 | Open Source PHP

In this article by Marc Delisle, we will learn how to bring back exported data that we create for backup or transfer purposes. Exported data may also come from authors of other applications, and could contain the whole foundation structure of these applications and some sample data.

The current phpMyAdmin version (3.1) can import files containing MySQL statements (usually having a .sql suffix, but not necessarily so) and CSV files (comma-separated values, although the separator is not necessarily a comma) directly.

The import feature can be accessed from several panels:

  • The Import menu available from the homepage, the Database view, or the Table view
  • The Import files menu offered inside the Query window
Read Importing Structure and Data Using phpMyAdmin in full

Importing Structure and Data in phpMyAdmin 3.3.x for Effective MySQL Management

by Marc Delisle | October 2010 | MySQL Open Source PHP

In this article, by Marc Delisle, author of Mastering phpMyAdmin 3.3.x for Effective MySQL Management, we will learn how to import data that we have exported for backup or transfer purposes. Exported data may also come from authors of other applications, and could contain the whole foundation structure of these application along with some sample data.

The current phpMyAdmin version (3.3) can import:

  • Files containing MySQL statements (usually having a .sql suffx, but not necessarily so)
  • CSV files (comma-separated values, although the separator is not necessaria comma); these files can be imported by phpMyAdmin itself or via the MySQL LOAD DATA INFILE statement, which enables the MySQL Server to handle the data directly rather than having phpMyAdmin parse it frst
  • Open Document Spreadsheet files
  • Excel files (from versions 97 to 2007)
  • XML files (generated by phpMyAdmin)

The binary feld upload can be said to belong to the import family. Future versions might be able to import files in more formats.

Importing and uploading are synonyms in this context.

Read Importing Structure and Data in phpMyAdmin 3.3.x for Effective MySQL Management in full

Importing and Adding Background Music with Audacity 1.3

by Bethany Hiitola | March 2010 | Open Source

You can use Audacity to import music into your project, convert different audio files from one format to another, bring in multiple files and convert them, and more. In this article by Bethany Hiitola, author of Getting started with Audacity 1.3, we will learn how to add background music into your podcast, overdub, and fade in and out. We will also discuss some additional information about importing music from CDs, cassette tapes, and vinyl records.

Read Importing and Adding Background Music with Audacity 1.3 in full

Importing 3D Formats into Away3D

by Michael Ivanov | May 2011 | Open Source Web Graphics & Video

Three dimensions are better than two — and it's not a secret anymore that 3D is here to stay. Gone are the days when Flash was just used for 2D animations. In the last few years, online Flash content has undergone a revolution with the introduction of real-time 3D engines for Flash. Away3D is the big daddy of them all—which makes it the ultimate resource for top-rated 3D content development and for powering today's coolest games and Flash sites.

In this article by Michael Ivanov, author of Away3D 3.6 Cookbook, we will cover:

  • Exporting models from 3DsMax/Maya/Blender
  • Exporting models from 3DsMax to the ActionScript class
  • Preparing MD2 models for Away3D in MilkShape
Read Importing 3D Formats into Away3D in full

Important features of Mockito

by Marcin Grzejszczak | September 2013 | Open Source

In this article by Marcin Grzejszczak, author of the book Instant Mockito, we will learn how to reduce boilerplate code with annotations, and take advantage of advanced mocks configuration.

Read Important features of Mockito in full

Important Features of Gitolite

by Sitaram Chamarty | April 2014 | Open Source

In this article by Sitaram Chamarty, the author of Gitolite Essentials, we will learn about Access Control with Gitolite. We will go through sampling of Gitolite's power features, and also understand Gitolite and the Git control flow.

Read Important Features of Gitolite in full

Implementing Workflow in Alfresco 3

by Amita Bhandari Munwar Shariff | July 2009 | Content Management Java Open Source

The primary focus of implementing workflow is automation of a business process. In this article by Munawar Shariff & Amita Bhandari, we will see the basic, out-of-the-box workflow capabilities of Alfresco and the ways to extend it as per your business requirements.

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

  • Enable simple workflow for documents
  • Create email templates and set email notifications
  • Extend workflow to include multiple approval steps
  • Implement a complex workflow scenario for document lifecycle management

 

Read Implementing Workflow in Alfresco 3 in full

Implementing the Naïve Bayes classifier in Mahout

by Piero Giacomelli | December 2013 | Cookbooks Open Source

In this article written by Piero Giacomelli, the author of the book Apache Mahout Cookbook, we will implement the Naïve Bayes classifier for creating clusters and aggregating unstructured information in a manageable way.

We will cover the following recipes in this article:

  • Using the Mahout text classifier to demonstrate the basic use case
  • Using the Naïve Bayes classifier from code
  • Using Complementary Naïve Bayes from the command line
  • Coding the Complementary Naïve Bayes classifier
Read Implementing the Naïve Bayes classifier in Mahout 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