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)
PBSP - PureBasic Server Pages
-
- Addict
- Posts: 1675
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: PBSP - PureBasic Server Pages
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.
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
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
Additionally, please do a quick search for "FastCGI" on this forum. You may find more threads about this...
Kukulkan
Re: PBSP - PureBasic Server Pages
I found this topic: http://www.purebasic.fr/english/viewtop ... 14&t=37397&