Latest Articles

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