Saturday, January 26, 2013

1. Basic with Dreamweaver.


Dreamweaver MX Basics:

Dreamweaver MX, by Macromedia, is a professional Web site development program for creating static pages and dynamic Web applications. Among its many distinctions, Dreamweaver was the first Web authoring tool capable of addressing multiple server models, making it equally easy for developers of ASP, ColdFusion, or JavaServer Pages to use. In its latest incarnation, Dreamweaver MX has re-invented itself with a new user interface and a broader focus; in addition to creating straight HTML pages, Dreamweaver is also suitable for coding a wide range of Web formats including JavaScript, XML, and ActionScript to name a few. Dreamweaver is truly a tool designed by Web developers for Web developers. Designed from the ground up to work the way professional Web designers do, Dreamweaver speeds site construction and streamlines site maintenance. This chapter describes the philosophical underpinnings of the program and provides a sense of how Dreamweaver blends traditional HTML and other Web languages with cutting-edge server-side techniques. You also learn some of the advanced features that Dreamweaver offers to help you manage a Web site.

The Dynamic World of Dreamweaver:


Dreamweaver is a program very much rooted in the real world. Web
applications are developed for a variety of different server models, and
Dreamweaver writes code for the most pervasive ones. The real world
is also a changing world, and Dreamweaver’s extensible architecture
opens the door for custom or third-party server models as well.
Moreover, Dreamweaver recognizes the real-world problem of incompatible
browser commands and addresses the problem by producing
code that is compatible across browsers. Dreamweaver includes
browser-specific HTML validation so you can see how your existing
or new code works in a particular browser.
Dreamweaver MX extends the real-world concept to the workplace.
Features such as the Assets panel streamline the production and
maintenance process on large Web sites. The advanced Design view
makes it possible to quickly structure whole pages during the production
stage, while maintaining backward compatibility with

Connecting to the world’s data:


Connectivity is more than a buzzword in Dreamweaver; it’s an underlying concept. Dreamweaver
makes it possible to connect to any data source supported by the most widely used application
servers: ASP, ASP.NET, ColdFusion, PHP, and JSP. Moreover, the actual connection type is quite
flexible; developers may opt for a connection that is easier to implement but less robust or one
that requires slightly more server-side savvy and offers greater scalability. Dreamweaver even
offers a choice of languages for a number of applications servers, as shown in Figure 1-1.
Figure 1-1: Get a jump start on building your Web pages by choosing a page—and the
corresponding tags—from Dreamweaver’s extensive collection.

Dreamweaver accesses standard recordsets—a subset of a database—as well as more
sophisticated data sources, such as session or application variables and stored procedures.
Through their implementation of cookies and server-side code, Web applications designed in
Dreamweaver may track visitors or deny them entrance.
You’ll also find support in Dreamweaver for high-end technologies such as Web services,
JavaBeans, and ColdFusion components. Dreamweaver allows you to introspect elements of
all technologies, enabling coders to quick grasp the syntax, methods, and functions required.


Choice of environments:

For the first time, Dreamweaver MX offers developers a choice of design environments. The
classic floating panel interface is available for both Windows and Macintosh users, and
Windows users have the option of selecting an integrated workspace.
The new integrated workspace, available for Windows users, utilizes a Multiple Document
Interface (MDI) that keeps all the open documents and panels together in one application
window. There are two flavors of the MDI workspace: the default with panels grouped on the
right and HomeSite style, with panels on the left. As shown in Figure 1-5, you switch from
one workspace to another in Preferences.



Easy text entry
Although much of the World Wide Web’s glitz comes from multimedia elements such as
images and sound, Web pages are primarily a text-based medium. Dreamweaver recognizes
this and makes the text cursor the default tool. To add text, just click in Dreamweaver’s main
workspace—the Document window—and start typing. As shown in Figure 1-6, the Text
Property inspector even enables you to change characteristics of the text, such as the size,
font, position, or color by assigning a Cascading Style Sheet (CSS) style; you can also use
regular HTML tags if you prefer.

Drag-and-drop data fields
It’s one thing to make a connection to a data source; it’s quite another to actually insert the
dynamic data in the proper place on the Web page. Dreamweaver makes drag-and-drop easy
with the Bindings panel. All the available data sources for a page are displayed in an expandable
tree outline in the Bindings panel, as shown in Figure 1-7. An instance of any dynamic
field displayed in the panel may be inserted on the page by either dropping it into place or by
using the Insert button.





No comments:

Post a Comment