Article Network

All | June | May | April

Layouts in Ext JS

by Colin Ramsay Shea Frederick Steve 'Cutter' Blades | November 2008 | AJAX Open Source

A Layout turns your forms, grids, and other widgets into a true web application. The most widely-used layout styles can be found in operating systems such as Microsoft's Windows, which uses border layouts, resizable regions, accordions, tabs, and just about everything else you can think of.

To keep looks consistent between browsers, and to provide common user interface features, Ext JS has a powerful layout management system. The sections are manageable, and can be moved or hidden, and they can appear at the click of a button, right when and where you need them to.

In this article by Shea Frederick, Steve 'Cutter' Blades, and Colin Ramsay, we will learn to:

  • Lay out an application style screen
  • Create tabbed sections
  • Manage Ext widgets within a layout
  • Learn advanced and nested layouts
Read Layouts in Ext JS in full

Minilang and OFBiz

by Jonathon Wong Rupert Howell | November 2008 | Java Open Source

Minilang can help developers to reduce the time it takes to implement simple and repetitive tasks. Code does not need to be compiled and can therefore be implemented faster, breaking the typical Java code-compile-test cycle. Minilang gives the advantage of being able to change the code without a restart of the application. A simple browser refresh is enough to see the changes.

It is more "plain English" than Java code and is simpler to read and therefore easier to understand and maintain by people who may be unfamiliar with the system.

The main reason for Minilang's existence is to facilitate simple operations, notably CRUD operations and to validate and manipulate data. It should not be much used outside of this scope, but within this scope, it excels.

In this article by Jonathon Wong and Rupert Howell we will be looking at:

  • Minilang syntax and schema
  • Defining and creating a "Simple Service" using Minilang
  • Simple events
  • Validating and converting fields using the simple-map-processor
  • Security in Minilang
  • Invoking other services, methods, events, and BeanShell from Minilang
  • Using Minilang in screen widgets
Read Minilang and OFBiz in full

Interacting with Databases through the Java Persistence API

by Suhreed Sarkar | November 2008 | Joomla! MySQL Content Management Open Source PHP

The Java Persistence API (JPA) is an object relational mapping API. Object relational mapping tools help us automate mapping Java objects to relational database tables. Earlier versions of J2EE used Entity Beans as the standard approach for object relational mapping. Entity Beans attempted to keep the data in memory always synchronized with database data, a good idea in theory, however, in practice this feature resulted in poorly performing applications.

Several object relational mapping APIs were developed to overcome the limitations of Entity Beans, such as Hibernate, iBatis, Cayenne, and Toplink among others.

With Java EE 5, Entity Beans were deprecated in favor of JPA. JPA took ideas from several object relational mapping tools and incorporated them into the standard. As we will see in this article by David Heffelfinger, NetBeans has several features that make development with JPA a breeze.

Read Interacting with Databases through the Java Persistence API in full

Web Scraping with Python

by Javier Collado | November 2008 | Open Source

Web scraping is the set of techniques used the to get some information, structured only for presentation purposes, from a website automatically instead of copying it manually. This article by Javier Collado will show how this could be done using python in the steps that require some development.

Read Web Scraping with Python in full

ASP.NET MVC Framework

by Vivek Thakur | November 2008 | .NET Architecture & Analysis Microsoft

These days, Model View Controller (MVC) is a buzzword in the ASP.NET community, thanks to the upcoming ASP.NET MVC Framework that Microsoft is expected to launch soon. The Framework allows easier adoption of the different MVC patterns in our web applications.In this article by Vivek Thakur, we discuss ASP.NET MVC Framework in detail with the help of a Sample Project. We also take a glance at Unit Testing with reference to ASP.NET MVC Framework.

The ASP.NET MVC framework was released by Microsoft as an alternative approach to webforms when creating ASP.NET based web applications. The ASP.NET MVC framework is not a replacement or upgrade of webforms, but merely another way of programming your web applications so that we can get the benefits of an MVC design with much less effort.

Read ASP.NET MVC Framework in full

Obtaining Alfresco Web Content Management (WCM)

by Jeff Potts | November 2008 | Content Management Open Source

People have been using Alfresco to manage web content since the early days of the product. In 2007, Alfresco released its formal web content management functionality that added features most people expect when they think of a Web Content Management (WCM) offering, including templating, site preview, snapshots, virtualization, and deployment. WCM is a specialized subset of the larger Enterprise Content Management (ECM) umbrella that is focused specifically on authoring, managing, and publishing files used to produce a website.

In this article by Jeff Potts, we will discuss how to create a web project and define web forms using XML Schema to allow non-technical users to create content.

Read Obtaining Alfresco Web Content Management (WCM) in full

Migration from Apache to Lighttpd

by Andre Bogus | November 2008 | Linux Servers Open Source

In this article by Andre Bogus, we will be focusing on migrating from Apache to Lighttpd web server. Lighttpd is the perfect solution for every server that is suffering load problems, as it has a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set, such as FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting, and many more. Apache is still the most common web server used today, so while we wait for Lighttpd's world domination, the migration from this server warrants its own article. As this article is on Lighttpd and not on Apache, it assumes some knowledge of the Apache configuration. If anything is unclear, the Apache documentation at http://apache.org/docs/ will be of help.

Read Migration from Apache to Lighttpd in full

Resource-Oriented Clients with REST Principles

by Samisa Abeysinghe | November 2008 | Architecture & Analysis MySQL PHP Web Development

Resource-Oriented clients are client programs that consume services designed in accordance with the REST architectural principles. The key REST principles include:

  • The concept of resource (for example, a document is a resource)
  • Every resource given a unique ID (for example, document URL)
  • Resources can be related (for example, One document linking to another)
  • Use of standard (HTTP, HTML, XML)
  • Resources can have multiple forms (for example, status of a document, updated, validated, deleted)
  • Communicate in a stateless fashion using HTTP (for example, subsequent requests not related to each other)

In this article by Samisa Abeysinghe, we will study how we can implement clients to consume those services. We will use a real-world example, the simplified library system, to learn from scratch how to design clients with REST principles in mind.

Read Resource-Oriented Clients with REST Principles in full

Planning Extensions in TYPO3

by Dmitry Dulepov | November 2008 | MySQL Content Management Open Source PHP

In this article by Dmitry Dulepov, we will discuss why planning an extension is important and how to plan an extension. Planning issues related to web development are covered in depth in many specialized books. Here, we will cover planning only with regard to TYPO3 extensions.

Read Planning Extensions in TYPO3 in full

A Simple Pocket PC Application using Visual Studio 2005

by Jayaram Krishnaswamy | November 2008 | .NET Microsoft

This article by Dr. Jayaram Krishnaswamy teaches how you may create a .NET Compact Framework (CF) 2.0 forms application. This can be used with Pocket PC 2003, or later devices. In the absence of a device being available for testing, the emulator is the next best thing. The application will be tested on one of the many emulators available in Visual Studio 2005. You may try other devices as well just by choosing the item in the Device Emulation Manager described in the article.

Read A Simple Pocket PC Application using Visual Studio 2005 in full

Using JavaScript Effects with Joomla!

by | November 2008 | Joomla! MySQL Content Management Open Source PHP

Although Joomla! has all of the basic content management tools you need to build a website, it is also designed to run custom-built extensions written in PHP. This article steps through working examples of PHP code written to work seamlessly in Joomla!. Modern websites use JavaScript-driven effects to aid navigation, reduce on-screen clutter, and provide interactive features that are not possible with static HTML.

Joomla! has several built-in elements that you can use without writing a single line of JavaScript. The MooTools framework powers many elements seen throughout the Joomla! backend UI; these can be reused in both the frontend and the backend of your Joomla! component. In this article by Joseph L. LeBlanc, we will learn to use JavaScript effects through these topics:

  • Customizing Google Maps
Read Using JavaScript Effects with Joomla! in full

Visual SourceSafe:Creating a Service-Oriented Application

by Alexandru Serban | October 2008 | .NET Microsoft

In this article by Alexandru Serban, let's take a more realistic software development scenario. What I am going to build is a room-reservation system for the newly launched Orbital Hotel. As you well know, this is the very first space building, after the International Space Station, used for tourism, allowing people to enjoy a view of our blue planet and stars from their private rooms. OK, OK, the Orbital Hotel doesn't yet exist, but when it does, it must have a room reservation system anyway. Who knows, it might be this one.

Read Visual SourceSafe:Creating a Service-Oriented Application in full

User Management in Zenoss

by | October 2008 | Networking & Telephony Open Source

We should set up a user name for each person who will be using Zenoss, and all the users should log in using their user account, not as the admin user. Individual users can be granted the same privileges as the admin account. The security of the user accounts is important. Various roles and groups can be assigned to a user. In this article by Michael Badger, the following is discussed:

  • How to add new users and edit the properties of their user accounts
  • The various available roles and their privileges
  • Administered objects such as devices and systems
  • Creating and editing custom event views
  • Attaching alerts to users or groups of users
  • Creating alert escalations
  • Customizing alert messages
  • Setting a schedule for each alerting rule
  • Adding and editing groups and assigning users to groups
Read User Management in Zenoss in full

Business Blogging On The Up - Technorati State of the Blogosphere 2008

by Paul Thewlis | October 2008 | MySQL Content Management Open Source PHP WordPress

"Technorati recently published its annual report, State of the Blogosphere 2008. As usual, it makes interesting reading, especially for those of us interested in business blogging.

The report shows that Technorati has indexed 133 million blogs since 2002. 1.5 million blogs have been updated in the last 7 days and 7.4 million in the last 120 days. These figures support my argument in the first chapter of my book, WordPress For Business Bloggers, that business bloggers should not be put off by the total number of blogs out there because, in fact, only a small proportion are active."

Read Business Blogging On The Up - Technorati State of the Blogosphere 2008 in full

Chatroom Application using DWR Java Framework

by Sami Salkosuo | October 2008 | AJAX Java Open Source Web Development

DWR (Direct Web Remoting), is an Open Source Java framework, licensed under commercial-friendly Apache Software License v2 for building AJAX applications. DWR's main idea is to hide AJAX implementation details such as XMLHttpRequest from developers. Developers can concentrate on developing the application and business objects and leave AJAX details behind the scenes where they belong.

In this article by Sami Salkosuo, we discuss a Chatroom application which demonstrates the use of DWR. The Chatroom sample application is a very typical multi-user chatroom. The functionalities of this sample include a list of online users, automatic refresh of chat text, and the ability to send messages to the chat room.

Read Chatroom Application using DWR Java Framework 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