PureBasic Server Pages - possible?
Posted: Wed Mar 26, 2014 7:58 pm
I have no idea.
My question is if it is possible to create an object oriented language to be bound into an html code to create server-side scriptcode in PureBasic. This is like ASP or JSP. I would like to have something like that because it really suxx to write code in Java and Visual Basic... imo is not a real Basic.
After all, PureBasic code could easily be wrapped into OOP, for example ...
... could be translated into ...
.
What do you think?
My question is if it is possible to create an object oriented language to be bound into an html code to create server-side scriptcode in PureBasic. This is like ASP or JSP. I would like to have something like that because it really suxx to write code in Java and Visual Basic... imo is not a real Basic.
After all, PureBasic code could easily be wrapped into OOP, for example ...
Code: Select all
Window = OpenWindow(#PB_Any, #PB_Ignore, #PB_Ignore, 640, 480, "MyWindow", #PB_Window_SystemMenu|#PB_Window_Invisible)
HideWindow(Window, #False)
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
Code: Select all
Declare Window_Close()
Window = New PureBasic.Window()
Window.ID = #PB_Any
Window.X = #PB_Ignore
Window.Y = #PB_Ignore
Window.Width = 640
Window.Height = 480
Window.Title$ = "MyWindow"
Window.Flags = #PB_Window_SystemMenu|#PB_Window_Invisible
Window.Create()
Window.Hide(#False)
Window.WindowEvents.CloseWindow = @Window_Close()
Procedure Window_Close()
End
EndProcedure
What do you think?