PowerBuilder: generating HTML from a datawindow
I want to generate a web component from an existing PowerBuilder application. I may design the web pages in whatever scripting language I choose (ASP/PHP/JSP). I want to design a component that will act as a bridge between my web pages and my PowerBuilder application.
As an example, suppose I have a web page. When the user clicks on a link on this page, it will re-direct the URL arguments to my component which after receiving the argument开发者_如何转开发s communicates with the application, fetches the data that need to be displayed, constructs HTML string from that data and returns the string to the web page which then displays it for the user.
How can I build the component? The Application was written using PowerBuilder 10.5, and I may write this component in PowerBuilder 12.NET or PowerBuilder 12 Classic if need be.
The newsgroup answer referenced in the comments above was this:
Check out my "eStore" application on the SourceForge link after my
signature. This application calls PB components from JSP, PHP or ASP/ASP.net
applications. The PB components in turn use DataWindows that return various
XML, HTML and JScript back to the web application. The entire PB side is run
from a framework I developed and runs within EAServer (Sybase's application
server).
Regards ... Chris
President: OSUG / STD Inc.
Blog: http://chrispollach.blogspot.com
PBDJ: http://chrispollach.sys-con.com
SourceForge: http://sourceforge.net/projects/stdfndclass
I know this is an old post but I have developed an ISAPI plug-in that can run PowerBuilder code within IIS.
精彩评论