SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Thread: Window

  1. #1
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,159
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Window

    Hi, Can i ask, is it possible in web or does PHP can do the same like the windows that can show Balloon pop-ups in the Sys Tray?..is this possible to achieve ?


    Thank you in advance.

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,617
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    No.

    PHP is a server-side language.

    The only way it can display anything that looks like a GUI is when you have it interact with the HTML/CSS/JavaScript in a web browser. Even then, whatever you work with is limited to the scope of the browser.

    To get anything to interact with the operating system, you will need to use an application language like (but not limited to) C, C++, Java, or C#.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,159
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you forceflow ..can i ask is it possible PHP can communicate to other language like C# or Java ?

  4. #4
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,244
    Mentioned
    155 Post(s)
    Tagged
    0 Thread(s)
    Yes, through Services. You can either make a PHP Restful Service and your C#/Java Application can interact with that service.

  5. #5
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cpradio View Post
    Yes, through Services. You can either make a PHP Restful Service and your C#/Java Application can interact with that service.
    The desktop application needs to be the one that initiates the interaction, right?
    It'd be scary if a website can trigger something to happen on my desktop!

  6. #6
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,244
    Mentioned
    155 Post(s)
    Tagged
    0 Thread(s)
    Yes, the desktop application would call out to the Restful service as needed.

  7. #7
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,244
    Mentioned
    155 Post(s)
    Tagged
    0 Thread(s)
    Here are a few resources to get you started (the first one is a bit outdated but the second one was published last year)
    http://www.sitepoint.com/own-web-service-php-xml-rpc/
    http://phpmaster.com/series/creating...-php-and-soap/

    and another one:
    http://phpmaster.com/writing-a-restf...ice-with-slim/

  8. #8
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,159
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cpradio View Post
    Here are a few resources to get you started (the first one is a bit outdated but the second one was published last year)
    http://www.sitepoint.com/own-web-service-php-xml-rpc/
    http://phpmaster.com/series/creating...-php-and-soap/

    and another one:
    http://phpmaster.com/writing-a-restf...ice-with-slim/

    Hi cpradio, Thank you for this links...i will write back if i get in trouble,

    Thank you

  9. #9
    SitePoint Guru bronze trophy
    Join Date
    Feb 2013
    Posts
    772
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    You can make pure css popup's using an a:hover attribute. http://www.cssplay.co.uk/ has a few examples.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •