Article Network

Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1

by David Thomas | November 2009 | Web Development

In this article we develop the basic parts of the web application that serves as Trinidad sample web application. For example, login registration, user authorization, navigation, internationalization (18n), and polling are implemented and briefly discussed. We cover all these areas and learn how this can be practically solved in conjunction with Trinidad, Facelets, and Seam and provide further completing information wherever required.

Also, at the end of this two-part article by David Thomas, we deal with deployment using Seam-gen to rapidly deploy at each change of any file.

Read Apache MyFaces Trinidad 1.2 Web Application Groundwork: Part 1 in full

Apache OFBiz Entity Engine

by Ruth Hoffman | November 2010 | Cookbooks Open Source

This article, by Ruth Hoffman, author of Apache OFBiz, discuss' the recipe's for OFBiz entity engine.

This article will cover:

  • Changing the default database
  • Connecting to a remote database
  • Connecting to multiple databases
  • Creating entity groups
  • Disabling automatic database checks
  • Mapping database data types
  • Creating a new entity model
  • Modifying an existing entity model
  • Building a view-entity
Read Apache OFBiz Entity Engine in full

Apache OFBiz Service Engine: Part 1

by Jonathon Wong Rupert Howell | June 2009 | Java Open Source

In this two-part article by Jonathon Wong and Rupert Howell, we will be exploring the Service Engine. Services in OFBiz operate in a Service Oriented Architecture (SOA). These services not only have the ability to invoke other services internally, but can also be 'opened up' and invoked by remote applications using, amongst other methods, the widely adopted messaging protocol SOAP.

Besides serving as a platform for interoperability, OFBiz services also offer us additional capability to organize our code. The traditional organizational strategies in object-oriented Java were a great improvement over the procedural paradigm. Wrapping both methods and variables together into objects to form a powerful "behavioral model" for code organization (where object's methods and variables define their behavior). Similarly with OFBiz services we are able to bundle groups of behavior together to form a coherent "service". We can say that OFBiz services, in terms of code or software organization, operate at a higher level than Java object-oriented organizational strategies.

In this part, we will be looking at:

  • Defining and creating a Java service
  • Service parameters
  • Special unchecked (unmatched) IN/OUT parameters
  • Security-related programming
Read Apache OFBiz Service Engine: Part 1 in full

Apache OFBiz Service Engine: Part 2

by Jonathon Wong Rupert Howell | June 2009 | Java Open Source

In the previous part of the article by Jonathon Wong and Rupert Howell, we looked at Defining and creating a Java service, Service parameters, Special unchecked (unmatched) IN/OUT parameters, and Security-related programming. In this part, we will look at the following:

  • Calling services from code (using dispatcher)
  • IN/OUT parameter mismatch when calling services
  • Sending feedback; standard return codes success, error and fail
  • Implementing Service Interfaces
  • Synchronous and asynchronous services
  • Using the Service Engine tools
  • ECAs: Event Condition Actions
Read Apache OFBiz Service Engine: Part 2 in full

Apache OFBiz Services

by Ruth Hoffman | September 2010 | Cookbooks Open Source

In this article, by Ruth Hoffman, author of Apache OFBiz Cookbook, we explore the following OFBiz Service topics:

  • Managing OFBiz Services
  • Calling asynchronous, synchronous, and recurring Services from an HTML form
  • Creating a Service definition file
  • Creating a Service definition
  • Service implementation
  • Defining Service input and output attributes
  • Service Event Condition Actions (SECAs)
  • Service groups
  • Handling Service errors
  • Implementing Groovy Services
  • Mail Event Condition Actions (MECAs)
  • Entity Event Condition Actions (EECAs)
Read Apache OFBiz Services in full

Apache Roller 4.0: Creating a Theme

by Alfonso V. Romero | November 2010 | Beginner's Guides Open Source

In this article by Alfonso V. Romero, author of Apache Roller 4.0 Beginner's Guide, we will look at how to create your first Roller theme from scratch. We will also cover the basics about the theme.xml, weblog.vm, _day.vm, and stylesheet override files used inside a Roller theme.

Read Apache Roller 4.0: Creating a Theme in full

Apache Solr Configuration

by Rafał Kuć | February 2013 | Cookbooks

Setting up an example Solr instance is not a hard task, at least when setting up the simplest configuration. The simplest way is to run the example provided with the Solr distribution, that shows how to use the embedded Jetty servlet container.

In this article by Rafal Kuc, author of Apache Solr 4 Cookbook , we will cover the following topics:

  • Running Solr on Jetty

  • Running Solr on Apache Tomcat

  • Installing a standalone ZooKeeper

  • Clustering your data

  • Choosing the right directory implementation

  • Configuring spellchecker to not use its own index

  • Solr cache configuration

  • How to fetch and index web pages

We have a simple configuration, simple index structure described by the schema.xml file, and we can run indexing.

In this article you'll see how to configure and use the more advanced Solr modules; you'll see how to run Solr in different containers and how to prepare your configuration to different requirements. You will also learn how to set up a new SolrCloud cluster and migrate your current configuration to the one supporting all the features of SolrCloud. Finally, you will learn how to configure Solr cache to meet your needs and how to pre-sort your Solr indexes to be able to use early query termination techniques efficiently.

Read Apache Solr Configuration in full

Apache Solr PHP Integration

by Jayant Kumar | November 2013 | Open Source Web Development

Search is an integral part of any web application that is built today. Whether it is a content site, a job site, an ecommerce site or any other website, search plays a very important role in helping the user locate the information that he is looking for. As a developer it is imperative to provide the user of the website all the possible tools for searching and narrowing down to the required information. Apache Solr is a full text search engine which provides a large list of features for search. PHP is the preferred programming language for building websites.

This article written by Jayant Kumar, author of the book Apache Solr PHP Integration, will make the integration between Apache Solr and PHP easy for you. We will start with Solr installation. Look at how Solr can be integrated with PHP. And then explore the features provided by Solr through PHP code. After going through the book, you should be able to integrate almost all features provided by Solr into your PHP applications.

Read Apache Solr PHP Integration in full

Apache Solr: Analyzing your Text Data

by Rafał Kuć | July 2011 | Open Source

The process of data indexing can be divided into different parts. One of the parts, actually one of the last parts, of this process is data analysis . It's one of the crucial parts of data preparation. It defines how your data will be written into index, its structure, and so on. In Solr, data behavior is defined by types.

In this article by Rafał Kuć, author of Apache Solr 3.1 Cookbook, we will cover:

  • Storing additional information using payloads
  • Eliminating XML and HTML tags from the text
  • Copying the contents of one field to another
  • Changing words to other words
  • Splitting text by camel case
  • Splitting text by whitespace only
  • Making plural words singular, but with out stemming
  • Lowercasing the whole string
  • Storing geographical points in the index
  • Stemming your data
  • Preparing text to do efficient trailing wildcard search
  • Splitting text by numbers and non-white space characters
Read Apache Solr: Analyzing your Text Data in full

Apache Solr: Spellchecker, Statistics, and Grouping Mechanism

by Rafał Kuć | July 2011 | Open Source

There are many features of Solr that we don't use every day. In the previous article by Rafal Kuc, author of Apache Solr 3.1 Cookbook, we took a look at some Solr functionalities such as highlighting, sorting results, ignoring words, and so on. In this article, we will take a look at the spellchecker, statistics, or grouping mechanism which may not be in everyday use, but they can come in handy in many situations. The author will try to show you how to overcome some typical problems that can be fixed by using these Solr functionalities.

Specifically, we will cover:

  • Computing statistics for the search results
  • Checking user's spelling mistakes
  • Using "group by" like functionalities in Solr
Read Apache Solr: Spellchecker, Statistics, and Grouping Mechanism in full

Apache Wicket: Displaying Data Using DataTable

by Igor Vaynberg | April 2011 | Cookbooks Open Source Web Development

No web application is complete without a page that has a table of data. In this article by Igor Vaynberg, author of Apache Wicket Cookbook, we will learn how to make great use of Wicket's DataTable components to make displaying awesome tables a snap.

In this article we will cover:

  • Sorting
  • Filtering
  • Making cells clickable
  • Making rows selectable with checkboxes
  • Exporting data to CSV
Read Apache Wicket: Displaying Data Using DataTable in full

Aperture in Action

by Thomas Fitzgerald | September 2013 | Web Graphics & Video

In this article, by Thomas Fitzgerald author of the book Mastering Apple Aperture, we will put that theory into practice, and take a look at several real world examples of how you can use Aperture, both creatively and to solve problems. The goal is to help you think outside the box and you may actually be surprised at just how much you can achieve within the software without having to jump over to another application, such as Photoshop.

In this article, we will look at the following examples of using Aperture:

  • Recovering and controlling clipped highlights

  • Fixing blown out skies

  • Removing objects from a scene

  • Fixing dust spots on multiple images

  • Fixing chromatic aberration

  • Fixing purple highlight fringes

  • Creating fake duotones

  • Fix a scanned negatives

Read Aperture in Action in full

APEX Plug-ins

by Marcel Van Der Plas Michael Van Horenbeeck | October 2013 | Cookbooks Enterprise Articles Oracle

In this article created by Marcel van der Plas and Michel van Zoestauthor of Oracle APEX Cookbook, we will cover the following topics:

  • Creating an item type plug-in
  • Creating a region type plug-in
  • Creating a dynamic action plug-in
  • Creating a process type plug-in
  • Creating an authorization plug-in
Read APEX Plug-ins in full

Appcelerator Titanium: Creating Animations, Transformations, and Understanding Drag-and-drop

by Boydlee Pollentine | December 2011 | Cookbooks

Almost any control or element in Titanium can have an animation or transform applied to it. This allows you to enhance your applications by adding a level of interactivity and "bling" that your apps would otherwise perhaps not have.

In this article by Boydlee Pollentine, author of of Appcelerator Titanium Smartphone App Development Cookbook, we will cover:

  • Animating a View using the "animate" method
  • Animating a View using 2D matrix and 3D matrix transforms
  • Dragging an ImageView using touch events
  • Scaling an ImageView using a Slider control
  • Saving our "Funny Face" image using the toImage() method
Read Appcelerator Titanium: Creating Animations, Transformations, and Understanding Drag-and-drop in full

AppFog Top Features You Need to Know

by Pau Kiat Wee | August 2013 | Open Source Web Development

This article created by Pau Kiat Wee, the author of Instant AppFog, we will discuss the top features of AppFog you need to know about. After you read this article, you will know how to use AppFog features for your application, including SSL, adding third-party add-ons, export services, and much more.

Read AppFog Top Features You Need to Know in full

Application Development in Visual C++ - The Tetris Application

by Stefan Björnander | August 2008 | .NET Microsoft

Tetris is a classic game. In this article by Stefan Björnander, we will develop a version very similar to the original version. Seven figures of different shapes and colors fall down and the player's job is to move and rotate them into positions so that as many rows as possible are completely filled. When a row is filled, it disappears. Every removed row gives one point.

Read Application Development in Visual C++ - The Tetris Application in full

Application Packaging in VMware ThinApp 4.7 Essentials

by Peter Björk | January 2013 | Enterprise Articles

In this article by Peter Björk, authors of VMware ThinApp 4.7 Essentials, we will cover the packaging process. We'll discuss packaging's best practices the, packaging environment, entry points, the data container, and Package.ini.

Read Application Packaging in VMware ThinApp 4.7 Essentials in full

Application Performance

by Shantanu Kumar | November 2013 | Open Source

This article by Shantanu Kumar the author of Clojure High Performance Programming, discusses about high level concerns. As opposed to performance analysis and optimization at a smaller component level, it takes a holistic approach for the same at the application level. Higher level concerns, such as serving a certain threshold of users in a day or handling an identified quantum of load through a multilayered system, require us to think about how the components fit together and how the load is designed to flow through the application

Read Application Performance 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