24
Sun, Nov
1 New Articles

Picking the Right Partner for RPG

RPG
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

With all the options available, are you in danger of being blinded by application development science?

 

RPG is no longer a standalone language. Gone are the days of learning RPG alone; you have to interface with the larger IT environment. If you read forums or mailing lists or blogs in the i community, you'll find an almost endless variety of options for exposing your RPG business logic, ranging from the latest tools, like EGL, to some of the more venerable options, such as Net.Data. If you're not careful, you could find yourself falling down the technology rabbit hole, chasing options like PHP or even Python.

 

Part of this might reflect a trend of choosing technology for its own sake. While that's been a phenomenon in the larger IT world for some time, it's only recently become evident in the i community. It's no coincidence that as the i evolved into the most open platform available, these arguments became more numerous. Nowadays, you'll find people taking stands based not on business requirements but instead on perceived benefits of a given language. This is a road fraught with peril; what may make a language a good fit for one application may be exactly the thing that makes it a bad choice for another. This article will help you identify what's really important.

So What's an RPG Developer Supposed to Do?

The most important thing is to identify your business requirements. Seen from the correct perspective, even technical issues become business requirements. Let's say one IDE has a better visual editor than another. Well, how much will a visual editor actually save you in development time? Are the programmers in your environment visually oriented, or are they die-hard source-code editors?

 

If you attack the question from that angle, it becomes easier to identify the development tools that best fit your company. And while I can't tell you what's best for your company--nobody can unless they actually know what your company does and how your development process works--I can list some examples of business requirements that can point you down the road to making your own choices.

 

User Interface

 

User interface is a very good first choice for identifying business requirements. That's because while it seems like an easy question, if you spend some time carefully considering the question, you might be surprised at the answer.

 

As I said, the question seems easy; nearly everybody wants a "Web interface." But that's sort of an amorphous need, kind of like "food." Many different kinds of food will sustain you, but there's a big difference between pot roast and Peking duck, and which you choose will depend a lot on your own skills and the time at hand. In the case of user interface, you need to think about several things.

 

First, are you really creating Web applications that need RPG business logic or just a browser interface to some of your data? Are you going to create an intranet site so that your internal users can access business functions? Or will your vendors and clients be accessing this site? And more importantly, will your business depend on how that site looks? Will your Web presence be used to drive business to your site?

 

These are important questions because they drive the interface language requirements. Today, a simple browser interface can be implemented in nearly any technology. You can use Net.Data, the old standby that is basically included free with the i platform, to create nice Web pages by learning just some basic HTML and the simple Net.Data macro language. But if you want to create a powerful, rich interface that can be honestly termed a "Web 2.0" application, you need to learn a lot more about the new JavaScript frameworks and learn how to adapt them to your environment.

 

External Community

 

I've seen a lot about this lately, probably because of the introduction of PHP into the mix. As RPG programmers, we're not used to dozens of forums with thousands of users. And if you need a huge community of developers to help you design and develop your applications, using a language like Java or PHP with a vast worldwide acceptance is going to appeal to you.

 

But beware the hype around this particular point. There's been a particularly interesting debate on the issue of PHP's community. That's due to the dual nature of the language. Originally designed as solely an HTML scripting engine, PHP has evolved significantly over the years, with the division between PHP 4 and PHP 5 being particularly dramatic. The situation is quite similar to the difference between RPG III and RPG IV; you can do most of what you did in PHP 4 in PHP 5, but if you want to write real business applications, you pretty much have to use PHP 5.

 

The problem is that the vast majority of code and support in the online community is still based on PHP 4. So while it's true that a large community does exist, that community may not be a big resource for a company that's planning on using the language for advanced application development. And the segment of that community that's dedicated to the i platform is smaller still.

 

And in the long run, you have to decide how much of your business will depend on free online support. Personally, I think this particular issue may get a little too much emphasis. Because while I live on the bleeding edge of technology and often find myself relying on the kindness of strangers, are you really putting technologies you don't know into production? Or are you occasionally running proof-of-concept projects to determine the viability of a given approach and then carefully integrating that into your development environment? The former requires a lot of time on the Web looking for help, while the latter is more about short bursts of focused learning.

 

Your Staff

 

This may be one of the more telling points. It's perhaps the biggest hammer in the belt, and it's the one that seems to really frighten a lot of technology managers. There's no denying the fact that the RPG community is graying; all I have to do is look in the mirror to see that. It's getting harder to find good RPG help.

 

But the more pressing question is what kind of in-house expertise you have for your Web interface, if indeed you're going in that direction. If you are primarily a Microsoft .Net shop, then the writing may be on the wall for you already. .Net is a solid, viable platform option whose primary downsides are lock-in to Microsoft and the price per server. If you're already running Microsoft servers in your shop, then the incremental cost may not be as challenging.

I Don't See an Answer Here

I'm sure you've noticed that I haven't actually given you a recommendation. That's because I can't. As I noted a little earlier, nobody can really tell you what's best for your company unless they really know your company.

 

But let me walk you through a couple of scenarios.

 

Scenario 1

 

You're primarily a green-screen shop with a large custom application. You need to give a few of your users browser access to some data, but you don't have a lot of in-house expertise. You're not worried about strategic direction today; you just need to make some data available.

 

Well, in this case, Net.Data is actually not a bad choice. It takes minutes to get your first Net.Data application running, and you can be serving Web pages containing data from your database almost immediately. Not bad, provided you understand this is essentially throw-away work if you decide on a more ambitious Web interface later.

 

Scenario 2

 

You're a pretty savvy RPG shop that's gone a long way down the ILE path. You know how and why to write modular programs that separate user interface and business logic, and you've already written a few browser applications using JSP and the response has been good. Your trading partners want you to expose some of your processes as Web services, and you need an online order application that looks as good as anything available but still interfaces with your back-end systems.

 

Unfortunately, the Java learning curve has been steep, and you aren't nearly as far along as you'd like to be. You're out of education bandwidth as it is, and you haven't even begun to research the Web 2.0 technologies.

 

In this case, you might seriously consider EGL. Most of the work you've done in JSP can be transferred to EGL's JSF interface, and you can create Web services with just a few lines of code. Those services will call the business modules you've already written, and you can focus your development efforts on the new Rich UI technology that will allow you to write Web applications using the latest frameworks, such as Dojo, without having to learn nearly as much of the plumbing.

How Do I Decide?

It's a big question, and you can get a lot of conflicting input. But if you are able to step back from the language wars and identify your business requirements, I think that the choices become a lot clearer. Hopefully, this article helped you take that step.

Joe Pluta

Joe Pluta is the founder and chief architect of Pluta Brothers Design, Inc. He has been extending the IBM midrange since the days of the IBM System/3. Joe uses WebSphere extensively, especially as the base for PSC/400, the only product that can move your legacy systems to the Web using simple green-screen commands. He has written several books, including Developing Web 2.0 Applications with EGL for IBM i, E-Deployment: The Fastest Path to the Web, Eclipse: Step by Step, and WDSC: Step by Step. Joe performs onsite mentoring and speaks at user groups around the country. You can reach him at This email address is being protected from spambots. You need JavaScript enabled to view it..


MC Press books written by Joe Pluta available now on the MC Press Bookstore.

Developing Web 2.0 Applications with EGL for IBM i Developing Web 2.0 Applications with EGL for IBM i
Joe Pluta introduces you to EGL Rich UI and IBM’s Rational Developer for the IBM i platform.
List Price $39.95

Now On Sale

WDSC: Step by Step WDSC: Step by Step
Discover incredibly powerful WDSC with this easy-to-understand yet thorough introduction.
List Price $74.95

Now On Sale

Eclipse: Step by Step Eclipse: Step by Step
Quickly get up to speed and productivity using Eclipse.
List Price $59.00

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: