• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 4. Building an UltraDev Site fro... > Using the Site Window to Build Your ...

Using the Site Window to Build Your Site

After you have established a connection to your local hard drive or Web server, you are ready to start building and managing your pages. As with other WYSIWYG editors, you could start by creating a new page, adding links to other pages, and then save it using the appropriate file name.

On the other hand, you could simplify the process by using UltraDev’s Site window and build the page, links, and all, in a matter of seconds. In addition, using the Site window you can update existing pages and even synchronize your files to ensure that the files stored on your server are current.

Creating a New Page Using the Site Window

If you are building your site from scratch, you can use UltraDev’s Site window to configure your site for dynamic pages and to specify your site’s home page.

Exercise 4.6 Specifying a Home Page and Configuring Your Site to Build Dynamic Pages

In UltraDev’s Site window, click Site/Define Sites.

The InsideUD4 you created earlier should still be highlighted. Click Edit.

With Remote Info selected in the Category list, select Local/Network in the Access field.

In the Remote Folder field, browse to the InsideUD4 folder you created earlier.

In the Check Out Name field, type your name.

As shown in Figure 4.13, select Site Map Layout from the Category list and type default.asp in the Home Page dialog box. Do not click OK.

Figure 4.13. You can create your home page using the Site window.

Select Application Server from the Category listing. Respond OK to the popup that asks whether you want UltraDev 4 to create default.asp.

As shown in Figure 4.14, select ASP 2.0 from the Server Model dropdown and VBScript as the Scripting Language and .asp as the Page Extension. Click OK.

Figure 4.14. Select the dynamic environment you will be developing in.

Click Done from the Define Sites dialog box.

As you can see in Figure 4.15, the Site window has now added default.asp to your site.

Figure 4.15. Your home page has been added to your site.

Creating Automatically Linked Pages

One of the quickest ways to add pages to your site is to let UltraDev add them for you. If you developed your site map and want to build a site based on your design, the easiest way to accomplish that is by using UltraDev’s site map features.

Exercise 4.7 Adding Automatically Linked Pages to Your Site

Open the Site window for the InsideUD4 you created earlier and click the Site Map button, which is located third from the left on the toolbar. Choose Map Only. As shown in Figure 4.16, the Site window displays the default.asp page that you created earlier.

Figure 4.16. The Site Map view shows the default.htm page as the only page in the site.

Right-click on the default.asp page and choose Link to New File.

In the Link to New File box, shown in Figure 4.17, type bargain_bin.asp for the File Name. Type Bargain Bin in the Title box and in the Text of Link box.

Figure 4.17. Enter the File Name, Title, and Text of Link to be included in your page.

Click OK. Figure 4.18 shows the newly created linked file in your site map.

Figure 4.18. A new page has been added to your site map.

Drag and Drop

After you have created your site and established a connection to your Web server through a network connection, FTP, or WebDAV, the easiest way to transfer files from your workstation to your Web server is to drag and drop them in the Site window. The benefit of using the Site window comes from the fact that before transferring the file, it will analyze all the dependent files (such as graphics or other linked files) and then ask if you would like to transfer them as well. This saves you the hassle of having to transfer each file manually as you would have to do with a traditional FTP or network connection.


Dragging Files to the Remote Site To move a file to the root directory, simply drag the file from the Local Host pane to your root folder in the Remote Site pane. If, however, you want the file to be located in a subdirectory, be sure to drop that file directly onto the name of that folder.

Synchronizing Files

After you have developed pages on your workstation and are ready to transfer them to your Web server, you can synchronize both sites to ensure that the Web server accurately reflects the changes you have made to the site. Synchronizing your files has the added benefit of allowing you to roll back your workstation to reflect the files on the Web server if something goes wrong while you are building or updating your pages.


Use Caution When Synchronizing Be very careful when using the synchronize feature. If the files stored on your workstation are not functioning correctly and you tell UltraDev to put the newer files on the remote, you will overwrite your functional pages with the non-functional pages from your workstation.

Remember that UltraDev cannot read your mind. It only does what it is told. If you tell it to overwrite the good files with the bad files, it will comply.

Exercise 4.8 Synchronizing Your Site’s Files After you have established a connection to your Web server, you can synchronize your files by following these steps:

Open the Site window for the InsideUD4 you created earlier and click the Site Files button, which is the first from the left on the toolbar.

As shown in Figure 4.19, the Site window displays the files stored on the Remote Site in the left pane and those in the Local Folder in the right.

Figure 4.19. Once a connection is made, you can view the files on both your server and your workstation.

Select Site/Synchronize from the menu bar.

As shown in Figure 4.20, you can select from a variety of synchronization options. Choose to synchronize the entire InsideUD4 site and select the Put newer files to remote option. Click the Preview button. Because your local and remote folders are the same, UltraDev indicates that no synchronization is necessary.

Figure 4.20. Choose from a variety of synchronization options.

Choose from the variety of synchronization options. If, however, your remote folder were located on another machine, Figure 4.21 shows the dialog box that indicates the files that would be scheduled to be synchronized.

Figure 4.21. The synchronization preview displays the tasks scheduled for completion.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint