In some cases, it may be necessary to perform simple conditional checks in the documents, or templates themselves. PHx—Place Holders extended—is a set of notations that makes this possible by adding a logic layer directly to the placeholder. PHx also makes it possible to format the output, for example converting the string to uppercase, and so on. In this article by Antano Solar John, we will learn to use this notation.Read PHx (Place Holders extended) in MODx in full
In this article by William Rice, we will see how to create Tax Rules in Magento. In the real world, the tax rate that you pay is based on three things: location, product type, and purchaser type. In Magento, we can create Tax Rules that determine the amount of tax that a customer pays, based upon the shipping address, product class, and customer class.
When you buy a product, you sometimes pay sales tax on that product. The sales tax that you pay is based on:
- Where you purchased the product from. Tax rules vary in different cities, states, and countries.
- The type of product that you purchased. For example, many places don't tax clothing purchases. And, some places tax only some kinds of clothing. This means that you must be able to apply different tax rates to different kinds of products.
- The type of purchaser you are. For example, if you buy a laser printer for your home, it is likely that you will pay sales tax. This is because you are a retail customer. If you buy the same printer for your business, in most places you will not pay sales tax. This is because you are a business customer.
- The amount of the purchase. For example, some places tax clothing purchases only above a specific amount.
The standard setup of the Scalix server may be satisfactory for most installations, but if you are running Scalix on an internet site or if your local server is available from the Internet, extended security measures have to be taken. In this article by Markus Feilner, we will deal with several recommendations that make your Scalix server safe—like minimizing the number of services running and listening. We will set up a firewall which allows the Scalix users to connect to. After that, we will set up Stunnel to provide SSL-encrypted Scalix services. Then, we will use OpenVPN to protect the server. Last but not least, we will have a look at the services running and discuss advanced possibilities of securing the server.Read Scalix and Security in full
In this article by Gary Sims, we will cover the installation and configuration of the FreeNAS server. We boot the FreeNAS server from the LiveCD disk and configure a simple disk that is accessed by CIFS and FTP. We also look at how to install FreeNAS to the hard drive and how to upgrade it.Read Installation of FreeNAS in full
In this article by Jeff Potts, you will learn how to get the Software Development Kit (SDK) set up in Eclipse, where you will get the Alfresco SDK, how to build it, and how to set it up in Eclipse.
This article assumes you already have Alfresco installed and running on Tomcat, and are also using MySQL as the backend database.Read Installing Alfresco Software Development Kit (SDK) in full
Once the configurations for a VirtueMart store are set, our next step is to build our product catalog for the store and manage that catalog. In the catalog management functions, there are several tasks including managing manufacturers, vendors, and products. In this article by Suhreed Sarkar, we are going to learn about these. On completion of this article, you will be able to:
- Manage manufacturers and vendors
- Manage the product categories
In the previous part of the article we looked at how we can use the Oracle Business Rules engine to implement business rules, and how we can invoke these from within BPEL as a decision service.
In this part by Matt Wright, we will have a look at how to create a Decision Service.Read Using Business Rules to Define Decision Points in Oracle SOA Suite: Part 2 in full
In the previous article we saw how to Enable Spring Faces support. In this article by Markus Stäuble, we will learn how to use Spring Faces and its integration with JSF component libraries.Read Using Spring Faces in full
In this article by Mary Cooch, we will learn how to save energy. Not only our own, but the world's too! Moodle's main attraction, to many teachers, is the fact that you can upload all of those worksheets that you hand out in class (and that your students lose). When you've done it once, they are there for as long as you need them—so you don't have to find and print them off the next time you do that topic, and fewer trees will be felled in the name of education!
In this article, we shall:
- Put an information sheet about the River Thames into Moodle
- Load a whole week's slideshows about River processes into Moodle in a neat folder
- Make a click here type link (this is known as a hyperlink) to the River Thames web site
- Create a worksheet about flooding by typing it straight into Moodle
- Make our page a bit prettier now that we've got some real stuff on it
Report Builder 2.0 is feature-rich reporting tool with the latest Microsoft Office look and feel. In this two part article by Jayaram Krishnaswamy, we will see how the Report Builder 2.0 provides an extremely flexible GUI with user friendly wizards for creating the Tablix data regions, a versatile construct that includes tables, matrix, and charts and gauges. Report Builder 2.0 supports server resources such as shared Data Sources, works with SQL Server Data Sources and many third party products, and can directly open and edit server hosted reports. Report Builder together with Report Manager provides powerful support for building and managing a bewildering array of report types.Read Working with the Report Builder in Microsoft SQL Server 2008: Part 1 in full
When downloading and installing the ASP.NET MVC framework SDK, a new project template is installed in Visual Studio—the ASP.NET MVC project template. This article by Maarten Balliauw describes how to use this template. We will briefly touch all aspects of ASP.NET MVC by creating a new ASP.NET MVC web application based on this Visual Studio template. Besides view, controller, and model, new concepts including ViewData—a means of transferring data between controller and view, routing—the link between a web browser URL and a specific action method inside a controller, and unit testing of a controller are also illustrated in this article.Read Your First ASP.NET MVC Application in full
In this two part article by Matt Wright, we will look at how we can use the Business Rules engine to externalize rules from a BPEL process into a separate decision service. Once we've done this, we will know how to invoke the rule from a BPEL process. At run time there may be many potential paths through a BPEL process, controlled by conditional statements such as switch or while activities. Typically the business rules that govern which path to take at any given point are written as XPath expressions embedded within the appropriate activity.
Although this is an acceptable approach, we often find that while the process itself may be relatively static, the business rules embedded within the activities may change on a more frequent basis. This will require us to update the BPEL process and redeploy it even though the process flow itself hasn't changed. In addition, by embedding the rule directly within the decision point, we often end up having to re-implement the same rule every time it is used, either within the same process or across multiple processes. Apart from being inefficient, this can lead to inconsistent implementations of the rules as well as requiring us to update the rule in multiple places every time it changes.Read Using Business Rules to Define Decision Points in Oracle SOA Suite: Part 1 in full
Having implemented authentication using a MySQL database we will now need a tool to help users and administrators which is easier than openserctl. It is very hard to manage thousands of users manually, so a user provisioning tool becomes very important in our process. In this article by Flavio E. Goncalves, will well look at the SerMyAdmin tool, created specifically to help building user and administrator portals.
By the end of this article you will be able to:
- Identify why you need a user portal for administration
- Install SerMyAdmin and its dependencies
- Configure resources such as administrator and user access
- Add and remove domains
- Customize the portal with the colors and logos of your company
With the release of Spring Web Flow 2, an integration module to connect this with JavaServer Faces (JSF) has been introduced. The name of the module is Spring Faces. This article by Markus Stäuble gives the description of the configuration of the integration of Spring Web Flow 2 with JSF. We primarily learn how to enable Spring Faces support.Read Enabling Spring Faces support in full
Running a social web application means having a community of users who have common interests, and who use the application to share their interests and findings with each other. We will want to enhance the social experience of our users. In the previous article we built a friend network feature and let users browse bookmarks of friends.
In this article by Ayman Hourieh, we will learn how to:
- Enable users to invite friends to your web site
- Improve the interface with status messages