Looking around for the web, some time ago, i discovered Phalanger: a php compiler written in C# to output dot net assemblies!
A couple of days ago i rescued it because the smartclient for CMSoft2 will use it for administration modules!
After a lot of experiments, i succeded in php code compilation, assemblies loading and, for the end, in classes instanciation and execution: using windows forms, from php, i shown a form with a label!
I hope that in a couple of days to post a screenshot of smartclient user interface, however, at the moment, there is a shot of a test layout, look at attached files (the clock will be replaced by other stuff).
Ah, before i forgot it, phalanger is twice faster than php and if it will pass to use DLR instead of a lot of code to emulate typeless structure it will be more faster!
| Attachment | Size |
|---|---|
| smartclient-ui-preview(no-levels).png | 58.18 KB |