RSS
 

Posts Tagged ‘Dreamweaver’

Dreamweaver CS6 Create your first website

19 Jan

This tutorial introduces you to the concept of an Adobe Dreamweaver CS6 site and shows you how to set up the project files for the Check Magazine sample website. In Dreamweaver, a site generally consists of two parts: a collection of files on a local computer (the local site) and a location on a remote web server to which you upload files when you’re ready to make them publicly available (the remote site). You use the Dreamweaver Files panel to manage the files for your site.

The most common approach to creating a website with Dreamweaver is to create and edit pages on your local drive, and then upload copies of those pages to a remote web server for viewing on the web. In this tutorial, you’ll learn how to set up only the local site so you can begin building web pages right away. Later, after you’ve completed the website, you’ll learn how to create a remote site so that you can upload your files to a web server.

In this first part of the series, after a brief introduction to Dreamweaver sites you will complete the following tasks:

  • Set up your project files
  • Define a local folder

Note: The screen shots for this tutorial series are from the Dreamweaver Creative Cloud 12.1 update. However, the instructions apply equally to the original version of Dreamweaver CS6. You should also be able to follow the instructions on Dreamweaver CS5 or CS5.5.

Understanding Dreamweaver sites

In Dreamweaver, a site organizes on your local computer all the documents associated with your website and lets you track and maintain links, manage files, share files, and transfer your site files to a web server. Think of your Dreamweaver site as the “bucket” that contains all of the files and assets for your website.

A typical Dreamweaver site has at least two parts:

  • Local Folder: This is your working directory. Dreamweaver refers to this folder as your local site. The local folder is usually a folder on your hard drive.
  • Remote Folder: This is where you store your files on the computer that is running your web server. The computer running the web server is often (but not always) the computer that makes your site publicly available on the web.

In some circumstances, you might have more than one remote folder. For example, if you work in a team environment, all members of the team might upload their files to a common testing server before they are deployed on the live website. Also, it’s normal to set up a testing server when developing websites that use a server-side technology, such as Adobe ColdFusion or PHP. Since Dreamweaver CS5, you can define multiple remote and testing servers for each site. However, only one of each can be active at any given time.

To get started you simply need to give your site a name, and tell Dreamweaver where you want to store the files on your local computer. Dreamweaver CS6 automatically prompts you for further information about the site setup only when it’s needed.

For more information about Dreamweaver sites in general, see Site management in Dreamweaver Help.

Set up your project files

When you create a local site, you can place any existing assets (images or other pieces of content) in the local site’s root folder (the main folder for the site). That way when you add content to your pages, the assets are there and ready for you to use.
The sample files for this article contain assets for the sample website you’ll build in this tutorial series. The first step is to copy these assets to an appropriate folder on your hard drive:

  1. Decide where you want to store your website files on your hard drive. The folder can be anywhere on your computer, but the less buried it is the easier it is to find later. For example:
    • On Windows, you can use C:\Sites
    • On Mac OS X your home folder already includes a folder named Sites.
  2. Download and unzip the first_website_pt1.zip sample files from the link at the top of this page if you haven’t done so already. Copy the check_cs6 folder into the Sites folder.
  3. You will use the check_cs6 folder as the root folder (main folder) for your Dreamweaver site.

Note: The local root folder of your Dreamweaver site is normally the main or top-level folder for your website. It usually corresponds to a folder named public_html, www, or wwwroot on your remote server. For example, if you have a website at www.example.com, and have a file named news.html in the root folder, its URL is http://www.example.com/news.html. The normal practice is to give your local root folder the same name as the website without the top-level domain (such as .com or .org). For example, I store the files for my website at http://foundationphp.com in a folder named foundationphp on my local hard drive.

Define the local site folder for the Check Magazine site

You must define a Dreamweaver local site folder for each new website you create. Dreamweaver needs to know where your site files are to create all the internal links correctly, and to update them when you move files to a different location within your site.
Next, set up the site for this tutorial series, and define as your local site folder the check_cs6 folder you copied into your Sites folder:

  1. Start Dreamweaver and choose Site > New Site. The Site Setup dialog box appears.
  2. For the Site Name, type Check Magazine as the name of the site. The name is used internally by Dreamweaver to identify the site. It doesn’t matter if it contains spaces.
  3. Click the folder icon next to Local Site Folder to browse to and select the check_cs6 folder (see Figure 1).
  4. site

    Figure 1. Defining the local site folder for the Check Magazine site.

    Note: The file paths might differ, depending on where you created the Sites folder on your hard drive.

    Click Save. That’s it!

    The Files panel in Dreamweaver now shows the new local root folder for your current site (see Figure 2). The file list in the Files panel acts as a file manager, enabling you to copy, paste, delete, move, and open files just as you would on a desktop.

    assetts

    Figure 2. List of files in the Files panel

For more information about how the Files panel works, see Managing files and folders in Dreamweaver Help.

Best practices for naming files and folders in a website

A typical website contains a large number of files and folders. For ease of maintenance, it’s important to organize them logically. Create separate, appropriately named folders for images, videos, style sheets, and external JavaScript files. Also keep the following points in mind:

  • File and folder names in websites should never contain spaces or any of the following characters: /\?%*:|”<>.
  • Although other special characters are permitted, it’s generally a good idea to use only alphanumeric characters, hyphens, and underscores.
  • Most file and folder names end up as part of a web page’s URL, so keep them short, but meaningful. Long URLs are difficult for users to remember and type into browsers on a mobile device.

The vast majority of websites are hosted on Linux servers, which are case-sensitive. Using all lowercase letters for file and folder names avoids problems with files not being found.

Where to go from here

Now that you have finished defining your site, you can begin building your web pages by following the steps in the next tutorial in this series, Part 2: Creating the page structure.

Any suggestions, ideas? Feel free to comment on this article!

Back to Top

BlogPhoto

 
Comments Off on Dreamweaver CS6 Create your first website

Posted in Equipment

 

Adobe Dreamweaver CS4

18 Apr
Dreamweaver remains the best Web editing solution for designers and developers, both self-employed freelancers and members of large production teams. The improved CSS support is a welcome improvement for complex designs and the Photoshop smart objects makes it easier than ever to keep your images looking sharp. This latest version of Dreamweaver adds a lot of value and is a must-have for designers building complicated, cutting-edge Web sites.
Pros
  • Built-in HTML and CSS editors and validators as well as WYSIWYG
  • In context CSS editing lets you see all the CSS styles that affect any area of a page
  • Modify the display to fit your working style, with just the elements you need showing
  • Includes Spry framework, Subversion integration, and even support to build Adobe AIR files
  • Live view lets you check your dynamic and data driven elements right inside Dreamweaver
Cons
  • Still only checks links on the same site – doesn’t validate external links
  • Very complicated, can be intimidating to novices
Description
  • HTML and CSS editors work in the background to create designs in WYSIWYG mode, or directly in code view; all with valid code.
  • Text editor with color coding for HTML, PHP, ASP and many other languages, plus tag completion.
  • The site manager includes global search and replace across all site files as well as file transfer by many methods.
  • Direct connections to Photoshop and Fireworks and the ability to do basic graphic edits right inside Dreamweaver.
  • Wizards for many of the more complex actions including CSS, forms, frames, and tables.
  • Lots of pre-built templates and snippets of code for use. Plus the CSS templates are really well done.
  • Dreamweaver CS4 includes the ability to use HTML as a data source for Spry frameworks.
  • Support for special characters and UTF-8 character sets to write effective non-English Web pages.
  • Huge library of customizations available on the Exchange.
  • There’s even a photo gallery maker.
Guide Review – Adobe Dreamweaver CS4

Dreamweaver CS4 is still the editor of choice for freelancers and corporate Web designers alike, and this release just makes it more useful. As with CS3, Dreamweaver CS4 has strong integration with Flash, Photoshop, and Fireworks. But now there are some new elements as well:

  • Photoshop smart objects
    These act just like images inside of Dreamweaver, but they are generated from the Photoshop original PSD. So any time you edit it in Photoshop, you can get it updated in Dreamweaver. And if you resize the image in Dreamweaver, you can get an optimized version for that size from the original.
  • Subversion integration
    If you work on a team, you will want the ability to check-in and check-out files and have the strong version control that Subversion offers. And Dreamweaver CS4 integrates directly with Subversion.
  • Extended Spry framework support
    If you weren’t sure how to use the Spry framework in CS3, now you’ll really like it in CS4. Now you can use existing HTML pages as your data sets and the framework even comes with some of the more popular uses pre-built for you.
  • Author Adobe AIR applications
    Dreamweaver CS4 now supports writing Adobe AIR stand-alone applications that run on the desktop.

Any suggestions, ideas? Feel free to comment on this article!

Back to Top

BlogPhoto

 
Comments Off on Adobe Dreamweaver CS4

Posted in Equipment