[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Joshua Coady

9/6/2003 7:56:00 PM

Hello,

I am working on a project that needs to use an opensource code library
written in PHP and uses MySQL. I dont want to have to rewrite the entire
thing in C#. Are there any options available?

Things I have thought of but either havent found examples of or am not
sure will work:

- Have a server running the PHP code that has a webservice. Then I would
just consume that service to use it in ASP.Net

- Find some library that can run PHP and give my C# code access to it

Thoughts, anyone?

Thanks,

Josh
6 Answers

William Ryan

9/6/2003 8:16:00 PM

0

Josh:

I can't speak to PHP, but for the last three weeks, we've been running a
pretty large app on a MySQL backend.

These may help...

http://www.mysql.com/articl...

http://sourceforge.net/projects...

For what it's worth,getting stuff done web wise in .NET is a breeze. One of
the cats in networking I work with is a died in the wool "Everything
Microsoft Sucks" type. He worked on an inventory app for in-house tracking
running on MySQL, using PHP and it took him just under a month to get it
done. We were trying to use Infragistics to give the new one a nice UI, and
once we got the connection working, the re-write, with a much more
compelling front end took all of about 8 hours. The disparity probably
isn't totally typical, but you can definitely do a lot with ASP.NET, and do
it very quickly.

Hope this helps.

Bill
"Joshua Coady" <josh@coady.us> wrote in message
news:MPG.19c3dbb2c2c64e6989680@msnews.microsoft.com...
> Hello,
>
> I am working on a project that needs to use an opensource code library
> written in PHP and uses MySQL. I dont want to have to rewrite the entire
> thing in C#. Are there any options available?
>
> Things I have thought of but either havent found examples of or am not
> sure will work:
>
> - Have a server running the PHP code that has a webservice. Then I would
> just consume that service to use it in ASP.Net
>
> - Find some library that can run PHP and give my C# code access to it
>
> Thoughts, anyone?
>
> Thanks,
>
> Josh


Joshua Coady

9/6/2003 8:28:00 PM

0

That would help, except that I dont have to do anything specifically
with MySQL. The PHP code does all the DB stuff. But thanks for the
article link, it will be useful for another project.

Josh

In article <eRbBpOLdDHA.2564@TK2MSFTNGP09.phx.gbl>, dotnetguru@nospam.comcast.net says...
Josh:

I can't speak to PHP, but for the last three weeks, we've been running a
pretty large app on a MySQL backend.

These may help...

http://www.mysql.com/articl...

http://sourceforge.net/projects...

For what it's worth,getting stuff done web wise in .NET is a breeze. One of
the cats in networking I work with is a died in the wool "Everything
Microsoft Sucks" type. He worked on an inventory app for in-house tracking
running on MySQL, using PHP and it took him just under a month to get it
done. We were trying to use Infragistics to give the new one a nice UI, and
once we got the connection working, the re-write, with a much more
compelling front end took all of about 8 hours. The disparity probably
isn't totally typical, but you can definitely do a lot with ASP.NET, and do
it very quickly.

Hope this helps.

Bill
"Joshua Coady" <josh@coady.us> wrote in message
news:MPG.19c3dbb2c2c64e6989680@msnews.microsoft.com...
> Hello,
>
> I am working on a project that needs to use an opensource code library
> written in PHP and uses MySQL. I dont want to have to rewrite the entire
> thing in C#. Are there any options available?
>
> Things I have thought of but either havent found examples of or am not
> sure will work:
>
> - Have a server running the PHP code that has a webservice. Then I would
> just consume that service to use it in ASP.Net
>
> - Find some library that can run PHP and give my C# code access to it
>
> Thoughts, anyone?
>
> Thanks,
>
> Josh



Joshua Coady

9/7/2003 1:40:00 AM

0

I'm not sure if I was clear enough. Let me rephrase: Is there an easy way to call a PHP method or script from within C#?

Josh

In article <MPG.19c3dbb2c2c64e6989680@msnews.microsoft.com>, josh@coady.us says...
Hello,

I am working on a project that needs to use an opensource code library
written in PHP and uses MySQL. I dont want to have to rewrite the entire
thing in C#. Are there any options available?

Things I have thought of but either havent found examples of or am not
sure will work:

- Have a server running the PHP code that has a webservice. Then I would
just consume that service to use it in ASP.Net

- Find some library that can run PHP and give my C# code access to it

Thoughts, anyone?

Thanks,

Josh

Lloyd Dupont

9/7/2003 5:54:00 AM

0

something like Process.Start("...") ?

"Joshua Coady" <josh@coady.us> a écrit dans le message de
news:MPG.19c42c64452c479b989682@msnews.microsoft.com...
> I'm not sure if I was clear enough. Let me rephrase: Is there an easy way
to call a PHP method or script from within C#?
>
> Josh
>
> In article <MPG.19c3dbb2c2c64e6989680@msnews.microsoft.com>, josh@coady.us
says...
> Hello,
>
> I am working on a project that needs to use an opensource code library
> written in PHP and uses MySQL. I dont want to have to rewrite the entire
> thing in C#. Are there any options available?
>
> Things I have thought of but either havent found examples of or am not
> sure will work:
>
> - Have a server running the PHP code that has a webservice. Then I would
> just consume that service to use it in ASP.Net
>
> - Find some library that can run PHP and give my C# code access to it
>
> Thoughts, anyone?
>
> Thanks,
>
> Josh
>


Joshua Coady

9/7/2003 8:49:00 AM

0

And use Process.StandardOutput to read the results? This has potential...



In article <#NWe0RQdDHA.1828@TK2MSFTNGP10.phx.gbl>, net.galador@ld says...
something like Process.Start("...") ?

"Joshua Coady" <josh@coady.us> a écrit dans le message de
news:MPG.19c42c64452c479b989682@msnews.microsoft.com...
> I'm not sure if I was clear enough. Let me rephrase: Is there an easy way
to call a PHP method or script from within C#?
>
> Josh
>
> In article <MPG.19c3dbb2c2c64e6989680@msnews.microsoft.com>, josh@coady.us
says...
> Hello,
>
> I am working on a project that needs to use an opensource code library
> written in PHP and uses MySQL. I dont want to have to rewrite the entire
> thing in C#. Are there any options available?
>
> Things I have thought of but either havent found examples of or am not
> sure will work:
>
> - Have a server running the PHP code that has a webservice. Then I would
> just consume that service to use it in ASP.Net
>
> - Find some library that can run PHP and give my C# code access to it
>
> Thoughts, anyone?
>
> Thanks,
>
> Josh
>



Lloyd Dupont

9/7/2003 9:10:00 AM

0

sure ;-)
"Joshua Coady" <josh@coady.us> a écrit dans le message de
news:MPG.19c490c0a3b89763989684@msnews.microsoft.com...
And use Process.StandardOutput to read the results? This has potential...



In article <#NWe0RQdDHA.1828@TK2MSFTNGP10.phx.gbl>, net.galador@ld says...
something like Process.Start("...") ?

"Joshua Coady" <josh@coady.us> a écrit dans le message de
news:MPG.19c42c64452c479b989682@msnews.microsoft.com...
> I'm not sure if I was clear enough. Let me rephrase: Is there an easy way
to call a PHP method or script from within C#?
>
> Josh
>
> In article <MPG.19c3dbb2c2c64e6989680@msnews.microsoft.com>, josh@coady.us
says...
> Hello,
>
> I am working on a project that needs to use an opensource code library
> written in PHP and uses MySQL. I dont want to have to rewrite the entire
> thing in C#. Are there any options available?
>
> Things I have thought of but either havent found examples of or am not
> sure will work:
>
> - Have a server running the PHP code that has a webservice. Then I would
> just consume that service to use it in ASP.Net
>
> - Find some library that can run PHP and give my C# code access to it
>
> Thoughts, anyone?
>
> Thanks,
>
> Josh
>