Page 2 of 2
Posted: Sun Sep 03, 2006 5:09 am
by timvw
Since you already have the .net version.. You could try to call that library via the
dotnet extension... (Haven't had the time to try it out though..)
Posted: Mon Sep 04, 2006 12:02 pm
by AlecH
If you are coming from .NET 2.0 to PHP that doesnt really make any sense to me unless of course its a hosting issue. I started developing ASP.NET a couple of months ago after finsihing some courses and found it took alot less work to make a fully functional application in ASP.NET isntead of PHP.
Also, PHP was written in C, I know PHP2, 3, and 4 were however not sure about PHP5, but I would assume so. I also think what he meant by "they are very similar" was the syntax and the similar structures of if, else, and elseif that you find in PHP as well as C.
Posted: Mon Sep 04, 2006 12:10 pm
by timvw
AlecH wrote:If you are coming from .NET 2.0 to PHP that doesnt really make any sense to me unless of course its a hosting issue. I started developing ASP.NET a couple of months ago after finsihing some courses and found it took alot less work to make a fully functional application in ASP.NET isntead of PHP.
In my experience that is true, but it also means you usually end up with a site that only works as expected with Internet Explorer. For an intranet this is probably acceptable, but i'm not so sure how much sense it makes on the world wide web... Anyway, that's not what this thread is about...
If i understood it well the OP is trying to offer access to his library from as much systems as possible... Which explains why he's looking for options to allow PHP <-> library communication.
Posted: Tue Sep 05, 2006 1:24 pm
by ngungo
Hi AlechH,
Besides the response from Tim and you were right about hosting issue, my project of the Vietnamese grammar parser would gain more favor if it is written in php, an open source programming language. As a nature of the project I need to rally as many linguistists as possible.
to Tim,
I looked into the possibility of calling .NET function from php, it seems awkward (if not impossible) because of hosting issue again.
Posted: Tue Sep 05, 2006 2:52 pm
by timvw
Since you expect problems with your hosting provider in order to load the dotnet extension, i don't think a custom extension is a solution either...
Posted: Tue Sep 05, 2006 3:04 pm
by ngungo
I thought dotnet extension have to be in IIS, isn't it?
I dón't understand. Would you elaborate more, please!
Posted: Wed Sep 06, 2006 12:48 am
by timvw
Afaik you only need a .net runtime (thus for linux etc you could use mono).. Should further look into this.