Entities are classes that need to be persisted; their state is stored outside the application, typically in a relational database. Unlike session beans, entities do not have business logic other than validation. As well as storing such entities, we want to query, update, and delete them. In this article by Michael Sikora, we will cover the following topics:
- EJB 3 entities
- Java persistence API
- Mapping an entity to a database table
- Metadata defaults
- Introduction to the entity manager
- Packaging and deploying entities
- Generating primary keys
- Overriding metadata defaults
The DataGrid is a commonly used component when creating applications in Flex. The component can represent columnar data with ease when connected to a dataProvider. There is a method of editing the data in the DataGrid without using an itemEditor. Of course, there is nothing wrong with using an itemEditor, but this alternative method of using a PopUp window deserves some consideration when implementing applications. This article by Keith Lee describes how to create a DataGrid, display a popup for each row of the DataGrid and add, edit or remove data from the DataGrid using the PopUp.Read Editing DataGrids with Popup Windows in Flex in full
In this article by Anita Graser, author of the book Learning QGIS 2.0, we will explain how to edit the attributes in QGIS. Quantum GIS (often abbreviated QGIS) is a cross-platform free and open source desktop geographic information system (GIS) application that provides data viewing, editing, and analysis capabilities.Read Editing attributes in full
In this article by John Torjo, author of Boost.Asio C++ Network Programming, we'll implement a small client/server application, which is probably the easiest client/server application you will ever write. This is the Echo application, a server that echoes back anything a client writes, and then closes the client's connection. The server can handle any number of clients. As each client connects, it sends a message. The server receives the full message and sends it back. After that, it closes the connection.
Therefore, each Echo client connects to the server, sends a message, and reads what the server replies, making sure it's the same message it sent and finishes talking to the server.Read Echo Server/Clients in full
WCF short for Windows Communication Foundation, the latest Microsoft programming architecture has superseded earlier technologies like COM, DCOM, etc. WCF is the Microsoft programming model for building distributed applications for .NET. Visual Studio suite of products provides an easy to use interface for developing WCF applications. Using these IDEs a number of different types of WCF applications can be built.
The emphasis of this article by Dr. Jayaram Krishnaswamy is to show to the user how to leverage the IDE for understanding the ins and outs of a WCF application and learn about the available development tools. Visual Studio 2008 SP1 makes it very easy to create WCF projects. The Visual Studio 2010 Express which is a free program can also be used similar to the way described for Visual Studio 2008 SP1 in this article. In understanding basic WCF you need to go no further than the Visual Studio IDE.
This article describes the default template available in VS 2008 (also works the same in VS2010 Express) to create a WCF application and to understand the out of the box WCF development tools namely the WCF Service Host and WCF Test Client. Along with modifying the service and service contract, publishing the service to the Internet Information Services is also described where in the local host is an IIS7 web server.Read Easy guide to understand WCF in Visual Studio 2008 SP1 and Visual Studio 2010 Express in full
Spring Python takes the concepts of the Spring Framework and Spring Security, and brings them to the world of Python. It isn't a simple line-by-line port of the code. Instead, it takes some powerful ideas that were discovered in the realm of Java, and pragmatically applies them in the world of Python.
Spring (Java) provides many simple, easy-to-use functional parts to assemble applications instead of a monolithic framework to extend. Spring Python uses this same approach. This means we can use as little or as much Spring Python as we need to get the job done for each Python application.
In this article by Greg Lee Turnquist, Author of Spring Python 1.1, we will show you how to rapidly write pure SQL queries without dealing with mind-numbing boilerplate code. It also shows how Spring Python works nicely with ORM-based persistence.Read Easily Writing SQL Queries with Spring Python in full
In addition to rendering the output of our extensions, we will often find it beneficial or even necessary to alter the normal flow by redirecting the browser to another page, or by customizing the generated document or page. Using a number of classes and libraries that Joomla! provides we can significantly enhance the user experience.
In this article by,Chuck Lanham and James Kennard, author of Mastering Joomla! 1.5 Extension and Framework Development,we will cover:
- The application message queue and redirecting the browser
- Session-level input validation
- Modifying document properties specifically for our extensions
This article by Porus Homi Havewala (OCM), author of Oracle Enterprise Manager Cloud Control 12c: Managing Data Center Chaos , demonstrates how Cloud Control 12c allows automated patching of Oracle databases in the data center, thus making it possible to easily apply critical patch updates or patch set updates on a quarterly basis. The Patching Designer selects from a list of recommended patches, creates a patch plan template, and publishes it to the Patching Operator, who then creates a patch plan to apply the patch to target databases. After the initial selection, the download, validation and deployment of the patch (single or multiple) is fully automated, thus enabling mass deployment of patches to multiple database homes at prescheduled times. The new feature of out-of-place patching is explained in this article, as is the patch plan templates.Read Ease the Chaos with Automated Patching in full
The most effective gold makers think about gold-making in every aspect of their gameplay and that is how they get the most out of their gold-making endeavors.
This article by Eric Dekker, author of World of Warcraft Gold Strategy Guide, will get you used to the idea of gold-making and how to work it into your daily game life. You will learn about:
- Why you need starting capital
- Selling out-of-the-way items to players who are too lazy to get the items themselves
- Saving gold by reducing unnecessary expenses
- Earning gold for every activity you carry out in the game
There may come a time when you need to prevent the user from being able to click one of your command buttons. The Revit API supports enabling and disabling commands by implementing the IExternalCommandAvailability interface and applying it to a button class. Your reasons for disabling a command can be just about anything you want. Some examples might include scenarios such as the state of the current model not meeting your application's requirements, the model name may not meet a specific requirement that you specify, or maybe the wrong flavor of Revit was used to open the model.
In this article by Don Rudder, author of Instant Autodesk Revit 2013 Customization with .NET How-to [Instant], we are going to cover recipes for enabling and disabling control for commands.Read Dynamically enable a control (Become an expert) in full
In Part 1 we had a look at running multiple templates, and at creating dynamic elements and styles. In this article by Ric Shreves, we will discuss about Creating Dynamic CSS Styling and Working with Template Variables.Read Dynamic Theming in Drupal 6 - Part 2 in full
The Drupal system, when combined with the PHPTemplate engine, gives you the ability to create logic that will automatically display templates or specific elements in response to the existence of certain conditions. In this two part article by Ric Shreves, we will look at running multiple templates, and at creating dynamic elements and styles. Among the techniques covered in these articles ( Part 1 and Part 2 ) are: using suggestions—naming conventions—to control template display, the use of $body_classes to create dynamic styling, and the implementation of the preprocessor function.Read Dynamic Theming in Drupal 6 - Part 1 in full
This article is written by Jonathan Lalou author of the book Apache Maven Dependency Management. As a disclaimer, beware the following example is used for its pedagogical interest and may fit some situations, but does not match best practices for many other projects. Among other theoretical and practical reasons, common IDEs have some difficulties to support full dynamic POMs.Read Dynamic POM in full
In this article by Tessa Blakeley Silver, we will learn how to take your working, debugged, validated, and properly packaged WordPress theme and enhance it with dynamic menus using the SuckerFish CSS-based method and Adobe Flash media.
Here, we will learn about:
- Drop-down menus
- DIY SuckerFish menus in WordPress:
- Applying CSS to WordPress
- Applying the DOM script to WordPress
- Allowing only selected pages to display
- Hiding pages the easy way with pageMash
FusionCharts Suite helps you create stunning charts, gauges, and maps in a jiffy for all your web and enterprise applications. Using it, you can build awesome dashboards, reports, analytics, monitors, surveys that blend aesthetic elegance and actionable insights.
In this artice by Sanket Nadhani, Shamasis Bhattacharya, and Pallav Nadhani, authors of FusionCharts Beginner's Guide, we will look at the features of FusionCharts. We will cover the following topics:
- Learn how to set up FusionCharts
- Build your first chart and configure basic parameters
- Learn how to build charts with multiple series and axes
- Create advanced charts such as Combination charts
In the previous part of the article by Sami Salkosuo, we mainly focused on creating a dynamic user interface. In this part, we will implement Tables, List, and Field Completion.Read DWR Java AJAX User Interface: Basic Elements (Part 2) in full
In this two-part article by Sami Salkosuo, we will develop samples based on DWR, which show how to dynamically change the common user interface elements such as tables and lists as well as field completion. The section on dynamic user interfaces shows how to get started with a DWR application, and it presents a user interface skeleton that will be used to hold the tables and lists sample, and the field completion (aka. autosuggest/autocomplete) sample.
The following are the sections in this article:
- Creating a Dynamic User Interface—starts with creating a web project and a basis for samples mentioned in this article
- Implementing Tables and Lists—shows us how to use DWR with them
- Implementing Field Completion—has a sample for typical field completion
In this article, by Trevor James, author of Drupal Web Services, we're going to integrate Twitter with Drupal. If you have a Twitter account, you can post your tweets to your Drupal site automatically at the same time you post them to your Twitter home page. You can also post node content from your Drupal site to your Twitter home page as tweets. We'll look at configuring this integration in detail and also look at setting up automatic actions and triggers to occur when you save a new node content on your Drupal site.
We will install and enable a few Twitter-based modules to allow for integration with the Twitter web service API, including the Twitter module, Daily Twitter, and Tweet modules.
To summarize, in this article we will:
- Enable the Twitter module and configure it
- Post tweets from our Twitter account to blocks on our Drupal website
- Post links to nodes and node content from our Drupal site to our Twitter home page
- Enable and configure the Tweet module
Working on a site's interface to make it distinctive and attractive not only requires some technical know-how, but just like any other design-related task, it also needs some creativity. Your site, at the moment, maybe fully functional and doesn't look awful—it maybe a bit plain, but it will get the job done. With a bit of effort, creating something entirely new can be fun and rewarding, and Drupal comes with a host of features to make our lives easier.
If you enjoy working on the more creative aspects of a website, then this is really the article you have been waiting for. It's time to design, plan, and implement the visual environment in which your website's users will be immersed.
This article by David Mercer, author of the book Drupal 7, will show you how to make important modifications to your chosen theme, through the use of sub-themes.Read Drupal Theming in full