Does PB have Web services power ?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Does PB have Web services power ?

Post by Primoz128 »

Does it ? I can't find it.
Nituvious
Addict
Addict
Posts: 1029
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: Does PB have Web services power ?

Post 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.
▓▓▓▓▓▒▒▒▒▒░░░░░
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Does PB have Web services power ?

Post 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.
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Does PB have Web services power ?

Post 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.

;)
:mrgreen:
User avatar
Bisonte
Addict
Addict
Posts: 1313
Joined: Tue Oct 09, 2007 2:15 am

Re: Does PB have Web services power ?

Post by Bisonte »

Stop. :!:
Use the search Luke ;)

Purebasic as cgi/pearl/php replacement
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
User avatar
em_uk
Enthusiast
Enthusiast
Posts: 366
Joined: Sun Aug 08, 2010 3:32 pm
Location: Manchester UK

Re: Does PB have Web services power ?

Post 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! :)
----

R Tape loading error, 0:1
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: Does PB have Web services power ?

Post 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.
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Does PB have Web services power ?

Post by DarkDragon »

But there is no ready to go SOAP solution.
bye,
Daniel
morosh
Enthusiast
Enthusiast
Posts: 329
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

Re: Does PB have Web services power ?

Post by morosh »

PureBasic: Surprisingly simple, diabolically powerful
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Does PB have Web services power ?

Post by DarkDragon »

I meant a complete framework like with WCF or Apache CXF - there is no such thing for purebasic.
bye,
Daniel
Post Reply