|
FrontPage Options for Advanced Developers Introduction |
|
Microsoft® FrontPage® web site creation and management tool is well-known as a tool that anyone can use to develop Web pages quickly. And for the very reason that anyone can use it, advanced Web developers often presume that FrontPage has not
been designed with their more sophisticated needs in mind. Yet nothing could be farther from the truth: FrontPage contains a wealth of powerful features that are designed precisely to support the needs of the most sophisticated of Web authors. |
| Microsoft Script Editor |
| The Microsoft Script Editor is both one of the most powerful tools and one of the best-kept secrets of FrontPage. Accessible through the Tools/Macro/ pull down menu (or by pressing Alt+Shift+F11), the Microsoft Script Editor is designed
specifically to support Visual Basic and Javascript authoring. "It's basically Visual InterDev® web development system inside FrontPage," says Ben Canning, a program manager in the Microsoft Office group, "It provides a script developer with many of the features you'd find in Visual InterDev. It provides features such as statement completion and script debugging, and these make it very easy to develop rich scripts quickly and efficiently." "The Microsoft Script Editor is a powerful time-saver," adds Joseph Khalaf, a Microsoft Support Engineer. "It saves a lot of time by cutting back on errors right from the start. If you're typing a script in Notepad and you misspell something-say you type 'document.wite' instead of 'document.write'-the script just won't run. If you've got 1,000 lines of code you might lose 15 or 20 minutes trying to figure out where the problem is. If you're doing this in the Microsoft Script Editor, as soon as you type 'document' followed by the dot, Microsoft IntelliSense® technology kicks in and shows you the list of properties or methods that are available for 'document,' and all you have to do is click the one you want." The Microsoft Script Editor also provides powerful testing and debugging tools, so you can step through your scripts or insert breakpoints in the code to discover just where problems exist. In addition, some developers also want more control of their editing environment, and to have the ability to manipulate the tools palettes and project explorer palette. The new Microsoft Script Editor allows you to hide those palettes if you want to so that you can maximize your screen space. If, however, you want a particular palette always visible, you just click on the tack to lock it in place. A Powerful Fix for Script Junkies |
| HTML View |
| The FrontPage HTML View feature (accessible by clicking the HTML tab at the bottom of the open window in View mode) is another feature of FrontPage that provides a deeper level of control for advanced developers. The HTML View interface goes where no WYSIWYG
interface wants to go-directly into the HTML code that comprises the page. "Advanced users want a much finer level of control over layout," notes Microsoft's Canning, who prior to his position with the Microsoft Office product team was a test manager for Microsoft FrontPage. "Advanced authors want to use divs and spans; they'll care about using a particular table layout. In its WYSIWYG mode, FrontPage hides all that level of detail, and sometimes it's hard to get the level of control you want. With HTML View, you have access to all that detail. You can access a whole range of HTML tags that are purely structural and that really don't have a UI representation." With HTML View, FrontPage offers an editing interface that works just like an HTML-oriented text editor. You can insert HTML directly into the page and manipulate it as much as you desire. You can also set the HTML View preferences in FrontPage to format your HTML code in precisely the manner you prefer, with HTML tags in particular colors, specific indents, and so on. You can even open a page that is formatted just the way you want and have FrontPage copy that formatting style for default use in other HTML Views. HTML View also provides easy access to tag and attribute property sheets and dialog boxes. If you place your insertion point within a tag, you can right click and see the tag's properties in a pop-up dialog box; you can change a property in the dialog box and the change is incorporated right into the HTML code. |
| HTML TOOLS |
|
Microsoft offers a downloadable toolbar that facilitates control of complex pages while working in Normal Page View. Available at: http://office.microsoft.com/downloads/2002/fphtml.aspx,
the HTML Tools toolbar displays the hierarchy of tags surrounding the location on the screen where the insertion point is sitting. |
| GEARED FOR THE ADVANCED USER |
|
If Microsoft FrontPage has a reputation as a tool that can help anyone develop Web pages quickly, its Microsoft Script Editor and HTML View features, along with the HTML Tools menu, make it clear that it is a tool designed for advanced
developers. These are features developed with the most sophisticated users in mind, features designed to provide the utmost control while still providing a development environment that is easy to use. |
|
|
|
©2001 Microsoft Corporation. All rights reserved. Terms of Use |
Microsoft, FrontPage, IntelliSense, Visual Basic, and Visual InterDev are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. |