In this article by John Farrar, author of ColdFusion 9 Developer Tutorial, we will learn to move forward from making our code work to making it interesting to write and reuse. We could call this a "power CFC". Power is doing away with the old practice of copying and pasting code again and again with some minor edits in the pasted code. Here, we will learn to reuse the CFC code to make it much simpler. CFCs are the object-packaging method used in ColdFusion. Database interaction is quite universally wrapped in CFCs. We will look at database interaction as our primary example of power CFCs in the context of working with "web forms". If you are new to development, then these concepts will make it easy for you. Here is an overview of what this article contains:
- The practice of protecting access to CFC methods
- The working of web forms
- Managing multiple products through common forms for listing, editing, and adding data
- Improving the page flow, also known as work flow
- Returning messages to the user to know things are working
- Learning the power of inheritance
- Simplifying by passing array collections, rather than manual line-by-line passing of the variable values
The built-in IVR (Interactive Voice Response) engine is a powerful component of the FreeSWITCH system. It allows messages to be played and interactive responses (usually touch-tones) to be processed, in order to direct calls to particular destinations. It can ultimately allow callers to hear information without needing to speak to a live person, select options that enable/disable features, or enter data that can be used in account, billing, or other operations.
Most people are familiar with an IVR as an auto-attendant that answers a main number for your company and provides a list of options to reach people (that is, 'For sales press 1, for support press 2'). This avoids disruptions to unintended call recipients, and reduces or removes the need for a dedicated receptionist. More advanced IVRs can also be used for collecting information from a caller, such as a caller's account number or the PIN number for a conference bridge. In this article by Anthony Minessale, Michael S. Collins and Darren Schreiber, authors of the book FreeSWITCH 1.0.6, we will cover the following topics:
- IVR Engine Overview
- IVR XML Configuration File
- IVR Menu Definitions
- IVR Menu Destinations
- Routing Calls to Your IVR
- Nesting IVRs
- Using Phrases with IVRs
- Advanced Topics
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
- 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
Java Management Extensions (JMX) is an incredibly powerful Java technology. Introduced in 2003 as part of Java 5 and the result of multiple Java Community Process specifications (JSR-3 and JSR-160), JMX defines an architecture, API, and services for the management and monitoring of Java applications. Simply put, JMX is a standard part of Java used to interact with a running application. Once started, you probably tend to think of an application as if it were on its own island and that it's difficult to communicate with. Or perhaps you've never needed to interact with a running application or didn't realize such functionality was a possibility. JMX makes these interactions possible and can be used to receive event notifications or to invoke the functionality (such as business logic) contained within your running application. These interactions occur between a JMX client running locally and any Java Virtual Machine (JVM) running on a local or remote machine.
The topic of the article by Eric Spiegelberg, is a design for using JMX and Spring to interact with applications at runtime; the writing is one part a very light introduction to JMX, one part an introduction to the benefits of Spring JMX, and one part that presents a design for how to quickly and conveniently maximize the use of Spring JMX within your Java applications.Read Using Spring JMX within Java Applications in full
In this article by Gastón C. Hillar, author of the book Microsoft Silverlight 4 and SharePoint 2010 Integration, we will cover many topics that help us create simple and complex Line-Of-Business Silverlight RIAs that run as Silverlight Web Parts to interact with data in the SharePoint Server.
In this article, we will:
- Use a Silverlight RIA to insert items into a SharePoint list
- Prepare code to handle errors when remote operations fail
- Work with messages to allow multiple Silverlight RIAs to communicate with each other
You have a few options when it comes to themes. You can activate the default BuddyPress theme, install a different compatible theme, or upgrade your existing theme so that it can be used with BuddyPress. It's easiest to keep things simple, so begin with the default BuddyPress theme. Later on, you can change to a new theme after you've finished installing and configuring everything. In this article by Heather R. Wallace, author of the book WordPress 3 Site Blueprints, we'll discuss the BuddyPress Default Theme.Read Activating the BuddyPress Default Theme and Setting up and Configuring BuddyPress in full
No matter how good or bad the economy might be at any given time there will always be job seekers. Every day people search online to find employment in a variety of industries. Searching the bigger job boards can be overwhelming and time-consuming because job seekers must sort though the myriad of job listings in an attempt to locate positions that match their unique skill sets. What would greatly benefit these job seekers is a fine-tuned job board that concentrates on a smaller segment of the overall job market. That's where JobPress comes in.
In this article by Heather R. Wallace, author of the book WordPress 3 Site Blueprints, we will see how with the JobPress theme, you can easily create a niche job board to serve a particular segment of job seekers.Read Building a Job Board Website using JobPress in full
The Java Messaging API (JMS) provides a mechanism for Java EE applications to send messages to each other. JMS applications do not communicate directly, instead message producers send messages to a destination and message consumers receive the message from the destination.
The message destination is a message queue when the point-to-point (PTP) messaging domain is used, or a message topic when the publish/subscribe (pub/sub) messaging domain is used.
In this article by David Heffelfinger, author of the book Java EE 6 with GlassFish 3 Application Server, we will cover the following topics:
- Setting up GlassFish for JMS
- Working with message queues
This two-part article series by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, introduces code quality metrics like cohesion and coupling. Principles related to cohesion and coupling are introduced and refactorings that increase cohesion and decrease coupling are covered in this article series. In this first part we will cover how cohesion can be applied to increase code quality.Read Microsoft Visual Studio 2010: Improving Class Quality with Cohesion in full
In the first part of this two-part article series by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, we covered principles related to cohesion and refactorings that increase cohesion. In this part, principles related to coupling are introduced and refactorings that decrease coupling are covered. We will see how coupling can be applied to increase code quality.Read Microsoft Visual Studio 2010: Improving Class Quality with Coupling in full
Some level of automated unit testing is required to maintain the quality of the software to support the refactoring effort. In this article by Peter Ritchie, author of Refactoring with Microsoft Visual Studio 2010, we'll discuss various aspects of unit testing, as well as how to approach unit testing with Visual Studio. We will cover some testing frameworks to facilitate writing, like mocking frameworks, and executing those tests. We'll cover the following topics:
- Automated testing
- Unit tests
- Mocking frameworks
- Unit test frameworks
- Unit testing legacy code
- Test-driven development
- Third party refactoring tools
Joomla! is well known as a great content management system (CMS). There are many sites using it throughout the world, some of them having great features that impress their visitors.
In the previous article we learnt the basics of Joomla! module creation and also created a "Send us a question" module.
- Learn the basics of Joomla! module creation
- Create a "Send us a question" module
The launch of Windows XP in 2001 heralded the long-awaited transition of consumer-orientated editions of Windows to the NT codebase. Microsoft designed the Windows Application Compatibility Infrastructure as part of Windows XP to help system administrators and home users solve compatibility problems with applications that were designed to run in Windows 98 or earlier versions of the 9x range.
In this article by Russell Smith, author of Least Privilege Security for Windows 7, Vista and XP, we will learn:
- How the Application Compatibility Infrastructure uses shims to modify incompatible applications on the fly
- Why using shims provides the best balance between compatibility and security
- How to create shims using Application Compatibility Toolkit 5.5
- Distributing compatibility databases to devices across the enterprise
In this article by David Heffelfinger, author of the book Java EE 6 with GlassFish 3 Application Server, we will look at how to build queries programmatically through the JPA 2.0 Criteria API and automating data validation through JPA 2.0's Bean Validation support.Read New Features in JPA 2.0 in full