Join James Williamson for an in-depth discussion in this video Site-specific code hinting, part of Dreamweaver CS5 New Features.
Another improvement to Code Hinting within Dreamweaver CS5 is the addition of…Site Specific Code Hinting.…Site Specific Code Hinting is designed to make working within php frameworks easier…and more intuitive.…Currently, Dreamweaver will offer code hinting for any objects, functions and…variables created within your current file, or in any related files.…That's sufficient for most applications, but when you are working with larger…frameworks, like Wordpress, Drupal and Joomla, you need to have access to global…functions and variables that are declared within the framework, regardless of…where they are found.…
This is even more of an issue for integrated frameworks that are outside of…your site's root folder.…Until Site Specific Code Hinting, there has been no way in Dreamweaver to make…those objects for you in code hinting.…So, I am going to demonstrate this using a Wordpress blog, although I want to be…clear that it really does not matter which framework you are using.…It could be Drupal.…It could be Joomla. It could even be a custom framework, like Zen, or something else.…
- 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.