Search Books and eBooks

All | June | May | April

Simplifying Parallelism Complexity in C#

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

In order to simplify parallelism complexities and to avoid many concurrency pains, we must use the object-oriented capabilities offered by the C# programming language and design patterns. In this article, we will drastically simplify the creation of new parallelized code avoiding some advanced concurrent programming difficulties. Reading this article by Gastón C. Hillar and following the exercises we shall :

  • Learn to combine single-threaded code with multithreaded code
  • Use of object-oriented design patterns to simplify the creation of parallelized code
  • Solve various problems to specialize in segmentation algorithms and achieve thread affinity
  • Encapsulate multithreaded algorithms to create high-performance and safer independent pieces
  • Learn to avoid problems with design instead of solving them using very difficult-to-apply algorithms
Read Simplifying Parallelism Complexity in C# in full

Structure the Content on your Plone Site

by Tom Conklin | January 2009 | Content Management Open Source Web Development

Just like building a house, you need to have a strong foundation and framework to support a site that is built to last, without needing any major rebuilding in the future. Proper planning from the beginning will go a long way towards having a site that is easy to maintain. In this article, Tom Conklin will show us how to structure and organize your content so that your site is poised to grow.

Read Structure the Content on your Plone Site in full

User Security and Access Control in JBoss portals

by Ramanujam Rao | January 2009 | Java Open Source Web Development

Every asset in the constraint declaration is restricted to a certain role, and every role ties back to a user or an entity. In this article by Ramanujam Rao, we will discuss the ways in which authentication and authorization is facilitated in JBoss portal. We will also discuss other aspects related to authentication and user management such as single sign-on.

Read User Security and Access Control in JBoss portals in full

Adding Interactive Course Material in Moodle 1.9: Part 1

by William Rice | January 2009 | Moodle Open Source

In this three-part article series by William Rice, we will learn how to add Interactive course material in Moodle. Interactive course activities enable students to interact with the instructor, the learning system, or each other. Note that Moodle doesn't categorize activities into 'Interactive' and 'Static'. In Moodle, all activities are added from the Add an activity... menu after turning the editing on. We use the terms 'Interactive' and 'Static' as a convenient way to categorize the activities that Moodle offers.

Read Adding Interactive Course Material in Moodle 1.9: Part 1 in full

jQuery UI Accordion Widget - Part 1

by Dan Wellman | January 2009 | Open Source PHP Web Development

The accordion widget is another UI widget made up of a series of containers for your content, all of which are closed except for one. Therefore, most of its content is initially hidden from view. Each container has a heading element associated with it, which is used to open the container and display the content. When you click on a heading, its content is displayed. When you click on another heading, the currently visible content is hidden while the new content is shown.

It should be noted that the height of the accordion's container element will automatically be set so that there is room to show the tallest content panel in addition to the headers. This will vary, of course, depending on the width that you set on the widget's container.

In this article by Dan Wellman, we are going to cover the following topics:

  • The structure of an accordion widget
  • A default implementation of an accordion
  • Adding custom styling
  • The configurable properties
  • Built-in methods for working with the accordion
Read jQuery UI Accordion Widget - Part 1 in full

JBoss Portals and AJAX - Part 1

by Ramanujam Rao | January 2009 | Java Open Source Web Development

Dynamic, attractive, and rich interfaces have always helped in creating compelling web applications. However, in recent years, the popularity and support for asynchronous browser-to-server communication, combined with the strong client-side capabilities of JavaScript and XML, have resulted in exciting user interfaces with unprecedented functionality. In this article by Ramanujam Rao, we will see that how AJAX (Asynchronous JavaScript and XML), as the rich user interface design is commonly called, has gained wide acceptability in traditional web applications, and portals are no exception to this.

JBoss portal blends the dynamism and rich functionality offered by AJAX with its strong portal architecture to provide users with choices for developing highly-functional portal applications. The latest portlet specification, JSR-286, provides an easy and intuitive approach to implementing asynchronous calls that was not possible in JSR-168. In the first part of this article, we will discuss the limitations of the current specification and walk through an example portlet to understand how AJAX can enhance portlets. The next part will talk about AJAX support for markup.

Read JBoss Portals and AJAX - Part 1 in full

JBoss Portals and AJAX - Part 2

by Ramanujam Rao | January 2009 | Java Open Source Web Development

In the previous part of this article, we created an example portlet using AJAX and saw how simple and efficient its creation was. In this second part by Ramanujam Rao, we will talk about how JBoss portal supports markup through tags on layouts and renderers of the pages.

Read JBoss Portals and AJAX - Part 2 in full

Asterisk Gateway Interface Scripting with PHP

by Nir Simionovich | January 2009 | Linux Servers Networking & Telephony Open Source

In this article by Nir Simionovich, we will develop our first ever AGI script using PHP scripting language. This article deals with the most basic elements of AGI scripting and the information contained within. So, take time to familiarize yourself with this article, especially if you intend to use a language different from PHP.

Read Asterisk Gateway Interface Scripting with PHP in full

A Primer to AGI: Asterisk Gateway Interface

by Nir Simionovich | January 2009 | Linux Servers Networking & Telephony Open Source

This article by Nir Simionovich is all about AGI (Asterisk Gateway Interface)—its working, its three types, and the different frameworks.

Asterisk AGI enables an IVR developer to develop IVR structures that are sometimes, bordering on the absurd, as applications tend to become more and more complex by using AGI. However, there are some scenarios where common dialplan practices are no longer applicable, and the use of an external logic is a must. Enter AGI!

Read A Primer to AGI: Asterisk Gateway Interface in full

Custom Data Readers in Ext JS

by Steve 'Cutter' Blades | January 2009 | AJAX Open Source

Ext JS is an extremely powerful, cross-browser library, providing any developer with a beautiful, consistent set of tools for laying out browser-based applications. But there's a lot more here than just pretty boxes and grids. An application without data is really nothing more than an interactive static page, and our users are going to want to manipulate real information.

Steve Blades, one of the authors of Learning Ext JS follows up with this article on custom data readers.

Read Custom Data Readers in Ext JS 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

Watching Multiple Threads 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. We will be performing the following exercises:

  • Learn some tricks to prepare multithreaded code to simplify the debugging and troubleshooting processes
  • Become skilled at watching and understanding the execution of multiple concurrent threads
Read Watching Multiple Threads in C# in full

EJB 3 Entities

by Michael Sikora | January 2009 | Java Open Source

Entities are classes that need to be persisted; their state is stored outside the application, typically in a relational database. Unlike session beans, entities do not have business logic other than validation. As well as storing such entities, we want to query, update, and delete them. In this article by Michael Sikora, we will cover the following topics:

  • EJB 3 entities
  • Java persistence API
  • Mapping an entity to a database table
  • Metadata defaults
  • Introduction to the entity manager
  • Packaging and deploying entities
  • Generating primary keys
  • Overriding metadata defaults
Read EJB 3 Entities in full

Voice Menus and IVR in AsteriskNOW

by Nir Simionovich | January 2009 | Linux Servers Networking & Telephony Open Source

Interactive Voice Response (IVR)-enabled telephony platforms are the pivot elements of the telephony industry. You must be familiar with several IVR telephony platform—your cellular provider's top-up system, your bank's call distribution system, or your Internet service provider's technical support line—IVR systems are everywhere. As you may already know, IVR systems can be a hell to use, but as Winston Churchill said, you just have to keep on going to get to your destination.

In this article by Nir Simionovich, we will learn about the human dynamics of IVR systems, the implementation and the deployment of an IVR environment to your AsteriskNOW PBX system.

Read Voice Menus and IVR in AsteriskNOW in full

JBI Binding Components in NetBeans IDE 6

by David Salter Frank Jennings | January 2009 | Java Open Source

In this article we will take a closer look at JBI components, discuss binding component (BC), and look at the support that NetBeans Enterprise Pack provides for these components. In the previous article we saw the need for JBI, JBI concepts and components—Service Engines, these can be referred for clarity.

In this article by David Salter and Frank Jennings, we will discuss:

  • The role of binding components in JBI Container
  • NetBeans Support for binding components
  • File BC
  • SMTP BC
  • SOAP BC
  • JDBC BC
  • JMS BC
  • FTP BC
Read JBI Binding Components in NetBeans IDE 6 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