English 中文(简体)
Web development on iSeries with ABL s Strategi
原标题:

Advanced BusinessLink offers a suite of products called Strategi, which basically allows creating web applications running natively on iSeries, consuming and providing web services, and replacing green screens with web user interfaces, among other things. The business logic is written on RPG, with web pages combining html and a proprietary markup language. So apparently the advantage for RPG programmers is not having to learn a new language (besides html and javascript, obviously), as opposed to, say, using Zend on iSeries and having to learn PHP.

Does anybody have experience with this sort of solution? What’s your opinion on using RPG and Strategi frameworks for real web development? Would it make more sense to create the web infrastructure on a PHP stack, and risking having business rules duplicated on both PHP apps and RPG programs?

最佳回答

First of all, I have the opinion that every programmer should learn new languages. This is especially true for RPG programmers that have lived in the safe as400 world with no memory leaks, no alloc/malloc, no pointers, no linkers and other stuff that is taken for granted by all other programmers. Maybe this is a personal rant, but I do have the opinion that iSeries programmers are drifting apart from the real World of Programming.

That having said, I have done my share of projects to "webulate" legacy systems. I have been working with very different tools including the initial IBM solutions (yeah, I am getting old ...). We were always able to deliver a solution but most of the times it failed in the long term. The most important reason was the lack of speed by the supplier to pick up the new trends and techniques (e.g. ajax) and incorporate them in their product. I do always admire these beautifull products (from their website I think that Strategi is beautifull too) but I have come to the conclusion that it helps on the short term, but it is not the choice for the long term.

The first argument is nature of any "webify" tool. Their benefit is that the iSeries programmer is quick up and running. In no-time, new products are delivered. However, after some time the users have new requirements and some of them can not be produced with the tool. Most of the times these tools don t let you program on the metal of the machine. On the other hand, they don t allow you to incorporate other techniques (e.g. jQuery) that can do the trick. Therefore, most of the time you are forced to have an average application.

The second argument has to do with you and your co-workers. Are you happy with living on an island? If you read the programmers magazine s, the forums and interesting products (e.g. Sourceforge), do you want this stuff? I think that any programmer should learn and become familiar with general techniques. Think SQL, OO, dynamic languages, java, Eclipse, Apache, class libraries/modules and so on. If you use these tools/languages/principles in your environment, then you will be able to learn from other people s experiences, attract young programmers, participate in communities, and become inspired by new technology.

Nowadays I do work for a company that is changing more and more from legacy systems to "normal" stuff. Think SQL, JDBC, java, Websphere but also still use RDML and RPG. Our toolbox is increasing very quickly which give us the opportunity to choose the best tool for the job. And yes, this still includes RDML and RPG. For example, how about a java programma that calls with JDBC a stored procedure with the required business logic on the iSeries. That stored procedure is written with RPG/RDML.

This changing world is sometimes intimidating for the "old school" programmers. On the other hand, you can easily see who does have the talent and skills, and who is just doing the same trick for years. The other group is enthousiastic because they can now work closely with other programmers on projects and share the same understanding of technology. Therefore, we do now identify and pick up new technologies that will help us in the daily job, much quicker and easier.

So, it s still up to you if Strategi is the way to go. I tried to describe that this choice effects more then only the next project. It has to do with you and your coworkers as part of the Programmers World.

Personally, I am still hoping to get started with Python in the workplace.

问题回答

in school we are currently using a web product called Icebreak server which has a classic asp style markup as well as templating and an excellent web interface for server control and my professor is currently working on a product which is still in eaarly beta called icecap which gives you what is basically green screen access and menu from a web interface as well as system administration and gives you setup to potentially offer iSeries hosting options the Icebreak website is www.icebreak.dk and the icecap application is at www.system-method.ca

Icebreak is fairly simple to use as it is uses a common markup language and uses standard freeform rpgle





相关问题
MQ EOL Data conversion

we are sending data trough MQ from a z/OS/CICS system to an AS400. Original encoding of the message is CCSID 500 with a MQSTR Format. The client application is getting the message with the CONVERT ...

Invoking AS400 RPG From Java

I have a very limitied (0) knowledge on AS400 and RPG. But we have a urgent requirement where we need to invoke a RPG program from a java class. So I found that we can achieve it through JTOpen. But I ...

Fetching data from excel sheet in AS/400

I am using AS/400 with Reflections for IBM. Here is my question: How can the data from an excel sheet be transfered to an AS/400 session. From there I should be a ble to create macros to add the info ...

Calling AS400 SP from ASP .NET webservice

I have an external stored procedure (SP) in AS400 with IN and OUT prameters.When my SP is called from webservice with IN and OUT parameters, it shows me an error (Attempted to read or write protected ...

Web development on iSeries with ABL s Strategi

Advanced BusinessLink offers a suite of products called Strategi, which basically allows creating web applications running natively on iSeries, consuming and providing web services, and replacing ...

SQL Update from a Select

I want to update two fields of table (Store) from a select of others tables, but i don´t know how i can do it. The SQL system is in AS/400, so doesn´t have SQL Server or Oracle tricks :( Here is the ...

AS400 DB2 Journals search

I am new to DB2 administration on AS400, could you point me to the best practices/tools to search for errors in the DB2 journals? So far I use the DSPJRN command but I am unable to make research. ...

热门标签