Archive

Author Archive

The new PHP stack on IBM i Improves Performance and Configuration

February 8th, 2011 No comments

The introduction of Zend Core to the IBM i opened a new world of possibilities for IBM i developers trying to create web applications that would make use of their existing DB2 files while hosting them on the same system. Zend Core was the first step on porting a reliable PHP stack to the IBM i world and while it was indeed a great first step, there was also room for improvement.

The Zend Core distribution made use of an Apache instance that ran in the PASE environment, leaving the IBM HTTP Server Powered by Apache working as a reverse proxy mainly passing the requests to the instance in the PASE environment. As more advanced PHP applications were developed, developers and administrators began to struggle with more complex Apache directives and configuration that were needed because of the reverse proxy. Zend and IBM worked on a solution to eliminate this problem: The new Zend Server for IBM i. In addition to eliminating the Apache server in PASE, new and improved caching algorithms were introduced that have the capability to deliver great performance improvements depending on the nature of the applications.

Mike Pavlak goes into further detail explaining Zend Server’s packaging, new architecture, installation and server versions (Community Edition and Commercial Edition) on the “What’s New with PHP on IBM i?” article hosted at SystemiNetwork.

For those of you that are currently using Zend Core, we recommend the upgrade to Zend Server CE. You can read our KB article “Using WebSmart PHP with Zend Server CE” to get information on how to download and setup Zend Server CE.

Web Application Security – What is XSS and SQL injection?

October 19th, 2010 No comments

RPG programmers who are new to web development have probably come accross the terms “Cross Site Scripting (XSS)” and “SQL Injection”, and can probably relate them to web application security topics. If you are concerned about security, and most likely you are, further research is needed in order to understand and prevent these risks .

What exactly is XSS? How can it be prevented? What is an example of SQL injection? Do I have the correct code to prevent such exploits on my application? Without a doubt, these are some of the many questions that come to mind. To get a better understanding of these topics and other security concerns, I strongly recommend that you take a look at the article “Common Security Mistakes in Web Applications”, hosted by Smashing Magazine.

This is probably one of the best articles I’ve read in terms of its simplicity and clarity. It provides you with straightforward examples and a solid explanation of each concept. Even though the article refers to PHP coding techniques, the same concepts will apply for web applications developed with other programming languages or tools, including WebSmart ILE. Enjoy!

Categories: Clover, Web Development, WebSmart Tags: