Nice: in Symfony 4.1 we will finally be able to specify that an imported route shouldn’t have a trailing slash.Continue reading post "#1902"
Symfony router: check for match on different host
I found myself wanting to check if a given URL path exists on another host of a multi-host Symfony application from within a controller action. The router service, which is the instance of Symfony’s routing component used to route requests to actions, has a
match() method, but it only accepts the path part of the URL. It also has a
matchRequest() method, but that seems to ignore the
SERVER_NAME of the passed
At work I did my first fully ajax loaded, from scratch site, Block Bros. I used jQuery with my own library of “wrapper” classes for loading the ajax and animations between “pages”. I had to write a lot of new stuff though and modify some of my library classes to get everything working smoothly.