Page 1 of 1

Does PB have Web services power ?

Posted: Thu May 16, 2013 8:47 am
by Primoz128
Does it ? I can't find it.

Re: Does PB have Web services power ?

Posted: Thu May 16, 2013 12:19 pm
by Nituvious
What do you mean? There are web servers built in PureBasic that may also use PB as a scripting language.
If you mean something like running PureBasic as an applet on a webpage, I don't think anyone has made anything like that.

Re: Does PB have Web services power ?

Posted: Thu May 16, 2013 7:31 pm
by Primoz128
You know when websites have like ability to calculate something, and you would enter data and it would calculate for you. To make program that calls that service to do that.

Re: Does PB have Web services power ?

Posted: Thu May 16, 2013 8:09 pm
by es_91
No, unfortunately it has not.

You might, however, want to take a look at kiffi's user project PBtoHTML5. It creates websites.

;)

Re: Does PB have Web services power ?

Posted: Thu May 16, 2013 10:21 pm
by Bisonte
Stop. :!:
Use the search Luke ;)

Purebasic as cgi/pearl/php replacement

Re: Does PB have Web services power ?

Posted: Thu May 16, 2013 10:40 pm
by em_uk
Of course this would be possible, why ever not?

You would have to handle the http requests on port 80, then do as you please.

Serve up data, wait for input so on and so fourth. Pretty sure there are more suitable languages though.

http://www.purebasic.fr/english/viewtop ... =webserver

*took too long! :)

Re: Does PB have Web services power ?

Posted: Thu May 16, 2013 11:45 pm
by jassing
You can use purebasic exe as CGI, and if on windows, can use a pb writen dll to "do stuff" in asp/ asp.net. Since pb's dll's dont' need any special runtime, most hosting packages won't have a problem with it.

Re: Does PB have Web services power ?

Posted: Fri May 17, 2013 5:21 am
by DarkDragon
But there is no ready to go SOAP solution.

Re: Does PB have Web services power ?

Posted: Sat May 18, 2013 7:52 am
by morosh

Re: Does PB have Web services power ?

Posted: Sat May 18, 2013 9:08 am
by DarkDragon
I meant a complete framework like with WCF or Apache CXF - there is no such thing for purebasic.