Article Network

Using Templates to Display Channel Content in ExpressionEngine

by Leonard Murphy | September 2010 | MySQL Content Management PHP

In this two-part article series by Leonard Murphy, author of Building Websites with Expression Engine 2.X, you will take an existing website that was written outside of ExpressionEngine and adapt it to ExpressionEngine. In the first part you created your own channel with fields customized to the content that you will be displaying.

In this article you will be:

  • Using templates to display your channel content
  • Creating a 404 page for visitors who get lost on your site
Read Using Templates to Display Channel Content in ExpressionEngine in full

Using Test Fixtures in PHPUnit

by Michael Lively | August 2013 | Open Source PHP

In this article by Micheal Lively, the author of Instant Hands-on Testing with PHPUnit How-to [Instant], we will go into detail of how these fixtures work and what types of things you can do with them.

As you begin writing tests you'll find that many of them, especially ones inside the same test case class, need to run the same code to set up the object that you are running tests against. This code is part of what is commonly called a fixture. Many test methods require the same fixture. PHPUnit allows you to support shared fixtures using the setUp()and tearDown() methods.

Read Using Test Fixtures in PHPUnit in full

Using the Data Pager Control in Visual Studio 2008

by Jayaram Krishnaswamy | September 2008 | .NET Microsoft

When query results exceed the display area then you resort to scrolling and wish you had some way to limit the number of results displayed and comfortable to view without scrolling. Paging functionality which provides an answer to this is therefore a much desired feature. The Data Pager Control in Visual Studio 2008 provides this functionality when you create an ASP.NET web form under .NET Framework 3.5. It can be configured automatically using the GUI, or it can be installed manually after installing the ListView. In this article both of them are described. While the number of items displayed in a list can be declaratively coded, it is possible to set it at page load time as well.

This article by Dr. Jayaram Krishnaswamy describes how you may connect to SQL Server 2008 and display the retrieved data in a ListView Control on a web page. The ListView Control is the only control in ASP.NET that supports the new ASP.NET control, the Data Pager Control. This article shows how the data from a table in SQL Server 2008 is displayed in the ListView and how the Data Pager is configured to cycle the List View items.

Read Using the Data Pager Control in Visual Studio 2008 in full

Using the Fluent NHibernate Persistence Tester and the Ghostbusters Test

by Jason Dentler | October 2010 | .NET Cookbooks Open Source

Testing is a critical step in the development of any application. This article by Jason Dentler, author of NHibernate 3.0 Cookbook, introduces some techniques you can apply to quickly test your NHibernate applications. The recipes in this article are designed to ease the testing process and expose common issues.

In this article, we will cover the following topics:

  • Using the Fluent NHibernate persistence tester
  • Using the Ghostbusters test
Read Using the Fluent NHibernate Persistence Tester and the Ghostbusters Test in full

Using the OSGi Bundle Repository in OSGi and Apache Felix 3.0

by Walid Joseph Gédéon | November 2010 | Beginner's Guides Open Source

In this article, by Walid Gédéon, author of OSGi and Apache Felix 3.0, we will first have a look at the OBR service in some level of detail, and then we'll see how we use it to install bundles from a remote location onto our Felix framework.

This article covers the following topics:

  • OBR, the OSGi Bundle Repository
  • Using the OBR scope commands
  • Installing the Inventory bundles to Felix
  • Dependency management
Read Using the OSGi Bundle Repository in OSGi and Apache Felix 3.0 in full

Using the Spark Shell

by Holden Karau | October 2013 | Open Source

This article written by Holden Karau, the author of Fast Data Processing with Spark, aims to describe the Spark shell which is a wonderful tool for rapid prototyping with Spark. It helps to be familiar with Scala, but it isn't necessary when using this tool. The Spark shell allows you to query and interact with the Spark cluster. This can be great for debugging or for just trying things out.

Read Using the Spark Shell in full

Using the Windows Azure Platform PowerShell Cmdlets

by Neil Mackenzie | August 2011 | Cookbooks Enterprise Articles Microsoft

The Windows Azure Platform PowerShell cmdlets use the Windows Azure Service Management REST API to expose service management operations as PowerShell cmdlets. The cmdlets provide a convenient way to manage hosted services, including retrieving the properties of current deployments and uploading new and upgraded deployments.

In this article by Neil Mackenzie, author of Microsoft Windows Azure Development Cookbook, we will learn how to use the Windows Azure Platform PowerShell cmdlets to invoke various service operations in the Windows Azure Service Management REST API.

Read Using the Windows Azure Platform PowerShell Cmdlets in full

Using Themes in LWUIT 1.1: Part 1

by Biswajit Sarkar | August 2009 | Java Open Source

In an application with a large number of UI components, setting attributes for each can be a tedious task and can also lead to errors. A Theme allows us to set the style attributes for an entire class of components in a single place. This not only simplifies the task of setting attributes for all components of a particular type but also ensures that any newly added component will look just like all the others of the same type in the application. A theme thereby establishes a visual coherence through all the screens of an application.

In this two-part article by Biswajit Sarkar, we shall study themes and their usage in detail. In the first part, we will cover the following points:

  • View an existing theme using the LWUIT Designer
  • Edit a theme
  • Build a new theme
  • Preview the new theme on LWUIT demo MIDlet
Read Using Themes in LWUIT 1.1: Part 1 in full

Using Themes in LWUIT 1.1: Part 2

by Biswajit Sarkar | August 2009 | Java Open Source

In the previous part by Biswajit Sarkar, we covered working with theme files. In this part, we will focus on theming custom components, manual styling versus theming, theming on the fly, and new version of the LWUIT Designer.

Read Using Themes in LWUIT 1.1: Part 2 in full

Using third-party plugins (non-native plugins)

by Loiane Groner | September 2013 | Open Source Web Development

In this article by Loiane Groner, author of Sencha Architect App Development, we will learn about third-party plugins. Plugins are a huge help when we want to develop something that is not available within the Sencha API. The plugins that are supported natively already come as an option in Sencha Architect, but there are a lot of plugins that are shared by other developers that we can find on Sencha Forums.

Read Using third-party plugins (non-native plugins) in full

Using Unrestricted Languages

by Hannu Krosing Jim Mlodgenski Kirk Roybal | August 2013 | Open Source

The article, Using Unrestricted Languages, talks about writing functions in languages other than the built-in PL/pgSQL. This article by Hannu Krosing, Jim Mlodgenski, and Kirk Roybal the authors of PostgreSQL Server Programming, provides a gist of writing server-side code in languages other than PL/pgSQL.

You may have noticed that some of the PLs in PostgreSQL can be declared as untrusted. They all end in letter u to remind you that they are untrusted each time you use them to create a function.

This untrustedness brings up many questions:

  • Does being untrusted mean that such languages are somehow inferior to trusted ones?
  • Can I still write an important function in an untrusted language?
  • Will they silently eat my data and corrupt the database?

The answers are no, yes, and maybe respectively. Let's discuss these questions in order.

Read Using Unrestricted Languages in full

Using URLs to Access NNMi Objects

by Marius Vilemaitis | December 2010 | Enterprise Articles

NNMi provides a list of URLs that can be used for accessing most NNMi console objects. This standardized list of URLs and their syntax helps us build the right URL, in order to get the right data object integrated in our selected third-party application.

In this article by Marius Vilemaitis, author of HP Network Node Manager 9: Getting Started, we will cover:

  • Generic URLs.
  • Workspace-related URLs.
  • Form-related URLs.
  • Menu item-related URLs.
Read Using URLs to Access NNMi Objects in full

Using Virtual Destinations (Advanced)

by Timothy Bish | September 2013 | Open Source

In this article by Timothy Bish, the author of the book Instant Apache ActiveMQ Messaging Application, we are going to look at ActiveMQ's Virtual Destinations feature and learn how it can save us from the many limitations that come with using durable topic subscriptions.

Read Using Virtual Destinations (Advanced) in full

Using Web Pages in UPK 3.5

by Dirk Manuel | October 2009 | Oracle

In this article by Dirk Manuel, you will learn how to:

  • Use Web Pages in the Concepts pane and beyond
  • Use Packages and link them to content objects

A Web Page, in UPK terms, is a single file that can contain text or images. In this respect, Web Pages are very limited. You can perform rudimentary font formatting, provide lists, and insert images, but that's about it. You cannot insert tables, or use any HTML tags as you would be able to with real web pages (which you can only use via a Package). However, they are very flexible, and can be utilized in a number of ways.

Version Difference

For readers familiar with OnDemand version 8.7 and earlier, Web Pages are the new, improved text Infoblocks. Other types of Infoblocks have been replaced by Packages, which are covered separately, below.

Read Using Web Pages in UPK 3.5 in full

Using XML Facade for DOM

by Jurij Laznik | September 2013 | Cookbooks Enterprise Articles

In this article, by Jurij Laznik, the author of the book BPEL and Java Cookbook, we will cover the following recipes:

  • Setting up an XML facade project
  • Generating XML facade using ANT
  • Creating XML facade from XSD
  • Creating XML facade from WSDL
  • Packaging XML facade into JAR
  • Generating Java documents for XML facade
  • Invoking XML facade from BPEL processes
  • Accessing complex types through XML facade
  • Accessing simple types through XML facade
Read Using XML Facade for DOM in full

Vaadin and its Context

by Nicolas Fränkel | September 2013 | Java Open Source Web Development

This article created by Nicolas Fränkel, the author of Learning Vaadin 7, Second Edition, introduces Vaadin its features, its philosophy, and its surrounding environment.

In this article, we will look into the following:

  • The evolution from mainframe toward the rich client.
    • The concept of application tier
    • The many limits of the thin-client approach
    • What stands beyond those limits
  • Why choose Vaadin today?
    • The state of the market
    • Vaadin's place in the market
    • A preview of what other frameworks Vaadin can be integrated with and what platforms it can run on
Read Vaadin and its Context in full

Vaadin Portlets in Liferay User Interface Development

by Frank Yu Jonas X. Yuan Xinsheng Chen | November 2010 | Open Source

In this article, by Jonas X. Yuan, Xinsheng Chen & Frank Yu, authors of Liferay User Interface Development, we will learn about vaadin portlets in liferay user interface development.

This article specifically covers:

  • Required software
  • Configuring Tomcat 6.0 in Eclipse
  • Installing Vaadin Eclipse plugin
  • Creating a Vaadin project
  • Deploying a Vaadin project as a portlet
  • Integrating Vaadin portlet and Liferay environment
Read Vaadin Portlets in Liferay User Interface Development in full

Vaadin project with Spring and Handling login with Spring

by Jaroslav Holaň Ondřej Kvasnovský | July 2013 | Cookbooks Open Source Web Development

Vaadin is an amazing framework that contains many ready-made components for the creation of user interfaces. Applications created in Vaadin are compatible with all the latest versions of web browsers. In this article by Jaroslav Holaň and Ondřej Kvasnovský, authors of Vaadin 7 Cookbook, we will cover:

  • Setting up a Vaadin project with Spring in Maven
  • Handling login with Spring
Read Vaadin project with Spring and Handling login with Spring in full

Vaadin – Using Input Components and Forms

by Alejandro Duarte | August 2013 | Beginner's Guides Open Source

Vaadin is an open source framework to ease development of Java web applications that provides a programming model close to Swing or AWT. Vaadin is licensed under the Apache License, is well documented, comes with out-of-the-box theming facilities, and is supported by a committed company and a vibrant community contributing to the framework through forums and hundreds of add-ons. Vaadin allows developers to write web applications using only Java. Of course, HTML, CSS, and JavaScript are building blocks of web application development, however, by using Vaadin, developers will be maintaining Java code most of the time.

In this article, by Alejandro Duarte, the authors of Vaadin 7 UI Design By Example Beginner's Guide, we will take a closer look at the main components for retrieving and processing all the data that users want your application to be aware of. This article will cover the following topics:

  • Separating business classes from UI classes
  • Responding to value changes in input components
  • Getting and setting the value of input components
  • Tooltips and error indicators
  • Underlying Vaadin technologies
  • UI components hierarchy
  • Vaadin's data model
  • Comboboxes, checkboxes, text areas, option groups, twin column selects, and date/time pickers
  • File uploading
Read Vaadin – Using Input Components and Forms in full

Validating and Using the Model Data

by Vinod Krishnan | May 2013 | Beginner's Guides Enterprise Articles Oracle

In this article by Vinod Krishnan, author of Oracle ADF 11gR2 Development Beginner's Guide, we will take a look at validating and using the model data. Validating data is important as business depends on the data that gets stored in the database. So how do we validate the data? Validation is something that makes sure that valid data is getting stored in the database. Validation could be anything from comparing two fields in a table to multiple validations on a single field involving different columns from a different table.

In any other framework, we would end up writing a lot of code even for a small validation. But in ADF, we do little or no coding at all, and most of the validations are achieved declaratively.

In this article, we will learn the following topics:

  • Declarative validation
  • Groovy expressions
Read Validating and Using the Model Data 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