New in Symfony 2.3: DomCrawler enhancements
Warning: This post is about an unsupported Symfony version. Some of this information may be out of date. Read the most recent Symfony Docs.
Today, I'm really happy to resume my Living on the edge series of articles about new features in Symfony. For the first post about Symfony 2.3, I like to start with some interesting features added to the DomCrawler component.
In our quest to implement HTTP/Web standards, the Routing component introduced support for new URL generation options in 2.2 with schema-relative and path-relative URLs.
As of Symfony 2.3, we now also have support for schema-relative URLs in the DomCrawler component.
Speaking of standards, the DomCrawler component now supports HTML5 forms. As
you might know, there is a new form
attribute in HTML5 used to associate an orphaned input field with a form on
the same page via the form
id attribute. They are now supported by
DomCrawler natively when submitting a form.
Stay tuned for more Symfony 2.3 new features!
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.