用户登录  |  用户注册
首 页商业源码原创产品编程论坛
当前位置:PB创新网文章中心编程技巧Delphi

Visual InterDev 6.0 versus FrontPage 2000: Your Choice [2]

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2009-03-16 20:16:06
      Figure 6: The Project Deployment Explorer  


      Visual InterDev also contains the Document Outline page and the Project Deployment Explorer. You can control a site from this Explorer, and change deployment mode in a click (see Figure 6).

Version Control and Team Work

      Any serious developer (and many not-so-serious ones) knows that you cannot effectively work without version control. Visual InterDev 6.0, like the other tools in Visual Studio, is well-integrated with SourceSafe® and work can be transparently versioned. This makes team programming much, much safer. Unfortunately, FrontPage 2000 does not ship with this important component. At press time, I am unaware of any third-party solution that can easily be connected to a team using FrontPage 2000.


Page Deployment

      You often do not really need to be connected to the Web server while editing pages. It''s enough to work on local copies, modify them, and then deploy them in a batch to the server. Your editor should support optional deployment.
      Visual InterDev offers two editing modes: local and master. While working in local mode you save pages to a local folder, which is automatically created when you add a new project (like Visual C++ does when you start a new project). You don''t need to have continuous access to a Web server. You can connect to the Web server once, load copies of all the necessary files, and disconnect. You can even cancel changes made to pages using the Discard Changes command (see Figure 7). Now you''re ready to work with local copies. Once you''ve updated the site, you can use the Deployment Explorer to select the server''s location and deploy the changed files.



      Figure 7: Discarding Changes in Visual InterDev 6.0  


      In master mode, you save files directly to the server. This can be useful and save overhead if you have small changes to make to one or two files. You can also work in offline mode. This works just like local mode, except that your project tree is automatically updated when you go to master mode.


      Figure 8: Publishing a Web Site in FrontPage 2000  


      FrontPage 2000 lets you publish a Web site similarly to Visual InterDev, but it doesn''t offer the same concept of local/master mode (see Figure 8).

Importing External Sites

      FrontPage 2000 can import external sites using its Import Web Wizard. If you have an old site or a site that was created without Microsoft tools (and FrontPage extensions), you can import it into FrontPage and save it as a native project. You can choose to import only text pages and images or all files (see Figure 9).



      Figure 9: Import Web Wizard in FrontPage 2000  


      Visual InterDev can import sites too, but they must be created using FrontPage extensions. With FrontPage extensions, some utility files with descriptions of the site structure are available in a site subdirectory; the Import Wizard reads the site structure and imports all the files that are mentioned.

Integrated Debugging

      As a longtime developer, I love advanced debuggers. I grew up using CodeView® and integrated debuggers in Visual C++. Visual InterDev is enjoyable to use because its debugger is similar to the one in Visual C++, with standard features like breakpoints, locals view, stack view, and so on. You can even perform debugging of server-side pages if you''re sitting at the server computer. Visual InterDev can handle JScript and VBScript code and can be launched on a just-in-time basis when errors occur in pages loaded into Microsoft Internet Explorer (see Figure 10).



      Figure 10: The Debugger in Visual InterDev 6.0  


      FrontPage 2000 has no integrated debugger. While you may use the Internet Explorer Script Debugger (which is included on the FrontPage 2000 CD), its functionality is limited in comparison to what you get with Visual InterDev.

Standard Pages

      With FrontPage 2000, it''s easy to add standard pages, such as a search page, table of contents, or a navigation bar. The functionality works a lot like themes, but it helps you expand your site when necessary.
      Visual InterDev does not give you the same sets of standard pages (except plain ASP/HTML placeholders and diagrams). You can, however, choose from its basic themes during project creation, and apply theme or layout elements to an existing project.


Project Statistics

      FrontPage 2000 provides detailed statistics on your project, including the number of pages and images, the size of all files, the number of tasks, hyperlinks, broken links, and the number of modified and nonmodified pages during a specific period (see Figure 11).



      Figure 11: Project Statistics in FrontPage 2000  


      Visual InterDev 6.0 can check the pages in your project and calculate the number of broken links they contain. But this feature is meager compared to what you can find out with FrontPage 2000.

Security and Permissions

      To ensure no one can modify your pages, sites often use passwording or the Windows NT® security model to deny access to unauthorized persons. Visual InterDev bases its security on this model, meaning you can make use of domain security. This allows you to apply systemwide restrictions to your sites (see Figure 12).



      Figure 12: Security in Visual InterDev 6.0  


      FrontPage 2000 assumes you can protect your site with a password. While this should be enough for most administrators, if your site needs a stronger security scheme, you might want to look at Visual InterDev.

Office-level Functions

      One of the standard functions present in any decent desktop productivity application is spell checking. Today, as more and more content goes to the Web, it''s very important to ensure your text is well-written. Microsoft has long provided spell checkers in any relevant product—even Outlook® Express—so it''s reasonable to expect one in your Web development tool. And unsurprisingly, FrontPage 2000 has built-in spell-checking capabilities. Even better, you can enable multilanguage spelling support, as well as a thesaurus.
      Unfortunately, Visual InterDev (as with all other Visual Studio members) does not provide these functions. Part of the reason is the nature of code—variable names don''t need to be real words, so spell checking can be pointless.



      Figure 13: Insert Options  


      FrontPage 2000 also gains from its association with Microsoft Office in a few other areas. For instance, when you''re working on a page in FrontPage, you can insert spreadsheets, charts, Pivot Table® dynamic views, and other types of Office objects (see Figure 13). Another standard feature of Microsoft Office applications is the Visual Basic for Applications editor. With its inclusion in FrontPage 2000, you can automate some common tasks and add functionality to the product.

Common Technologies

      Both FrontPage 2000 and Visual InterDev 6.0 can be programmatically extended by third-party developers. Although both provide a well-documented, COM-based API for extensions, the two APIs are not mutually compatible.
      Most commercial sites now store information in databases, and both Visual InterDev 6.0 and FrontPage 2000 provide some level of database support. Both products also provide a way to visually edit stylesheets, although the editing windows aren''t identical. Finally, both products support design-time controls.


Conclusion

      In my opinion, professional designers should pick Visual InterDev 6.0 as their Web design tool of choice. When coupled with other members of the Visual Studio family, you can design pretty much any program you want. FrontPage 2000 is an invaluable solution for newer users, pure designers, or people who aren''t going to be adding much scripting code to their Web sites. Of course, I come from a development background, so I''m biased.
      If all you need to do is convert some documents or spreadsheets to HTML format, I suggest that you just make use of the Save as HTML capabilities of Microsoft Excel or Word. If you want to develop modern Web pages without getting deep inside the technology, FrontPage 2000 is an excellent choice. It offers a comprehensive and cool set of controls.
      Of course, if I got to make the decisions, I''d integrate the two products. What could be better than a great visual editor combined with a great developer''s environment and powerful debugging module? In the meantime, you can make the third choice: use both of these great products and maximize the possibilities of your site.

Tags:

作者:佚名

文章评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
PB创新网ourmis.com】Copyright © 2000-2009 . All Rights Reserved .
页面执行时间:17,078.13000 毫秒
Email:ourmis@126.com QQ:2322888 蜀ICP备05006790号