C# + PHP ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Susan Baker

    #1

    C# + PHP ?

    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.

  • Jon Skeet [C# MVP]

    #2
    Re: C# + PHP ?

    Susan Baker <sbaker@no.spam .net> wrote:

    <snip>
    [color=blue]
    > PS: I DO NOT want to use SOAP - it is far too heavy and slow for my
    > purposes.[/color]

    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.

    --
    Jon Skeet - <skeet@pobox.co m>
    http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
    If replying to the group, please do not mail me too

    Comment

    Working...