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