Play! Framework 2 – Dealing with Content
A web application always has, at some point, the need to deal with multiple types of content. Common content types include JSON, XML, HTML, but there could also be images or even videos to be stored and streamed. Play! 2 provides a clean way of dealing with such content types with the help of body parsers.
We won't cover the implementation details of such body parsers, because it's purely based on a functional concept, Iteratee, and thus their implementations are in Scala only. However, we'll see how they are used and how we can gain benefits from them.
In this article by Andy Petrella author of Learning Play! Framework 2, we'll update and clean up a bit of what we have been doing so far in order to enable several workflows. So we will only be using examples we have learned up to now. The following is what will be achieved:
-
Make the Chat and Item classes persistent using Ebean
-
Create a link between an item and a user (a user's reply in a chat)
-
Introduce a new type, Image, that will be part of a chat as an attachment
-
Enable a user to connect
-
Browse all chat instances
-
Allow the connected user to reply in a chat
-
Allow the connected user to attach an image to a chat
-
Show examples of UIs
-
Create an action that outputs a requested image
-
Create an action that provides an Atom feed of all chats which have specific users getting involved (kind of like following)
Techniques for Creating a Multimedia Database
This article by Marcelle Kratochvil author of Managing Multimedia and Unstructured Data in the Oracle Database, covers the technical aspects of setting up a database to use Oracle Multimedia. It contains tips, codes, and useful techniques for setting up and managing an Oracle Database and covers the core storage capabilities of the Oracle Database. The goal is to enable the database administrator to make correctly informed decisions about the physical structure of database storage objects, in particular tablespaces, datafiles, and database capabilities.
Read Techniques for Creating a Multimedia Database in fullMaking Money with Your Game
In this article by Davy Cielen and Arno Meysman authors of HTML5 Game Development with ImpactJS, we will take a quick look at the options you have for making money with HTML5 game development. Building games can be done purely as a hobby or as a profession. However, the latter requires you to build some pretty unique and successful games as the competition is quite steep. Thus, offering a unique gaming proposition, supported by a healthy dose of marketing, seems to be the way to go for most successful game developers. In this article we will cover:
-
A few strategic options you have when going into game development
-
Making money in the app circuit of Android and Apple
-
The option of in-game advertising and how it applies to HTML5 games
-
MarketJS as a way to sell your distribution rights to a publisher
Working with Home Page Components and Custom Links
In this article by Paul Goodey, author of Getting Started with Oracle Event Processing 11g, we will cover the following recipes:
-
Creating a Personal Setup link using the standard Custom Links on the sidebar
-
Using Custom Links to open Training in a new window from the sidebar
-
Creating a news-ticker message on the home page
-
Automatically collapsing Chatter feeds on the home page
-
Removing Chatter feeds on the home page
-
Adding a Send An Email button on the home page
-
Showing Opportunity Sales Stage descriptions on the home page
Analyzing network forensic data (Become an expert)
Having some skill with Tshark and analyzing our network on a regular basis can help us greatly in identifying multiple security issues. Besides the network attacks previously seen, we can intelligently use Tshark to investigate security incidents whose origin is unknown. In this article by Borja Merino, author of Traffic Analysis with Tshark How-to, we will discuss a couple of examples, data exfiltration by a malicious user and an internal network intrusion.
Read Analyzing network forensic data (Become an expert) in fullIntegration with System Center Operations Manager 2012 SP1
In this article created by Edvaldo Alessandro Cardoso, author of Microsoft System Center Virtual Machine Manager 2012 Cookbook, we will cover the following topics:
-
Installing System Center Operations Manager 2012 SP1
-
Installing management packs
-
Managing Discovery and Agents
-
Configuring the integration between Operations Manager 2012 and VMM 2012
-
Enabling reporting in VMM
-
Monitoring VMware vSphere infrastructure from the Operations Manager using management packs
Quick Start into Selenium Tests
In this article by Unmesh Gundecha, author of Instant Selenium Testing Tools Starter, we will show you how to record a test using Selenium IDE. During the recording, we will add some additional commands to the test and run the recorded test.
A test is a basic building block in Selenium IDE. It contains commands for navigation, test steps, and checks for expected versus the actual state of the application. In this article we will show you how to create your first test and execute this test with Selenium IDE.
Read Quick Start into Selenium Tests in fullBuilding a bar graph cityscape
This article by Ken Lim, author of Instant Rainmeter Desktop Customization Tool How-to, explains the method of customizing your Windows desktop wallpaper with a live cityscape for different CPU processes. The article, will guide you through the ways to customize your Windows desktop wallpaper using Rainmeter.
Read Building a bar graph cityscape in fullDrilling Back to Source Data in Dynamics GP 2013 using Dashboards
In this article by Mark Polino, author of Building Dashboards with Microsoft Dynamics GP 2013 and Excel 2013, will walk you through the deployment of a dashboard. Once you deploy a dashboard, it's inevitable that someone will want more information. They won't believe a number and will want to know the detail that makes up a balance. A great way to manage this is to build a couple of dashboards. Usually, this looks like a primary dashboard with secondary dashboards that break out more information about sales, cash, or departments. We've done this on a very simple level with our Revenue and Net Income tabs. They provide additional detail to expand on the main dashboard numbers.
Another great way to deal with the need for detail, and to take your dashboard beyond what everyone else is doing, is to allow users to drill down into specific transactions or accounts in Microsoft Dynamics GP 2013. In this article, we will look at drill down options including:
-
Hyperlinks
-
Using drill downs present in GP 2013
-
The structure of a drill down
-
Building your own links with Drill Down Builder
-
Drill downs in complex environments
Insight into Hyper-V Storage
In this article by Zahir Hussain Shah, the author of Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform, we will dive deeper into Hyper-V storage, where we will discuss the various types of storage options available with Microsoft Windows Server 2012 Hyper-V for a virtual machine in detail.
Read Insight into Hyper-V Storage in full.NET 4.5 Extension Methods on IQueryable
In this article by Shawn R. McLean, author of Instant .NET 4.5 Extension Methods How-to , we learn about the extension methods on IQueryable. IQueryable is used to operate mainly on databases. IQueryable<T>are an extension from IEnumerable<T>, hence, we can call all extensions and methods of IEnumerable<T>. A query using IQueryable can be built up on over time, before it hits the database. The query is executed once you execute an eager function such as ToList(), looping the data or attempting to use the values. IQueryable is used by providers such as LINQ to entities or LINQ to SQL.
Read .NET 4.5 Extension Methods on IQueryable in fullTracking Faces with Haar Cascades
This article by Joseph Howse, author of OpenCV Computer Vision with Python introduces some of OpenCV's tracking functionality, along with the data files that define particular types of trackable objects. Specifically, we look at Haar cascade classifiers, which analyze contrast between adjacent image regions to determine whether or not a given image or subimage matches a known type. We consider how to combine multiple Haar cascade classifiers in a hierarchy, such that one classifier identifies a parent region (for our purposes, a face) and other classifiers identify child regions (eyes, nose, and mouth).
We also take a detour into the humble but important subject of rectangles. By drawing, copying, and resizing rectangular image regions, we can perform simple manipulations on image regions that we are tracking.
By the end of this article, we will integrate face tracking and rectangle manipulations into Cameo. Finally, we'll have some face-to-face interaction!
All the finished code for this article can be downloaded from my website: http://nummist.com/opencv/3923_04.zip.
Read Tracking Faces with Haar Cascades in fullWhat is OpenLayers?
In this article by Alessio Di Lorenzo and Giovanni Allegri, the authors of the book Instant OpenLayers Starter, we will discuss some basic points about OpenLayers
OpenLayers is an open source map viewing library, originally developed and released by MetaCarta under a BSD license. It is written in pure JavaScript and makes it easy to incorporate interactive maps from a variety of sources into your web pages and applications.
Read What is OpenLayers? in fullMove Further with NumPy Modules
NumPy has a number of modules that have been inherited from its predecessor, Numeric. Some of these packages have a SciPy counterpart, which may have fuller functionality. The numpy.dual package contains functions that are defined both in NumPy and SciPy. The packages discussed in this article are also part of the numpy.dual package.
In this article by Ivan Idris from the book NumPy Beginner’s Guide - Second Edition, we shall cover the following topics:
- The linalg package
- The fft package
- Random numbers
- Continuous and discrete distributions
Android Native Application API
Thanks to the Android native application APIs, it is possible to write an Android application with pure native code since Android API level 9 (Android 2.3, Gingerbread). That is, not a single line of Java code is needed. The Android native APIs are defined in several header files under the <NDK root>/platforms/android-<API level>/arch-arm/usr/ include/android/ folder.
In this article by Feipeng Liu author of Android Native Development Kit Cookbook, we will cover the following recipes:
-
Creating a native activity with the native_activity.h interface
-
Creating a native activity with the Android native app glue
-
Managing native windows at Android NDK
-
Detecting and handling input events at Android NDK
-
Accessing sensors at Android NDK
-
Managing assets at Android NDK


