12
I would like to design a small, simple system encoded in the Pascal language (IDE Delphi), to receive notifications (such as a warning that an event has occurred), upon receiving the warning play some sound.
I know little of Delphi, it was one of the languages I started just out of curiosity but I ended up leaving after I came to WEB platform.
I don’t know if it is possible, create something with PHP + Delphi, something like send an email, the software capture and send some warning (like a sound) to the client.
I would like it to be possible to connect to Delphi with PHP, but I do not know if it is possible to interact a language of the web platform with another that is not, directly.
Your software running on client and in PHP?
– gato
Provides more information on the question, maybe there is a solution, I’m having difficulty understanding what you that.
– gato
I want to know the way to create a program capable of receiving notifications from a WEB platform language( as in PHP ) in order to notify the client. That is, an event is triggered and directed to my program that is installed on the client’s computer, and the program somehow alerts the event (as playing a sound). The event this would be started by a server-side language, in case PHP.
– Ale
@Denercarvalho There would be no way I could do everything in PHP, since to send something to the client’s browser, it needs to order, so I thought of creating a program that stays on his computer (written in Pascal, IDE Delphi) in order to make the idea work, where the trigger (event trigger) was initialized by PHP.
– Ale
Take a look at this question see if this is what you need http://answall.com/questions/2101/notifies%C3%A7%C3%B5es-de-desktop-no-Chrome-com-javascript
– gato
I did not want it to depend on the browser, even for reasons of compatibility and functionality, and also for the question that the customer would need to be on the page to see the notification. The idea is to have a software installed on the client’s computer, which receives notifications sent by PHP technology in order to process them as programmed, so the software would consume the internet and capture the requests made to it in order to process them and warn the client. It doesn’t have to be a cake recipe, but a path, some notion of how I can take the first step.
– Ale
Vc can write a desktop application that connects to the database of your web system, could be a solution in integrating the desktop application with the web system.
– gato
You can create an app in simple Delphi, which is there on the clock and connected to the database, when there is the change in the bank, fires a callback for the software, or it goes to the bank knows if there have been changes, 15 on 15 me. Without connecting the app in the database, you create an app in Delphi in REST, so you can consume the methods via JS and php, for example when someone on your site sends a question you call the method on the server Rest in Delphi and it warns there on the desktop. Creating a REST service in Delphi is very easy.
– Artur_Indio
@Artur_indio Thank you for your answer! It opened new eyes, if you can leave some reference link, it would be even better for me to guide me, but I thank you in advance for the words.
– Ale