Article Network

Dependency Management in SBT

by Shiti Saxena | October 2013 | Open Source Web Development

Software development never happens in isolation. Most of the time, for complex projects, you will not work alone, nor will you develop all the components in the product from scratch. Products are generally created in teams, and they generally rely on external libraries and components. A product itself can be broken into modules developed by different teams dependent on each other. Dependencies in software development refer to the libraries or components required at various stages (compile, test, and runtime) of an application's development life cycle. The process of handling these dependencies, external or internal, for your application is called dependency management. In this article by Shiti Saxena, author of Getting Started with SBT for Scala, we will venture into dependency management.

On the surface, it looks simple. All you have to do is take the JAR file and add it to your project. But when you actually have to handle it, problems arise. Some of the challenges are as follows:

  • Version management: This will track the version of various dependencies you are using. Download the latest ones when they become available and replace the old ones. Ensure someone else in the team doesn't simply change the JAR file to a newer/older version.
  • Transitive dependencies: This handles the chain of dependencies of the libraries you are dependent on, and also the dependencies of these dependencies.
  • Releasing your library: If your library is part of a larger project, making your library available to others to use in an easy way is a challenge, especially when it is updated frequently (think about nightly snapshots).
Read Dependency Management in SBT in full

Delving Deep into Application Design

by Alex Peterson Ilya Grinblat | January 2013 | Games Open Source Web Graphics & Video

In this article Ilya Grinblat and Alex Peterson, the authors of OGRE 3D 1.7 Application Development Cookbook, we'll show you how to create an Ogre 3D Windows application in Visual Studio 2010 using the Win32 API, the Microsoft Foundation Classes ( MFC), and the .NET framework. We'll show you how to configure your project settings to support Ogre, and how to integrate Ogre into each type of application. We'll also create a custom Ogre plugin and a custom resource manager.

Read Delving Deep into Application Design in full

Delicious Tagometer Widget

by Roshan Bhattarai | May 2009 | AJAX MySQL PHP Web Development

Delicious provides a well-known widget known as Tagometer which displays the number of saves and tags used for saving a particular URL. In this article by Roshan Bhattarai, we’ll learn how to build a custom Delicious Tagometer widget.

Read Delicious Tagometer Widget in full

Defining the Application's Policy File

by Pragati Ogal Rai | August 2013 | Open Source

This article created by Pragati Ogal Rai, the author of Android Application Security Essentials, will use the application components, Intents, and permissions and put them all together to define our application's policy file. This policy file is called AndroidManifest.xml and is by far the most important file of an application. As you will see, this file is the place to define access control policy for your application and components. This is also the place to define application and component level specifics that the Android system will use to interact with your application.

The article begins with a discussion of AndroidManfiest.xml. We will discuss the two important tags: <manifest> and <application> that we have not discussed so far. Next, we will discuss the actions that we can perform in the manifest file such as declaring permission, sharing a process with other applications, external storage, and managing component visibility. The article closes with a discussion of a checklist for your policy file before you release your application. You should adapt the checklist according to your use case. Once you have a comprehensive checklist, you can refer to it every time you are ready to make a new release.

Read Defining the Application's Policy File in full

Defining alerts

by Vaqar Hasan | August 2013 | Java Networking & Telephony Web Development

In this article by Vaqar Hasan, author of the book Instant EdgeSight for XenApp, we will explore EdgeSight alerts and illustrate how to create alerts and define action when the defined alert condition is/are met.

Read Defining alerts in full

Defining a Data Model for Spatial Data Storage

by Simon Greener Siva Ravada | October 2013 | Enterprise Articles Oracle

In this article by Simon Greener and Siva Ravada, the authors of Applying and Extending Oracle Spatial, we provide a SQL schema and functions that facilitate the storage, update, and query of collections of spatial features in an Oracle database.

Oracle Spatial and Graph provides a SQL schema and functions that facilitate the storage, update, and query of collections of spatial features in an Oracle database. Oracle Spatial and Graph is the new name for the feature formerly known as Oracle Spatial. In this article, we refer to this feature as Oracle Spatial for the sake of simplicity. We also focus exclusively on spatial feature of Oracle Spatial and Graph in this article. Oracle Spatial mainly consists of the following:

  • A schema (MDSYS derived from Multi-Dimensional System) that defines the storage, syntax, and semantics of the supported geometric (both vector and raster) data types
  • A spatial indexing mechanism for faster querying and retrieval
  • Operators, functions, and procedures for performing spatial analysis and query operations
  • A persistent topology data model for working with data about nodes, edges, and faces in a topology
  • A network data model for modeling and working with spatial networks
  • A GeoRaster data type and associated functions that let you store, index, query, analyze, and deliver raster data
Read Defining a Data Model for Spatial Data Storage in full

Debugging with OpenGL ES in iOS 5

by Steven F Daniel | January 2012 | Web Services

OpenGL for Embedded Systems (OpenGL ES) is a simplifed version of the popular OpenGL framework that has been developed to be much easier to learn and implement, eliminating the need for redundant functionality within the iOS graphics hardware. This framework has been optimized to take full advantage of hardware-accelerated mathematical operations, so that developers can get the best performance.

In this article by Steven Daniel, author of iOS 5 Essentials, we will be focusing on the new debugging features that come with the OpenGL ES debugger that enables developers to track down issues specifc to OpenGL ES in your code. Debugging with OpenGL ES

In this article, we will:

  • Learn about the new workfow feature within Xcode 4
  • Create a simple project to debug an OpenGL ES application
  • Familiarize ourselves with the OpenGL ES 2.0 programmable pipeline
  • Compile and link shaders into an OpenGL ES program
  • Pass data from an application to shaders, using uniforms and attributes
  • Detect OpenGL ES State information (view textures and shaders)
  • Set and use breakpoints to catch OpenGL ES errors
  • Set conditional OpenGL ES entry point breakpoints
  • Break on frame boundaries
Read Debugging with OpenGL ES in iOS 5 in full

Debugging the Scheduler in Oracle 11g Databases

by Ronald Rood | July 2009 | Oracle

In this article by Ronald Rood, we consider the fact that when the jobs get more complicated, it gets harder to understand why something works differently than planned. This article gives the reader a fresh look at how to follow and debug Scheduler jobs in Oracle 11g.

Read Debugging the Scheduler in Oracle 11g Databases in full

Debugging Sikuli scripts

by Ben Lau | August 2013 | Open Source Web Graphics & Video

This article by Ben Lau, the author of Instant Sikuli Test Automation [Instant], will help you with the debugging of the Sikuli scripts. This article outlines two methods for debugging scripts:

  • Debugging by looking at the logs
  • Debugging by recording videos of your test runs
Read Debugging Sikuli scripts in full

Debugging Sikuli scripts

by Ben Lau | July 2013 | Open Source Web Graphics & Video

This article by Ben Lau, the author of Instant Sikuli Test Automation [Instant], will help you with the debugging of the Sikuli scripts. This article outlines two methods for debugging scripts:

Read Debugging Sikuli scripts in full

Debugging REST Web Services

by Samisa Abeysinghe | July 2009 | Architecture & Analysis MySQL PHP Web Development

Learning how to figure out why things are going wrong is one of the key aspects of developing software. We call it debugging. While dealing with REST services and clients, things can go wrong and it would help a great deal to know how to find out what is causing the problems.

In this article by Samisa Abeysinghe, we will look into the techniques such as message capturing and analyzing to get to know if things are going fine, and if not, what sort of problems are causing trouble.

Read Debugging REST Web Services in full

Debugging PL/SQL in Oracle SQL Developer 2.1

by Sue Harper | September 2010 | Enterprise Articles Oracle

Once your PL/SQL code has successfully compiled, it is important to review it to make sure it does what is required and that it performs well. You can consider a number of approaches when tuning and testing code. These approaches include:

  • Debugging—run the code and add break points to stop and inspect areas of concern.
  • SQL performance—use Explain Plan results to review the performance.
  • PL/SQL performance—use the PL/SQL Hierarchical Profiler to identify bottlenecks.
  • Unit testing—review edge cases and general function testing. Does the code do what you intended it to do?

In this article by Sue Harper, author of Oracle SQL Developer 2.1, we'll review the debugger. We will see how to debug PL/SQL packages, procedures, and functions.

Read Debugging PL/SQL in Oracle SQL Developer 2.1 in full

Debugging Multithreaded Applications as Singlethreaded in C#

by Gastón C. Hillar | January 2009 | Microsoft

In order to solve problems that arise in concurrently running threads in applications, we need new debugging techniques suitable for the new parallelism environments that occur in Visual C#. In this article by Gastón C. Hillar, we will learn many tricks and debugging procedures that will help us find solutions to multithreaded application problems and have a better understanding of the execution of parallel threads. In this article we will be performing the following exercises:

  • Find out how to freeze some threads to stop concurrency and simplify the process for debugging one thread at a time
  • Learn to set and control breakpoints with multithreaded applications
  • Discover how to inspect values when multiple threads are accessing the variables that hold them
  • Develop multithreaded applications that show partial results to help us in the debugging process
Read Debugging Multithreaded Applications as Singlethreaded in C# in full

Debugging Java Programs using JDB

by Nataraju Neeluru | June 2010 | Java

In this article by Nataraju Neeluru, we will learn how to debug a Java program using a simple command-line debugging tool called JDB. JDB is one of the several debuggers available for debugging Java programs. It comes as part of the Sun's JDK. JDB is used by a lot of people for debugging purposes, for the main reason that it is very simple to use, lightweight and being a command-line tool, is very fast. Those who are familiar with debugging C programs with gdb, will be more inclined to use JDB for debugging Java programs.

We will cover most of the commonly used and needed JDB commands for debugging Java programs. Nothing much is assumed to read this article, other than some familiarity with Java programming and general concepts of debugging like breakpoint, stepping through the code, examining variables, etc. Beginners may learn quite a few things here, and experts may revise their knowledge.

Read Debugging Java Programs using JDB in full

Debugging and Validation in WordPress Theme Design

by Tessa Blakeley Silver | May 2009 | Content Management Open Source PHP WordPress

In this article by Tessa Blakeley Silver, you are going to cover the basic techniques of debugging and validation that you would be employing throughout your theme's development. We'll dive into the W3C's XHTML and CSS validation services, and also walk you through using Firefox's JavaScript/Error Console for robust debugging, as well as introduce you to the FireBug extension and the Web Developer's Toolbar. In addition to this, you will learn about little troubleshooting insight as to some of the most common reasons 'good code goes bad', especially in IE, and the various ways to remedy the problems.

Read Debugging and Validation in WordPress Theme Design in full

Debugging AJAX using Microsoft AJAX Library, Internet Explorer and Mozilla Firefox

by Bogdan Brinzarea Cristian Darie | October 2007 | .NET AJAX Microsoft Web Development

Developing AJAX applications that involve complex client-side programming and communication with the server side raises the need for equally complex debugging tools and techniques.

Most of today’s AJAX frameworks, including the Microsoft AJAX Library, offer built-in capabilities for debugging and tracing.

In this article by Cristian Darie and Bogdan Brinzarea, we will learn about the capabilities built in the Microsoft AJAX Library, and we’ll also learn about third-party debugging and tracing tools.

Read Debugging AJAX using Microsoft AJAX Library, Internet Explorer and Mozilla Firefox in full

Debatching Bulk Data on Microsoft Platform

by Mike Sexton | September 2010 | Architecture & Analysis Enterprise Articles Microsoft

Debatching data is the process of turning one huge pile of data into many small piles of data. There are multiple tools for debatching large bulk data loads including BizTalk Server and SQL Server Integration Services (SSIS). One can use such tools to break up large batches of data, manipulate it as needed, and send it on to its next reincarnation (for example, into an API, a relational database, or a text file). In this article by Mike Sexton, co-author of Applied Architecture Patterns on the Microsoft Platform, we will take a look at options for processing large data sets and explain how to take giant sets of data and insert them into databases for analysis.

Read Debatching Bulk Data on Microsoft Platform in full

Date and Calendar Module in Drupal 5: Part 2

by Marjorie Roswell | May 2009 | MySQL Content Management Drupal Open Source PHP

The previous part of the article focused on just a few modules, with an emphasis on date. We explored Date formats, Exposed filters fieldset and the Views Date Range Filter Module. We also had a chance to create some summary views. In this part by Marjorie Roswell, we shall create a Timeline, cover the Views Popup feature, create a Calendar and also make an iCal feed.

Read Date and Calendar Module in Drupal 5: Part 2 in full

Date and Calendar Module in Drupal 5: Part 1

by Marjorie Roswell | May 2009 | MySQL Content Management Drupal Open Source PHP

This is the first part of a two-part article series by Marjorie Roswell. All of the recipes in this article require CCK and the date field (also Views, and Views UI), so we won't take the space to list them in every ingredient list. In this two-part article, we create a wide variety of views, mostly from a single workshop content type. Several of the views implement style plug-ins, which appear as new options in the Views Type drop-down. If you are still working on the 1.x versions of Date, be sure to check out Recipe 44, Upgrade Date and Calendar Modules which will be discussed in the next part.

Read Date and Calendar Module in Drupal 5: Part 1 in full

Database/Data Model Round-Trip Engineering with MySQL

by Djoni Darmawikarta | May 2009 | PHP

Round-trip engineering as applied to a database means reverse engineering (database to data model) and forward engineering (data model to database) back and forth.

In this article, Djoni Darmawikarta shows how to maintain an existing MySQL database using Power*Architect. Particularly, he shows by examples, how to reverse engineer an existing MySQL database, update the resulting data model, compare the updated model with the 'old' database, and implement the updates by forward-engineering them back to the database.

Read Database/Data Model Round-Trip Engineering with MySQL 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