
|
With or without Web experience BCD’s WebSmart helps IBM i companies get to the Web with PHPby Robert Gast PHP has taken the Web by storm and IBM i shops are quickly getting swept up in the surge. Two companies that recently went live with IBM i PHP applications are Midwest Fuel Injection (MWFI) and American Foods Groups (AFG). Interestingly, the technicians responsible for PHP development at each company have very different programming backgrounds. MWFI’s Tony Kudrys has lots of web experience but only basic IBM i knowledge, while AFG’s Warren Schultz is a skilled RPG programmer with incidental exposure to web-based technologies.
MWFI’s Steve Heinrich (left) and Tony Kudrys (right) Ultimately, both men created professional PHP applications. What they have in common is that they both used WebSmart PHP, Business Computer Design’s (www.bcdsoftware.com) rapid web application development tool. PHP on IBM i?The use of PHP is definitely on the rise. According to Nexen.net, an organization that tracks PHP’s proliferation across the web, 33% of all domains on the Internet are running PHP apps, and growth is expected to continue. Multi-platform support, ease of use, a three to four-times performance advantages over JSP, and a huge support community for this open source web programming language are a few reasons that PHP has grown so quickly. PHP is also gaining ground because it’s being supported on a wider range of platforms. PHP applications running on Zend Core for IBM i gives programmers more opportunities to create innovative Web-based systems that satisfy evolving business requirements while leveraging existing investments in technology and talent. With the right tools, PHP programs can be easily integrated with existing RPG and COBOL applications and data residing in IBM DB2 for i. Many IBM i shops are considering PHP or have firm project plans that include it. One person on the front line of IBM i PHP development, Marcel Sarrasin, Technical Sales Manager from Business Computer Design (BCD), believes PHP has passed the tipping point across the IBM i landscape and notes a dramatic increase in the number of registrations for BCD’s webinars on the PHP edition of WebSmart. “Over 500 people signed up for our PHP webinars in the past few months,” says Sarrasin. “About 70% of those people have no prior PHP experience but they see the potential in PHP and they immediately see the value in WebSmart PHP because it generates the base PHP and HTML code for them and handles the connection to their database and to their IBM i.” BCD launched WebSmart PHP in September, 2007. The Diesel Store
Roughly one year ago MWFI’s president Ben Seidel authorized the construction of a dynamic website that would offer shoppers Web access to detailed product descriptions, inventory availability and pricing information. Their plans also included broad search and shopping cart capabilities, credit card transaction clearing and UPS shipment tracking. “We had a static website and spent a lot of time keying in telephone orders. We were quickly adding hundreds of new parts to our catalog and needed to offer customers an easy-to-use online parts store that would allow them to find what they needed very quickly,” says MWFI’s Tony Kudrys, senior system engineer and web developer. MWFI manages its entire repair and parts operation with a niche application from Computer Central in Arlington, Texas. This package runs on a server with the IBM i OS housed at MWFI’s main facility in Bolingbrook, Illinois. Kudrys and one web designer handle all system administrator duties; help desk tickets and web application development. Paradoxically, neither Kudrys nor his web designer, Steve Heinrich have a significant amount of experience with IBM i. Kudrys says they considered building their e-commerce site with Microsoft .NET ASP pages and transferring the data over to the IBM i server for processing and invoicing. This approach seemed too convoluted so they evaluated an e-commerce system proposed by Sirius Computer Solutions that required the acquisition of $250,000 in new hardware. Then, acting on a tip from their application software vendor, Computer Central, Kudrys called BCD and asked about WebSmart PHP. “The license fees and professional services costs were well within the budget limits we set for this project and we were able to use our existing hardware,” according to Kudrys. “We also liked the simplicity of PHP and how easily it integrated with existing RPG applications and the database.” Kudrys estimates his total investment in WebSmart PHP and a couple weeks of consulting time at $18,000. After three days of training, he and MWFI’s web designer started customizing the templates included with WebSmart PHP to match their organizations look and feel for the front end, and then started developing the catalog and shopping cart on the backend. At the same time, BCD’s professional services team built the check out process. Says Kudrys, “While WebSmart PHP gives you templates that help you create applications, we wanted to build the user interface from scratch and it allowed us to do that. We wanted it to look a certain way. BCD built the sign-in, shipping, billing and credit card submission applications. Their part does a silent order post to the credit card company using web services and once the approval response comes back they send the information to the IBM i to be processed and invoiced.” While information on pricing and availability is being pulled from the IBM i server, MWFI’s PHP applications acquire the full product description and product image from a MySQL database that resides on a separate PC. “The product descriptions on the main server are only about 20 characters long and we needed to display longer narratives for each SKU,” says Kudrys. This is a classic case of leveraging legacy information on two platforms Page two Business Computer Design, Intl, Inc. www.bcdsoftware.com transparently, one of the significant benefits of using web services and PHP strategically. Most of the vendors in the on-line diesel engine parts business sell the same 600 SKUs. MWFI’s intention is to offer 700,000 different SKUs and to be a single source for everything related to diesel engine repair, maintenance and modification. Adds Kudrys, “We will definitely be able to do this with the way this site is built.” “BCD’s PHP development solution provided many of the tools that we needed and allowed us to use our existing computing resources and talent. And there’s a big difference between the $18,000 price tag for this solution and the other option for $250,000.” says Kudrys. American Foods Group
Overcoming the differences between RPG and PHPWith 18 years of experience on computers running IBM i OS and its predecessors, Schultz says that, like most developers with his background, his Web skills were somewhat limited. After attending a WebSmart PHP training seminar and reading other materials relating to PHP development he says, “I was able to get off and running in PHP development fairly quickly. The templates and the training were both very helpful.” Schultz also used BCD’s browser-based report generator, Clover, and its portal, Nexus, to build a secure system where end users can do quick queries and view reports in a browser in a number of file formats, including Excel spreadsheets. He also developed Inquiry and Lookup screens with both Clover and WebSmart PHP that allow users to filter searches by specific values such as order number or dates. “In terms of how these applications are accessed, I’ve set them up as folders or drop down menus within our Nexus Portal,” says Schultz. “As long as users have a valid System i user ID they can log in to the portal and access these options based on their profile. In a few instances where users do not have a valid user profile I can grant them access within Nexus,” he says.
The Nexus portal also serves a number of other purposes. Besides providing shortcuts for these applications it’s also a convenient repository for documents. Users can just click on a link and download a document rather than relying on a coworker to find it for them in a network file folder and mail it. “What I like about Nexus, among other things, is that while it was initially set up with the help of BCD’s technical support staff, it’s not that difficult to maintain, especially when it comes to adding new users or adding menu options, setting up groups, adding people to those groups, and using those groups to limit who has authority to what options. It’s actually very easy to use.” Both Kudrys, a technician with extensive web development knowledge but only basic IBM i skills, and Schultz, a seasoned IBM i veteran with limited web development experience, were able to solve strategic and tactical business problems with the same tool, WebSmart PHP. Kudrys and Schultz both see the benefits of these new web-based applications. Kudrys says MWFI’s online shopping and order entry application was an instant success with his company’s customers, and cut down considerably on personnel costs, while Schultz sees a dramatic reduction in the number of calls made to his office for current reports and compliance documents. 10,000+ installations 30,000+ products sold 35+ industry awards 950 York Road, Hinsdale, IL 60521 (630) 986-0800 Fax: (630) 986-0926 www.BCDsoftware.com sales@bcdsoftware.com TMs mentioned are those of BCDII or of their respective owners © MMIX BCDII Page four Business Computer Design, Intl, Inc. www.bcdsoftware.com
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||