In the previous article we've seen how to test our rules using Guvnor, as well as using FIT for rule testing against requirements documents. This article by Paul Browne, shows how to test your rules further. It shows how to unit test the rules by using Junit. Unit testing has the advantage of documenting the code because it gives a working example of how to call the rules. It also makes your rules and code more reusable.Read Testing your JBoss Drools Business Rules using Unit Testing in full
The scenario addressed in this article is a typical one. You have got a database-backed web application that you are building, and it needs to have a text-search capability. It is an increasingly common requirement. There are a variety of options and variations at your disposal to implement text search. This article is mostly about two of them, using the text search features in your database versus using Apache Solr – an open-source search platform. Solr is built on the established Apache Lucene. In this article by David Smiley, we are going to talk about database based text search in general and not a particular one because there are many databases and they vary widely. Likewise, this article should also be useful when considering one of Solr's competitors.Read Text Search, your Database or Solr in full
In this article by Allan Brito, we will learn how to use textures to give our materials more realism. The biggest problem of working with textures is actually finding or creating a good texture. That's why, its highly recommended that you start as soon as possible to create your own texture library. Textures are mostly image files, which represent certain kinds of surfaces such as wood or stone. They work like wallpaper, which we can place on a surface or object. For instance, if we place an image of wood on a plane, it will give the impression that the plane is made of wood. That's the main principle of using textures. We will make an object look like something in the real world using a texture. For some projects, we may need a special kind of texture, which won't be found in a common library. So we will have to take a picture ourselves, or buy an image from someone. But don't worry, because often we deal with common surfaces that have common textures too.Read Textures in Blender in full
Your organization has decided that ADF might be the right tool to build your next enterprise application—now you need to set up an experiment to prove that your assumption is correct.
In this article by Sten E. Vesterli, author of Oracle ADF Enterprise Application Development—Made Simple, we will see what a Proof of Concept is, and why we need it. We will also take a look at the ADF architecture.Read The ADF Proof of Concept in full
This article by John D. Ament, the author of the book Arquillian Testing Guide, gives us an overview of Arquillian, as well as overall strategies for how to add Arquillian to your standards at work.
You will be writing tests with your code, and deploying using embedded Weld, OpenWebBeans, and Glassfish.
In this article we will cover:
- The progression of testing
- What is Arquillian
- The Arquillian difference
- The fundamentals of a test case
- Testing profiles
- Categorizing your test cases
- Enriching your tests
- Arquillian extensions
- Running out of the container
- Authoring efficient tests
- ShrinkWrap — building your own app
The Repeater control is a data-bound control that uses templates to display data. The Repeater control works by looping through the records in your data source and then repeating the rendering of one of its templates called the ItemTemplate, one that contains the records that the control needs to render. In this article by Joydip Kanjilal we will learn more about the Repeater control and some of its uses.Read The ASP.NET Repeater Control in full
Shaders give us the power to implement alternative rendering algorithms and a greater degree of flexibility in the implementation of those techniques. With shaders, we can run custom code directly on the GPU, providing us with the opportunity to leverage the high degree of parallelism available with modern GPUs.
This article by David Wolff, author of OpenGL 4.0 Shading Language Cookbook, provides examples of basic shading techniques such as diffuse shading, two-sided shading, and flat shading. Specifically, we will cover:
- Implementing diffuse, per-vertex shading with a single point light source
- Implementing per-vertex ambient, diffuse, and, specular (ADS) shading
- Using functions in shaders
- Implementing two sided shading
- Implementing flat shading
- Learn the basics of Joomla! module creation
- Create a "Send us a question" module
In the previous article, Understanding jQuery and WordPress Together, we took a look at the WordPress theme and how to edit it.
In this article by Tessa Blakeley Silver, author of Wordpress 3.0 jQuery, we will understand the following:
- Overview of WordPress and jQuery Plugin
- The basics of WordPress Plugin
- The basics of jQuery Plugin
"Boxes with round corners have become synonymous with WEB 2.0 and the future of website design. Forget AJAX, don't worry about SEO, put content on the back burner, what really excites people is nice rounded boxes. Why is this so? I'll tell you why…"
Read Tim Walton's step-by-step method of creating the easiest and the most efficient rounded boxes.Read The Best Way to Create Round Cornered Boxes with CSS in full
In this article by NDJOBO Armel Fabrice, author of Java EE 7 First Look, we will begin with a presentation of improvements in the business layer and then, in a small project, we will try to put together some of the specifications seen previously. The topics to be covered include:
Enterprise JavaBeans 3.2
Putting all Java EE 7 specifications together
This article by Satheesh Kumar N and Subashni S, the authors of Software Testing using Visual Studio 2012 discusses about the features of Visual Studio 2012. Visual Studio supports many testing features, and provides an IDE for testing and running the tests. It is very simple to run tests from Test Explorer user interface and view the results, or re-run the test from the Test Results window. Other than the IDE support, Visual Studio provides command line options to execute or run the tests that were created using the IDE. This option is very handy when executing the tests from other applications, or scheduling automated testing.
In this article, multiple command line tools are explained in detail to use for running the tests with different options and then collecting the output. Visual Studio 2012 provides three different command line utilities to execute the tests and they are as follows:
- VSTest.Console: This command line utility is for running the automated unit tests and coded UI tests from the command line.
- MSTest: This command line utility is for running the automated tests, viewing Test Results from Test Runs, and saving the results to Team Foundation Server. MSTest is also used for the compatibility with Visual Studio 2010.
- TCM: This command line utility is used for importing automated tests into Test Plan, running tests from Test Plan, and viewing lists of test items.
In this article by James D. Miller, author of IBM Cognos TM1 Developer's Certification Guide, we will identify and discuss each of the components of IBM Cognos TM1 that are covered in the current IBM Cognos TM1 Developer (Test COG-310) certification exam. The current exam assigns a weightage of 3 percent to this topic. The components of TM1 are divided into two basic types which are:
- Client components
- Sever components
Nginx is an open source high-performance web server, which has gained quite some popularity recently. Due to its modular architecture and small footprint, it has been the default choice for a lot of smaller Web 2.0 companies to be used as a load-balancing proxy server. It supports most of the existing backend web protocols such as FCGI, WSGI, and SCGI.
In this article by Dipankar Sarkar, author of Nginx 1 Web Server Implementation Cookbook, we will cover:
- Setting up the number of worker processes correctly
- Increasing the size of uploaded files
- Using dynamic SSI for simple sites
- Adding content before and after a particular page
- Enabling auto indexing of a directory
- Serving any random web page from a directory
- Serving cookies for identifying and logging users
- Re-encoding the response to another encoding
- Enabling Gzip compression on some content types
- Setting up 404 and other error pages
In order to be ready to architect maintainable, reusable, service-oriented applications, we need to become intimately familiar with standard patterns and always keep key principles in mind so as to truly build long-lasting SOA solutions. In this article by Richard Seroter, author of SOA Patterns with BizTalk Server 2009, you will learn:
- The definition of a service
- The core principles of a service-oriented architecture
- How the service-orientation principles apply to a BizTalk Server solution
The client-server distributed ObjectGrid instances combines the resources of multiple JVMs on multiple servers. In this article by Anthony Chaves, we'll learn how to use the resources held by the ObjectGrid instance to co-locate data and business logic on a single JVM. Co-locating data and logic on the same JVM requires a different model of programming. This article deals with the DataGrid API which makes co-location possible. In this article, we'll explore:
- Concepts implemented by the DataGrid API
- The programming model for sending logic to ObjectGrid partitions
- Where we would use the DataGrid classes
One of the key aspects of mobile technology is the ability to tie different systems together into a meaningful application. More and more companies are allowing access to their programs and data through an Application Programming Interface or API. These APIs include things such as:
Maps via Google, Yahoo, and other providers
Music applications such as Rdio and Spotify
Location aware data providers such as Foursquare
Social networks such as Facebook and Google Plus
Photo services such as Flickr and Picassa
You can get a rough idea of what is available, at http://www.programmableweb.com/apis.
This is just a small sampling of the data available to make your application more useful. The trick is how to get the data and how to use it. In this article we will be using the Foursquare API to explore the use of these types of APIs and how to get started.
In this article by John Earl Clark and Bryan P. Johnson, authors of Creating Mobile Apps with Sencha Touch 2, We will talk about:
An overview of external APIs
Getting started with the Foursquare API
Building the basic application
Loading a data store with information from Foursquare
Displaying the data to the user
We will start with a general look at how external APIs generally work and what you need to get started with one.Read The Decider: External APIs in full