C# + PHP ?

S

Susan Baker

I have an N-tier application that I am in the process of developing. The
desktop app (presentation/frontend) will run on the desktop, and it will
periodically issue requests to an (additional) business logic tier on
the serverside.

I can't seem to locate any tutorials/references on using C# (desktop
application developed with Winforms) and PHP on the server side.

Here is an overview of the serverside (backend) requirements:


1). Handle request to logon from the frontend (requires backend to
authorize/verify user credentials)
2). Retrieve clientdata from backend database, encrypt this data and
return to front end (client)
3). Implement chatroom and forum server services for use by the frontend
(client)
4). Handle database requests (mostly running stored procedures) and
return results to the frontend (client).

BTW - I KNOW ASP.NET is capable of doing all this at the server side,
but I have my reasons for not wanting to go down the ASP.NET route.

What I want to know is if anyone has done this before (perhaps
communicating from C# to PHP via a HttpRequest class)?. Any useful
books/sites recommended will be much appreciated.


PS: I DO NOT want to use SOAP - it is far too heavy and slow for my
purposes.
 
J

Jon Skeet [C# MVP]

PS: I DO NOT want to use SOAP - it is far too heavy and slow for my
purposes.

That sounds like you have hard performance criteria which need
specifying in some detail. I mean, you could use Hessian
(http://www.caucho.com/hessian/) on both sides as a more compact and
lightweight form of web services - but without knowing more details of
your performance requirements beyond "not SOAP" it's hard to say.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top