Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
Web Pascal without JavaScript = Pascal + HTMX
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Very simple Style Manager...
by
sgj
[
Today
at 09:29:05 am]
Cross Compile for Dos on ...
by
Thaddy
[
Today
at 09:19:24 am]
IStringList...
by
Thaddy
[
Today
at 08:17:55 am]
What's wrong with my appl...
by
cdbc
[
Today
at 06:41:03 am]
AdvancedHTTPServer: A Go-...
by
egsuh
[
Today
at 06:25:59 am]
Unit decfloat
by
srvaldez
[
Today
at 12:14:43 am]
Access violation during d...
by
Martin_fr
[January 19, 2026, 08:02:11 pm]
Adjacent rectangles not a...
by
jamie
[January 19, 2026, 06:21:09 pm]
Developing FreePascal on ...
by
HKPhysicist
[January 19, 2026, 03:53:13 pm]
Assigning firebird file n...
by
egsuh
[January 19, 2026, 10:18:22 am]
Strings in Free Pascal: I...
by
Thaddy
[January 19, 2026, 07:43:13 am]
Postgres, ZEOS and Visual...
by
Thaddy
[January 19, 2026, 07:00:03 am]
Feature announcement: Fun...
by
Thaddy
[January 19, 2026, 06:55:15 am]
[SOLVED] Strange behavior...
by
jamie
[January 19, 2026, 12:08:12 am]
ThemeServices.OnThemeChan...
by
sgj
[January 18, 2026, 10:37:32 pm]
AVRPascal – free code edi...
by
ackarwow
[January 18, 2026, 10:18:12 pm]
help implementing frexp
by
srvaldez
[January 18, 2026, 09:25:07 pm]
my implementation of frex...
by
srvaldez
[January 18, 2026, 06:27:39 pm]
Rolling releases Lazarus[...
by
Martin_fr
[January 18, 2026, 04:37:42 pm]
Question about optimizer ...
by
PascalDragon
[January 18, 2026, 04:01:54 pm]
How to set the Excel cell...
by
dodgex
[January 18, 2026, 02:06:25 pm]
PeaZip project turns 20 t...
by
JanRoza
[January 18, 2026, 01:57:46 pm]
How to implement multiple...
by
bills
[January 18, 2026, 01:26:29 pm]
RPNCalc in Lazarus
by
jwdietrich
[January 18, 2026, 12:13:43 pm]
Is this Pascal Compiler t...
by
HKPhysicist
[January 18, 2026, 11:11:59 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Web Pascal without JavaScript = Pascal + HTMX (Read 5610 times)
zendrael
New Member
Posts: 16
Web Pascal without JavaScript = Pascal + HTMX
«
on:
October 13, 2023, 07:12:24 pm »
Hello!
Started a project with Pascal (CGI) and HTM
X
lib, which enables you to create SPA (Single Page Applications)
without using JavaScript
.
https://github.com/zendrael/create_htmx_pascal_app
I hope it turns out to be interesting to some people and serve as a starting point.
[edit] changed repo address
«
Last Edit: January 13, 2025, 05:18:50 pm by zendrael
»
Logged
PierceNg
Sr. Member
Posts: 415
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #1 on:
October 14, 2023, 02:57:17 am »
Nice. I use HTMX in my projects, including in my blog which is 99% static content. Good stuff.
How about adding another demo using fphttpapp, to do away with using Python entirely.
Logged
Pascal blog posts, open source:
-
https://samadhiweb.com/tags/Pascal.html
-
https://github.com/PierceNg/fpwebview
-
https://github.com/PierceNg/wasm-demo
zendrael
New Member
Posts: 16
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #2 on:
October 14, 2023, 09:25:22 pm »
Great idea Pierce, thanks for sharing it!
I'll also probably make a Pas2JS node module one, too!
Logged
nummer8
Full Member
Posts: 124
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #3 on:
October 14, 2023, 10:31:00 pm »
Hi zendrael,
Thanks for the short CGI demo.
I used it to make a small fphttpapp demo.
The code is in the attachment.
HTMX is something to explore for sure!
Have fun!
Logged
zendrael
New Member
Posts: 16
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #4 on:
October 15, 2023, 02:19:17 pm »
Hi nummer8!
Thanks a lot for sharing the code!
Can I modify it a little and add to the repo structure?
Logged
nummer8
Full Member
Posts: 124
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #5 on:
October 15, 2023, 02:28:42 pm »
Sure!
No problem
You can use the code as you wish!
Logged
TheEditor
New Member
Posts: 22
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #6 on:
October 20, 2023, 06:59:13 am »
I'm unable to get nummer8's demo to work. "localhost" just downloads the index.html rather than render it. Mime types issue perhaps?
Logged
zendrael
New Member
Posts: 16
Re: Web Pascal without JavaScript = Pascal + HTMX
«
Reply #7 on:
January 13, 2025, 05:19:57 pm »
Which are the steps you are using to compile and run it?
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
Web Pascal without JavaScript = Pascal + HTMX
TinyPortal
© 2005-2018