Page 1 of 1

PBSP - PureBasic Server Pages

Posted: Thu Feb 17, 2011 9:07 am
by rodego
JSP and ASP makes Web-programming really easy and fast. I don`t see any problem, to make same technology for PB. Make additional code parser, that make DLL\SO from html page with PBSP code and dynamic load DLL\SO on request.
It will be nice - becouse we don`t need to read html file, it`s already in memory and all server scripts compiled by PB compiler.


P.S. Sorry for my "Google translate"-english)

Re: PBSP - PureBasic Server Pages

Posted: Tue Feb 22, 2011 7:48 pm
by Zach
I don't see how this is possibly going to happen.

JSP and ASP are well established technologies, with a LONG development history.. Involving TEAMS of programmers.

It's not as simple as compiling your program/html/whatever into memory and being done with it. You need some kind of core functionality that can bridge the gap between Internet based devices accessing your PBSL content, and the PBSL content itself. You need a server engine, it's gotta be able to manage resources, handle thousands of potential connections without stalling or crashing, processing thousands of bytes at a speed I can't even comprehend; its gotta be able to talk with HTML, XML, potentially other resources like PHP, ASP/JSP, etc..

That's just off the top of my head.. I'm sure someone could give you a much longer, more technically accurate reason though.

Re: PBSP - PureBasic Server Pages

Posted: Wed Feb 23, 2011 8:04 am
by Kukulkan
http://www.purebasic.fr/german/viewtopi ... 11&t=19860 (german, but this is exactly what you wanted).

Additionally, please do a quick search for "FastCGI" on this forum. You may find more threads about this...

Kukulkan

Re: PBSP - PureBasic Server Pages

Posted: Wed Feb 23, 2011 10:35 am
by Kukulkan