Home / Articles / Adobe Dreamweaver / Time to Learn PHP? Dreamweaver CS5 Is Here to Help You

Time to Learn PHP? Dreamweaver CS5 Is Here to Help You

Article Description

David Powers, author of Adobe Dreamweaver CS5 with PHP: Training from the Source, discusses the dramatic improvements to PHP support in Dreamweaver CS5 that should appeal to designers and serious coders alike.
Autocompletion and Syntax Checking

Autocompletion and Syntax Checking

Another helpful feature is the autocompletion of variables. As soon as you type a dollar sign ($), a list of all variables in your current script pops up. Just select the one you want, and press Enter/Return. No more worrying about getting the spelling or capitalization correct. Variables from related files are also listed, eliminating the danger of reusing the same variable for a different purpose. Dreamweaver CS5 even recognizes when a variable represents an object, and displays all its public methods and properties as soon as you type the -> operator.

Perhaps the biggest timesaver of all for beginners and experts alike is the real-time syntax checker. Dreamweaver CS5 constantly monitors your PHP code as you type, flagging syntax errors by displaying a red mark over the line numbers in Code view. It won't tell you what the error is, but indicating which line it's on avoids unnecessary roundtrips to the browser only to see a cryptic error message.

6. Final Thoughts | Next Section Previous Section