PBSP - PureBasic Server Pages

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
rodego
User
User
Posts: 10
Joined: Thu Nov 08, 2007 7:39 pm

PBSP - PureBasic Server Pages

Post 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)
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: PBSP - PureBasic Server Pages

Post 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.
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: PBSP - PureBasic Server Pages

Post 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
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: PBSP - PureBasic Server Pages

Post by Kukulkan »

Post Reply