Skip to content

Files

Latest commit

55b81c7 · Jul 17, 2024

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 25, 2023
Jul 17, 2024
Jun 9, 2017
Nov 3, 2017
Sep 19, 2023
Sep 17, 2023

It's are webserver examples, should not be used in production

PJAX example with PHP

After download you can copy files to Apache folder or can use PHP Built server, in terminal navigate to www folder and type this:

php -S 0.0.0.0:9000 SimpleServer.php

After navigate to http://localhost:9000/ in your browser

PJAX example with Python SimpleHTTPServer

In terminal navigate to www folder and type this:

python SimpleServer.py 9000

After navigate to http://localhost:9000/ in your browser

PJAX example with Java

First compile SimpleServer.java in terminal/cmd.exe (this is only necessary once):

javac SimpleServer.java

For execute server type in terminal/cmd:

java SimpleServer 9000

After navigate to http://localhost:9000/ in your browser