Skip to Content
Coding with Coda
book

Coding with Coda

by Eric J Gruber
January 2013
Beginner to intermediate
64 pages
1h 10m
English
O'Reilly Media, Inc.
Content preview from Coding with Coda

Chapter 2. Creating a Site

While you could certainly open any single file and edit it using Coda as an editor, bigger projects require us to be wise and build upon a strong foundation. Coda enforces that premise with Sites.

A Site could have been called practically anything: pocket, container, jar, etc., but since Coda is typically geared toward the web designer and developer, Site seems as good a choice as any.

So what is a Site? It is simply a container for the project you’re working on that has related files and all the pertinent information that goes along to build and deploy it. A typical website will have HTML, CSS, and JavaScript files, as well as directories with things like images and graphic art. A more dynamic website will have files with additional functionality, such as a PHP script or page, and even connectivity to a database like MySQL.

And so, a Site is a placeholder that quickly allows you to access all this information so you can get working on your project from Coda’s launch screen. We’ll set up our first Site now and see how all of that works together.

First Run

Let’s go ahead and start the application by navigating to the Applications folder and double-clicking the Coda 2 icon (Figure 2-1).

Note

I prefer to use Mac OS X’s Spotlight app by typing Command and then the spacebar, then typing Coda 2. Spotlight will bring up the application, and then by pressing the Enter key, it will launch it. You should find what works best for your workflow, but since I love keyboard ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learn JavaScript with p5.js: Coding for Visual Learners

Learn JavaScript with p5.js: Coding for Visual Learners

Engin Arslan
Developing Multi-Platform Apps with Visual Studio Code

Developing Multi-Platform Apps with Visual Studio Code

Ovais Mehboob Ahmed Khan, Khusro Habib

Publisher Resources

ISBN: 9781449356088Errata