2011-02-03 100 views
1

我想從現有的PowerBuilder應用程序生成一個Web組件。我可以用我選擇的任何腳本語言(ASP/PHP/JSP)來設計網頁。我想設計一個組件作爲我的網頁和我的PowerBuilder應用程序之間的橋樑。PowerBuilder:從數據窗口生成HTML

舉一個例子,假設我有一個網頁。當用戶點擊這個頁面上的鏈接時,它會將URL參數重定向到我的組件,它在接收到參數後與應用程序通信,獲取需要顯示的數據,從該數據構造HTML字符串並返回字符串到網頁,然後顯示給用戶。

我該如何構建組件?應用程序是使用PowerBuilder 10.5編寫的,如果需要的話,我可以在PowerBuilder 12.NET或PowerBuilder 12 Classic中編寫此組件。

+1

您的問題是在午夜前後美國時間發佈在Sybase新聞組。你在第二天早上有迴應。聽起來對我很敏感:http://forums.sybase.com/cgi-bin/webnews.cgi?cmd=item-236733&group=sybase%2Epublic%2Epowerbuilder%2Egeneral – 2011-02-03 21:03:12

回答

2

在上述意見中引用的新聞組的回答是這樣的:

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