Skip to main content

Posts

Showing posts with the label PHP

nanoide – custom build tool with source editor

nanoide is an effort to build scriptable build tool with source code editor. Initially I developed this tool to test some of my ongoing compiler projects and later I extend it with source code editors and with simple UI. nanoide build 138 with sample build script nanoide build system is based on FreePascal style scripting system and it comes with more than 50 inbuilt support functions . With help of nanoide, users can create complex conditional build flows and it helps to automate system testing processes also. Current version (build 145) of nanoide editor support C/C++, Java, Pascal/Delphi/Lazarus, Python, HTML, XML, CSS, Perl, Basic/Visual Basic, SQL, Tex, DOS batch scripts and UNIX\Linux shell scripting. nanoide is developed using Lazarus and it can be compiled and execute on Windows, Linux and Mac OS platforms. Virtually nanoide is compatible with any command line-driven compiler and it is tested with TinyC Compiler , Lua , Python , FPC and with PHP .  ...

PHPhD – Server side hardware port access extension for PHP

In one of my project I need to access PC hardware ports using PHP. Standard distribution of PHP (PHP for Windows) may not have facilities to access PC/Server hardware ports, and finally I developed lightweight PHP extension to access server hardware ports. Current version of PHPhD (version 1.0.0.20) support for PHP 5.2.x (tested with PHP 5.2.1) and distributed under the terms and conditions of Mozilla Public License version 1.1. This PHP extension is available to download at http://elect.wikispaces.com/Downloads Using PHPhD users can access server hardware ports with minimum amount of coding and complexity. Example PHP source code which was based on PHPhD is listed in below, //Initialize and open hardware device driver if(!phphd_open_driver()) { die("Unable to open PHP hardware port access device driver"); } //read printer (LPT) port and get the curent port value $lpt_port_val = phphd_read_port(0x378+1); echo("LPT port value [0x378+1] : ". $lpt_po...

Is Delphi for PHP successes ?

I’m trying Delphi for PHP 2.0 in few days back and I'm get very frustrated about it because of its pour implementation and technologies. Some key failures in Delphi for PHP 2.0 are, - IDE is very buggy and most of the times it produces "Access Violation" errors and IDE get confused. (In my computer Delphi 7 tries to debug it.) - Help is very pour and incomplete. - JavaScript and PHP integration is very complex and buggy. Most of the time JavaScript codes may not work in client side and it is heavily depends on the web browser. - Some times it is necessary to deploy entire "VCL" directory to the web server otherwise some of the VCL components produces invalid outputs. (specially RichEdit and TrackBar components) - MySQL integration is pour and buggy. - Build-in Apache web server crash several times and because of that reason we may not be able to debug/run web application using IDE. - Some times XML file (xml.php) generated by Form Designer may not compatible wit...