Changes

Jump to navigation Jump to search

PHP WinBinder: Overlay

20 bytes removed, 18:57, 2 February 2010
Proofreading and grammatical changes; some minor reformatting
'''''WinBinder Overlayed on Uniform Server'''''
A penalty of using this plugin is a significant increase in the UniServer directory size. The plugin duplicates code that is already installedin the core.
If you check the size of folder UniServer\plugins\winbinder\'''php''' its , you'll see it's around 9.8 MB , which is a significant hit. Solution The solution is to copy files required for WinBinder to UniServer’s core and delete the above folder.
== Copy files to core ==
Copy these folders and files to Uniform Server’s core:
* Delete folder UniServer\plugins\winbinder\php
'''''[[#top | Top]]'''''
== Adjust paths ==
Having moved folders and files , our examples will fail, paths . Paths need to match the new configuration. Lets Let's modify test9 to this new configuration.
'''''[[#top | Top]]'''''
=== Batch file ===
Edit file UniServer\'''test_9_final.bat''' (If it does not exist , copy it from folder UniServer\plugins\winbinder\alt_con_1)
Change this code:
<pre>
cd plugins\winbinder\alt_con_1
</pre>
'''''[[#top | Top]]'''''
=== PHP Script ===
Edit file UniServer\plugins\winbinder\alt_con_1\test_9.phpw
Change this code:
<pre>
<?php
Include "../../../usr/local/php/include/winbinder.php"; // Location Of Winbinder Library
</pre>
'''''[[#top | Top]]'''''
== Summary ==
Using WinBinder , I have show how to create an alternative controller for running the servers in standard program mode.
Running For running the servers as a service , you can add this functionality by adding a tab control. This will allow you to switch between standard and service.
The drop down menu allows you to quickly add additional functionality.
This tutorial has shown how to use WinBinder for producing Windows application coded in PHP.
If you do not like Uniform Server’s control interface , you now have the tools to create your own.
WinBinder remains an excellent PHP module for quickly programming windows applications.
'''''Follow up tutorial'''''.
Manually positioning controls is tedious . WinBinder has an excellent tool “form editor” called "form editor" that removes this tedium. Scripts can become larges large, especially if you document code. The code packaging technique covered in this tutorial does not compile or reduce code size , however there is an excellent tool called PHC-Win that does.
[[PHP WinBinder 2: Introduction | '''Tutorial 2''']] covers both PHC-Win and “form editor”"form editor". PHC-Win has been packaged in Uniform Servers format and WinBinder repackaged for portability it . It includes “form editor” "form editor" and original examples ; these are separate downloads.

Navigation menu