Phalanger at runtime

Discussion about the open-source Phalanger [?] project.

Phalanger at runtime

Postby danielsh » July 14th, 2012, 12:06 am

Hi everyone, I'm not just new to Phalanger but also to php.

Im developing a c# dll and I'd like to use php for the webpage that's gonna use that c# code.
Since I really enjoy the .NET platform I was told to try phalanger out. Here I am.
My question is, regarding all the info I'm reading before actually start working on it, is: Once everything is done, will company users (I mean their computers) using the webpage (around 200/300 hundres) have to install something in they clients?

I got a bit confused after reading this on the phalanger wiki "...Resulting assemblies depend on the Phalanger runtime, therefore Phalanger is still needed to be present on the target machine"

Thanks a lot.
danielsh
 
Posts: 2
Joined: July 14th, 2012, 12:00 am

Re: Phalanger at runtime

Postby Miloslav Beno » July 14th, 2012, 12:25 am

Hello,

Phalanger has to be present with application which is using it because of nature of dynamic languages that needs strong runtime support.

But that just means you have to distribute your application with Phalanger's dlls as http://wpdotnet.com does. You can find more details about installation-free distribution on our blog http://www.php-compiler.net/blog/2011/i ... langer-web
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Phalanger at runtime

Postby Jakub Misek » July 14th, 2012, 4:59 am

Hi,

In case of web pages, PHP scripts are being processed on server side and clients do not have any additional requirements.

.NET interoperability is seamless; just add a reference to your DLL into your web.config, and all the .NET classes and methods become visible in PHP code. See http://wiki.php-compiler.net/Code_sampl ... NET_in_PHP for an examples.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Phalanger at runtime

Postby danielsh » July 15th, 2012, 12:58 am

thank you both! so much. I wanted to know if there were some need of installing anything on the clients. But placing some dll's on server side is totally acceptable.
danielsh
 
Posts: 2
Joined: July 14th, 2012, 12:00 am


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 41 guests

cron

User Control Panel

Login

Who is online

In total there are 41 users online :: 0 registered, 0 hidden and 41 guests (based on users active over the past 5 minutes)
Most users ever online was 382 on April 19th, 2024, 8:57 pm

Users browsing this forum: No registered users and 41 guests