Join James Williamson for an in-depth discussion in this video PHP code hinting, part of Dreamweaver CS5 New Features.
While PHP code hinting was available in CS4, it had several shortcomings that…prevented it from reaching its full potential as a coding tool.…With the release of CS5, Adobe has improved PHP code hinting significantly and…now offers much more robust support for hinting and completion of custom…variables and functions, even those defined within related or included files.…I am going to showcase some of the improvements to PHP code hinting by defining…some custom variables and functions, moving those definitions to related files…and show how Dreamweaver can now discover those values and make them part of…the hinting process.…
So, here I have the index.php file open from the 01_08 folder, and what I am…going to do is the title of the page in the main headline is the same, and it's…very similar throughout the site.…So, I'd really like to create those through the use of PHP, maybe pulling…them from a database, or even making them related to some type of a session…variable so that depending upon who is visiting my site, maybe they see…
- Comparing Dreamweaver CS4 and CS5
- Setting up a new web site using the enhanced Site Setup dialog
- Browser Lab integration
- Working with CMS frameworks
- Using the Adobe Widget Browser
- PHP and site-specific code hinting
- Navigating in Live View
Skill Level Intermediate
Q: Does Dreamweaver CS5 allow users to choose HTML5 for the doctype?
If a user currently creates pages in Dreamweaver CS4 or earlier, but plans on upgrading to Dreamweaver CS5 and working in HTML5, what should the doctype be in the meantime?
A: Dreamweaver CS5 does allow users to choose HTML5 as the doctype. However, this can also be done quite easily in Dreamweaver CS3. HTML5 does not require a doctype. So the HTML5 "doctype" if used at all, is very simple:
That can be saved as a snippet and put it in whatever document the user wishes.