search
Homephp教程php手册ppform还真是个不错的工具 — php桌面程序帮手

最近又用上了ppform这个小工具,这东东的神奇之处在于可以用php(做为现在的主流开发语言)象delphi一样快速开发出一个小工具,比如下面这个俺正在用的可以直接调用php(做为现在的主流开发语言)函数的小东东,只用少量的代码,就完成了整个功能,如下:

PLAIN TEXTphp(做为现在的主流开发语言):

(做为现在的主流开发语言) require_once("ppform.php(做为现在的主流开发语言)"); ?>
(做为现在的主流开发语言)
 
class __PPFORM__ extends TPPForm
{
 
  function genBtnClick($Sender)
  {
     $func = $this->funcList->Items[$this->funcList->ItemIndex];
     $this->codeEdit->Text = $func($this->strEdit->Text);
  }
 
  function Form1Create($Sender)
  {
   $this->funcList->SetItemIndex(0);
  }
 
  function reBtnClick($Sender)
  {
   if($this->codeEdit->Text) {
         $this->strEdit->Text = $this->codeEdit->Text;
         $this->codeEdit->Text = ;
   }
  }
 
} //end __PPFORM__
 
?>

贴上俺丑陋的小程序界面

缺点:

启动速度有点慢
不能直接发布应用程序,到论坛上看,人家说已经在计划发布一个sdk,可以满足这个需求

http://www.ooso.net/index.php(做为现在的主流开发语言)/archives/181

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.