Hey people!
I decided to start a blog (yep. In 2025.)
So I wrote a back-end using PB for the server side and SB for the administration.
I know there already are hundreds of those available; but reinventing the wheel is fun and I learned a lot along the way.
There is the code, if you ever want to do something using CGI, there isn't that many examples available in PureBasic: https://git.lastlife.net/LastLife/SelfHost/
Happy new year, everybody!
My blog backend is written in Pure and Spiderbasic
Re: My blog backend is written in Pure and Spiderbasic
Always good to see native solutions, thanks for sharing.
- OldSkoolGamer
- Enthusiast

- Posts: 151
- Joined: Mon Dec 15, 2008 11:15 pm
- Location: Nashville, TN
- Contact:
Re: My blog backend is written in Pure and Spiderbasic
WOW!! Like Idle already said, always nice to see native. Thanks so much!!!
Re: My blog backend is written in Pure and Spiderbasic
Maybe I'm blind, but I didn't found an example how to create secrets.pbi.1. Create Server/includes/secrets.pbi based on the example and fill in your settings
- Kwai chang caine
- Always Here

- Posts: 5609
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: My blog backend is written in Pure and Spiderbasic
A real good idea to demonstrate the powerfull association of the two brothers
I don't think anyone had thought to do that before, or at least shared it.
Thanks for that very nice idea and present
I don't think anyone had thought to do that before, or at least shared it.
Thanks for that very nice idea and present
Re: My blog backend is written in Pure and Spiderbasic
Any context? Not production ready? Security holes? Battle tested?Reality check
No. Don't even. Use a real blog backend, there are so many of them!
Where is your blog located? Anyway, good job!
Re: My blog backend is written in Pure and Spiderbasic
Yep, you must be blind. I would NEVER have forgotten to include the example file...infratec wrote: Fri Jan 02, 2026 1:28 pmMaybe I'm blind, but I didn't found an example how to create secrets.pbi.1. Create Server/includes/secrets.pbi based on the example and fill in your settings
Ahem.
So, anyway, it's there now, sorry
The three main reasons are the terrible UX of the admin panel, it's a solo project, and it's very early and untested: I just wrote a second article on my blog and discovered a minor bug.Rinzwind wrote: Sat Jan 03, 2026 5:03 am Any context? Not production ready? Security holes? Battle tested?
Thanks! You made me realise I should add it to my signature on the forum.
Re: My blog backend is written in Pure and Spiderbasic
Look really nice, good job mixing PB + SB. You did frontpage with SB too?
Just for curiosity, can use requests too, like PHP or is just to show static webs/blogs?
Thanks for share!
Just for curiosity, can use requests too, like PHP or is just to show static webs/blogs?
Thanks for share!
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: My blog backend is written in Pure and Spiderbasic
The front page is in good old html, powered by Materialize. SpiderBasic is much more adapted to web app than web page.minimy wrote: Mon Jan 05, 2026 7:48 pm Look really nice, good job mixing PB + SB. You did frontpage with SB too?
Just for curiosity, can use requests too, like PHP or is just to show static webs/blogs?
It can handle request, I have a contact form doing it, but there isn't any helper to do so. There is a solution for a very advanced server with a PHP equivalent entirely written in PB : https://atomicwebserver.com/. It's super impressive and much more powerful.
Re: My blog backend is written in Pure and Spiderbasic
Thanks for answer and share, nice code for blogs.
I know atomic server is great! like other codes from idle. Great programmer.
I know atomic server is great! like other codes from idle. Great programmer.
If translation=Error: reply="Sorry, Im Spanish": Endif


