Article Network

All | June | May | April

CEP and SOA: Six Letters Are Better than Three

by Michael Havey | February 2009 | Java Oracle

This article by Michael Havey explains to SOA veterans how to make good use of Complex Event Processing (CEP): a technology that is perhaps unfamiliar and obscure. CEP is a large topic, but we will focus on four specific subjects:

  • The nature of CEP, explained in terms of its relationship with SOA.
  • Where CEP fits in the SOA stack.
  • The contrasting coding styles of CEP and SOA.
  • CEP-aware SOA processes.
Read CEP and SOA: Six Letters Are Better than Three in full

Development of Ajax Web Widget

by Roshan Bhattarai | February 2009 | AJAX

This is a 5 part mini series by Roshan Bhattarai, covering basics of Widget, development of Wiki seek Widget, Pop-up Image Widget, RSS Web Widget, and Delicious Tagometer Widget.

The web is becoming more flexible and dynamic from day to day. The service and functionality provided by a particular website is not limited to itself. We can extend it to other websites by placing a few lines of code in their web pages called Widget.

In this article we will explore the technologies that go behind making a Widget and understand its working.

Read Development of Ajax Web Widget in full

jQuery UI—The Dialog: Part 2

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

In the previous part of the article, we learned how to create a basic dialog, work with dialog's properties and callbacks, and add buttons to the dialog.

In this final part of the article by Dan Wellman, we will learn how to enable animations for the dialog and how to control the dialog programmatically.

Read jQuery UI—The Dialog: Part 2 in full

jQuery UI—The Dialog: Part 1

by Dan Wellman | February 2009 | Content Management Open Source PHP

Traditionally, the way to display a brief message or ask a visitor a question would be to use one of JavaScript's native dialog boxes, such as alert or confirm, or to open a new web page with a predefined size, styled to look like a dialog box. Unfortunately, neither of these methods is particularly flexible or engaging. For each problem they solve, several new problems are usually introduced.

Thankfully, the days of resorting to either of the aforementioned techniques are over. We can now make use of the advanced functionality and rich features of the jQuery UI dialog widget. The dialog widget lets us display a message, supplemental content (like images or text), or even interactive content (like forms). It's also very easy to add buttons, such as simple ok and cancel buttons, to the dialog and define callback functions for them in order to react to their being clicked.

In this first part of the article by Dan Wellman, we will complete the following tasks:

  • Create a basic dialog
  • Create a custom dialog skin
  • Work with dialog's properties
  • Enable modality and see an overlay
  • Add buttons to the dialog
  • Work with dialog's callbacks.
Read jQuery UI—The Dialog: Part 1 in full

jQuery Embedded in Dojo Accordion Panes

by Jayaram Krishnaswamy | February 2009 | Open Source PHP Web Development

The Dojo Toolkit is an Open source JavaScript toolkit which can be used to develop stunning web pages. I liked it from the very beginning. It is very fast and provides lots of tools to work with DOM, Animations, AJAX etc. The base code is lightweight (~26 KB). jQuery, even lighter, also Open Source, is the write-less, do-more, cross-browser, CSS3 compliant JavaScript library. In this article by Dr. Jayaram Krishnaswamy, we will experiment embedding jQuery in DOJO 123's Accordion widget and try to identify if there exists any cross-code interactions. The code is also tested for cross-browser suitability.

Read jQuery Embedded in Dojo Accordion Panes in full

Safely Manage Different Versions of Content with Plone

by Darci Hanning | February 2009 | Content Management Open Source Web Development

Essential capabilities of content management are the abilities to view the 'change history' of a content item, to compare various versions with one another, and optionally, to revert to a previous version of a content item.

In this article, Darci Hanning discusses how to use versioning in Plone to examine the history of changes made to a content item, to preview and compare versions, and to revert to a previous version of a content item.

Read Safely Manage Different Versions of Content with Plone in full

jQuery UI Accordion Widget - Part 2

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

The accordion widget is a robust and highly configurable widget that allows you to save space on your web pages by only displaying a certain section of related content at any one time. This is like a tabbed interface but positioned vertically instead of horizontally. It's easy for your visitors to use and it's easy for us to implement. It has a range of configurable properties that can be used to customize its appearance and behaviour. It also has a series of methods that allow you to control it programmatically.

In the previous part of this article, we looked at the structure of an accordion widget and its configurable properties. In this second part by Dan Wellman, we will cover the following topics:

  • Built-in types of animation
  • Custom accordion events
Read jQuery UI Accordion Widget - Part 2 in full

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
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