Article Network

Using a Persistent Connection

by Roberto Vespa | April 2014 | Cookbooks Open Source Web Development

In this article by Roberto Vespa, the author of SignalR Real-time Application Development Cookbook, we will cover the following recipes:

  • Adding and registering a persistent connection

  • Sending messages from the server

  • Sending messages to the server

  • Exchanging messages between a server and a JavaScript client

  • Exchanging messages between a server and a .NET client

Read Using a Persistent Connection in full

Using Additional Solr Functionalities

by Rafał Kuć | July 2011 | Open Source

There are many features of Solr that we don't use every day. Highlighting, sorting results, or ignoring words may not be in everyday use, but they can come in handy in many situations. In this article Rafal Kuc, author of Apache Solr 3.1 Cookbook, the author will try to show you how to overcome some typical problems that can be fixed by using some of the Solr functionalities.

Specifically, we will cover:

  • Getting more documents similar to those returned in the results list
  • Presenting search results in a fast and easy way
  • Highlighting matched words
  • How to highlight long text fields and get good performance
  • Sorting results by a function value
  • Searching words by how they sound
  • Ignoring defined words
Read Using Additional Solr Functionalities in full

Using Advanced Host Configurations and Opsview Pro Features

by Alan Wijntje | December 2013 | Open Source

This article by Alan Wijntje, the author of the book Monitoring with Opsview, gives us information about some of the advanced configurations and other features that Opsview offers us to improve our monitoring setup.

Read Using Advanced Host Configurations and Opsview Pro Features in full

Using An Object Oriented Approach for Implementing PHP Classes to Interact with Oracle

by Yuli Vasiliev | November 2007 | AJAX BPEL MySQL SOA Web Services Content Management Open Source Oracle PHP Web Development

This article by Yuli Vasiliev examines the object-oriented approach for developing PHP/Oracle applications, as an efficient means to reduce the development time and complexity, and increase the maintainability and flexibility of your applications.

In the following sections, you will learn how to create a simple PHP class to interact with Oracle and then how that class can be modified and reused in different scripts.

Read Using An Object Oriented Approach for Implementing PHP Classes to Interact with Oracle in full

Using Animated Pieces in a Board-based Game with XNA 4.0

by Kurt Jaegers | September 2010 | Beginner's Guides Microsoft Web Graphics & Video

This article by Kurt Jaegers, author of XNA 4.0 Game Development by Example: Beginner's Guide, enhances a board-based puzzle game called Flood Control in XNA 4.0 using animation. In this article, we will cover:

  • Animating the rotation of pieces when manipulated by the player
  • Gradually fading out pieces of completed scoring chains
  • Animating the falling of pieces into place on the board

All of these enhancements will give the player a better game experience, as well as give us the opportunity to learn more about how the SpriteBatch class can be used for animation.

Read Using Animated Pieces in a Board-based Game with XNA 4.0 in full

Using App Directory in HootSuite

by Kunal Mathur | October 2013 | Open Source

This article written by Kunal Mathur, the author of Instant Social Media Marketing with HootSuite, will teach you how to integrate various social content applications directly from HootSuite. A prerequisite for this is that you must have a HootSuite account and must be logged in to it.

Read Using App Directory in HootSuite in full

Using ASP.NET Controls in SharePoint

by Mike Poole | July 2009 | Microsoft

As SharePoint and the underlying .NET Framework developed over the years, more readymade controls have become available for us to use in our applications. Such controls allow us to drop common, and often complex, features into our site. For example, if we would like to add user registration and login features (often referred to as personalization and membership) to our site, it is a chore to build everything we require (registration form with validation, login box, password reminder, change password, etc.) each time we build a site. Microsoft has built these controls for us so that we can easily add them to our site. In this article by Mike Poole, we will examine the use of these controls.

Very occasionally, we find that we are not able to do what we would like to do with the SharePoint configuration that comes "out of the box". A common example of this is using forms authentication in our site. Later on in the article, we will also make some configuration changes to SharePoint and associated products, such as Internet Information Services (IIS), SQL Server, and Visual Studio, to demonstrate how forms authentication can be enabled.

Read Using ASP.NET Controls in SharePoint in full

Using ASP.NET Master Pages in your MCMS Applications

by Lim Mei Ying Spencer Harbar Stefan Goßner | April 2010 | .NET Content Management Open Source

In the previous article by Spencer Harbar, Lim Mei Ying, and Stefan Gobner, authors of Enhancing Microsoft Content Management Server with ASP.NET 2.0, we reviewed the basics of the new Visual Studio 2005 MCMS development environment, configured the 'CMS' Virtual Directory, and created our own custom Visual Studio 2005 templates for MCMS.

This article, which is the fourth article in the article series, provides an overview of the benefits of using master pages and a step-by-step guide for implementing them in your MCMS applications, where they become master templates!

Read Using ASP.NET Master Pages in your MCMS Applications in full

Using Asterisk as a PSTN Gateway for OpenSER

by Flavio E. Goncalves | June 2008 | Linux Servers Networking & Telephony Open Source

PSTN or Public Switched Telephone Network is the collection of all the telephone networks, which are interconnected in the world. If we want to be able to route calls from and to the PSTN using OpenSER, we need to be connected to a PSTN. To send calls to the PSTN, we need a device called PSTN gateway. There are several manufacturers such as Cisco, Nortel, and others who manufacture this kind of equipment. You can also use an Asterisk PBX box for this task. Asterisk makes an affordable PSTN gateway that is very competitive with the big players mentioned above. In this article by Flavio E. Goncalves, we will see how to use asterisk as a PSTN gateway for OpenSER.

Read Using Asterisk as a PSTN Gateway for OpenSER in full

Using Azure BizTalk Features

by Johan Hedberg Kent Weare Morten la Cour | February 2014 | Enterprise Articles Microsoft

In this article by Johan Hedberg, Morten la Cour, and Kent Weare, authors of the book Microsoft BizTalk Server (70-595) Certification Guide, Second Edition, we will Identify the processes used to run a BizTalk Server environment as a Windows Azure Virtual Machine and Identify the processes used to enable integration using Windows Azure BizTalk Services part of the Assessment. It will introduce the reader to some basic concepts of Microsoft Windows Azure as well as cover both running BizTalk in a virtual image on Azure and using the new Windows Azure BizTalk Services (WABS). Using the new mapper, XML, and Flat File bridges as well as using the EDI Portal for receiving X12 documents will also be covered.

Read Using Azure BizTalk Features in full

Using Bean Validation (JSR 303) annotations with Apache MyFaces 1.2

by Bart Kummel | March 2010 | Java Open Source Web Development

This article by Bart Kummel, author of Apache MyFaces 1.2 Web Application Development, shows how we can use Bean Validation (JSR 303) annotations to declaratively define validation rules in our Java EE application. In this article, Apache MyFaces Extensions Validator (ExtVal) is used to generate the JSF validators, based on Bean Validation annotations. While JSF 2.0 has native support for Bean Validation, ExtVal can also be used with JSF 1.2. And ExtVal offers some possibilities that cannot be achieved with the default JSF 2.0 Bean Validation support.

This article is the third in a series of ExtVal articles. Other articles in this series:

Read Using Bean Validation (JSR 303) annotations with Apache MyFaces 1.2 in full

Using Business Rules to Define Decision Points in Oracle SOA Suite 11g R1- An Introduction

by Antony Reynolds Matt Wright | June 2010 | Enterprise Articles Oracle

In this article by Antony Reynolds and Matt Wright, authors of Oracle SOA Suite 11g R1 Developer's Guide, we will discuss the new Rules Editor in 11gR1, including Decision Tables and how we can incorporate rules as decision points within a BPEL Process.

Read Using Business Rules to Define Decision Points in Oracle SOA Suite 11g R1- An Introduction in full

Using Business Rules to Define Decision Points in Oracle SOA Suite: Part 1

by Matt Wright | March 2009 | Architecture & Analysis BPEL SOA Web Services Java Web Development

In this two part article by Matt Wright, we will look at how we can use the Business Rules engine to externalize rules from a BPEL process into a separate decision service. Once we've done this, we will know how to invoke the rule from a BPEL process. At run time there may be many potential paths through a BPEL process, controlled by conditional statements such as switch or while activities. Typically the business rules that govern which path to take at any given point are written as XPath expressions embedded within the appropriate activity.

Although this is an acceptable approach, we often find that while the process itself may be relatively static, the business rules embedded within the activities may change on a more frequent basis. This will require us to update the BPEL process and redeploy it even though the process flow itself hasn't changed. In addition, by embedding the rule directly within the decision point, we often end up having to re-implement the same rule every time it is used, either within the same process or across multiple processes. Apart from being inefficient, this can lead to inconsistent implementations of the rules as well as requiring us to update the rule in multiple places every time it changes.

Read Using Business Rules to Define Decision Points in Oracle SOA Suite: Part 1 in full

Using Business Rules to Define Decision Points in Oracle SOA Suite: Part 2

by Matt Wright | March 2009 | Architecture & Analysis BPEL SOA Web Services Java Oracle Web Development

In the previous part of the article we looked at how we can use the Oracle Business Rules engine to implement business rules, and how we can invoke these from within BPEL as a decision service.

In this part by Matt Wright, we will have a look at how to create a Decision Service.

Read Using Business Rules to Define Decision Points in Oracle SOA Suite: Part 2 in full

Using Cameras

by Chico Queiroz Matt Smith Zeeshan Chawdhary | August 2013 | Cookbooks Games

In this article by Matt Smith and Chico Queiroz, the authors of Unity 4.x Cookbook, we will cover:

  • Creating a picture-in-picture effect
  • Switching between multiple cameras
  • Customizing the lens flare effect
  • Making textures from screen content
  • Zooming a telescopic camera
  • Making an inspect camera
  • Creating particle effects using Shuriken
  • Displaying a mini-map

As developers, we should never forget to pay attention to the cameras. After all, they are the windows from which our players see our game. In this article, we will take a look at ways of making them more interesting within the player experience.

Read Using Cameras in full

Using ChronoForms to add More Features to your Joomla! Form

by Bob Janes | August 2010 | Joomla! Content Management Open Source Web Development

Joomla! is a fantastic way to create a dynamic CMS. Now, you want to go to the next step and interact with your users. Forms are the way you ask questions and get replies. ChronoForms is the extension that lets you do that and this article tells you how.

In the previous article we covered:

  • Adding a validated checkbox
  • Adding an "other" box to a drop-down
  • Sending an SMS message on submission
  • Signing up to a newsletter service
  • Adding a conversion-tracking script

In this article by Bob Janes, author of the book ChronoForms 3.1 for Joomla! site Cookbook , we will cover the following features:

  • Showing a YouTube video
  • Adding a bar-code to a for m e-mail
  • Adding a character counter to a textarea
  • Creating a "double drop-down"
Read Using ChronoForms to add More Features to your Joomla! Form in full

Using Content Type Effectively with Plone Intranet

by Víctor Fernández de Alba | August 2010 | Content Management Open Source Web Development

Building a successful intranet is not an easy job. When we are asked to build an intranet there is always an implicit requirement that doesn't show in any requirement list. This requirement is easy in concept, but hard to achieve: the intranet must be a success in terms of usability and use. The last thing we will want is that it ends up being one of those web services that people barely use. In this article, by Víctor Fernández de Alba, author of Plone 3 Intranets, we will cover the key factors for the success of an intranet and the effective use of the content types.

We will cover the following topics:

  • Navigation and taxonomy
  • Collections
  • Table of contents
  • Next/previous folder
  • Presentation mode
  • Best practices for third-party content types

We can make building an intranet an easy task if we want to do so. As we already know, a content type is not only an information container; it also defines the way the information is shown to the consumer via the content view. We will learn to use the right content type and its right view for the right job. Another crucial factor is to extend wisely our default content type set via third-party add-on products. We will learn how to choose and use them correctly.

Read Using Content Type Effectively with Plone Intranet in full

Using Datastore Transactions in Google App

by Amy Unruh | November 2010 | AJAX Java

Google App Engine (GAE) is a platform and SDK for developing and hosting web applications, using Google's servers and infrastructure. Google Web Toolkit (GWT) is a development toolkit for building complex AJAX-based web applications using Java, which is then compiled to optimized JavaScript. Used together, GAE/Java and GWT provide an end-to-end Java solution for AJAX web applications, which can solve many of the problems that arise in developing, maintaining, and scaling web applications.

In the previous article we looked at ways to structure and access data objects to make your application faster and more scalable.

This article by Amy Unruh, co-author of the book Google App Engine Java and GWT Application Development, describes the Datastore transactions, what they do, and when and how to use them.

Read Using Datastore Transactions in Google App in full

Using Debug Perspective – setting breakpoints

by Anatoly Spektor | May 2013 | Java Open Source

The article, Using Debug Perspective, will guide you through the ways of setting up breakpoints and navigate through the code using various breakpoint manipulation options. This article by Anatoly Spektor, author of Instant Eclipse Application Testing How-to, will guide you to learn what breakpoints are and how to use them. After reading this article, you will be able to effectively debug Java applications of any scope. Fortunately, any prior knowledge of Eclipse is not required; thus it is suitable for developers with any level of experience in Eclipse application development and testing.

Read Using Debug Perspective – setting breakpoints in full

Using different jQuery event listeners for responsive interaction

by Benjamin LaGrone | September 2013 | Cookbooks Open Source Web Development

In this article by Benjamin LaGrone, author of HTML5 and CSS3 Responsive Web Design Cookbook, will show you how to create an interactive widget that uses unobtrusive JavaScript, which uses different event listeners for desktop versus mobile devices. This article will be useful for building your own web app that can transition between the desktop and mobile versions without needing you to rewrite your entire JavaScript code. In addition, the JavaScript is unobtrusive and the page uses different CSS files through media queries for different devices.

There are a number of things we are going to build in this article, so hang on tight.

Read Using different jQuery event listeners for responsive interaction 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