New in Symfony 2.3: DomCrawler enhancements
April 8, 2013
•
Published by
Fabien Potencier
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.
Schema-relative URLs
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.
HTML5 forms
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!
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.