The idea behind this is to have Svelte handle all front end operations, including routing, and have a API in PHP used for database change requests.