For Dummies 978-0-470-41799-7 Scheda Tecnica

Navigare online o scaricare Scheda Tecnica per Manuali per software For Dummies 978-0-470-41799-7. For Dummies JavaScript and AJAX Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 22
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
Chapter 1
Taking the Web to the Next Level
In This Chapter
Reviewing HTML, XHTML, and CSS
Examining the role of JavaScript and AJAX
Exploring what JavaScript and AJAX can add to Web pages
Choosing an editor
Building your browser toolkit
T
he Web is a pretty big deal. It’s a lot of fun to build Web pages, and just
about every business needs them. As the Web has grown and changed,
the expectations of what a Web page is and does have also changed. If you
already know HTML or XHTML, you know how to create Web documents — if
you need a refresher, check out Bonus Chapter 1 on either the companion
Web site at www.dummies.com/go/javascriptandajaxfd or my own site
at www.aharrisbooks.net/jad.
As the Web has evolved so have the tools that are used to create Web pages
and documents. JavaScript and AJAX are two powerful tools for creating
dynamic Web documents. This chapter gets you started with a look at some
of the primary technologies out there for building Web pages.
Building Something Cool
This book is about adding features to Web pages that you cannot do with
simple HTML and CSS.
Make no mistake; we’re talking about programming here — and programming
is a little bit harder than plain old Web development. However, it’s really
worth it, as the example page in Figure 1-1 illustrates.
To keep this example simple, I’m using some external libraries. They are
explained in Part IV of this book, but for now just appreciate that something
exciting is happening here.
05_417997-ch01.indd 905_417997-ch01.indd 9 10/26/09 9:55 PM10/26/09 9:55 PM
COPYRIGHTED MATERIAL
Vedere la pagina 0
1 2 3 4 5 6 ... 21 22

Sommario

Pagina 1 - COPYRIGHTED MATERIAL

Chapter 1 Taking the Web to the Next LevelIn This Chapter▶ Reviewing HTML, XHTML, and CSS▶ Examining the role of JavaScript and AJAX▶ Exploring what J

Pagina 2

18Part I: Programming with JavaScript Introducing programmer’s editorsA number of specialty editors have propped up which seek to fill the gap between

Pagina 3

19 Chapter 1: Taking the Web to the Next LevelGetting familiar with some important editorsA couple of multi-purpose programmer’s editors immediately c

Pagina 4

20Part I: Programming with JavaScript ✓ notepad++: This is what Notepad for Windows should be. It starts with the speed and simplicity of Windows Not

Pagina 5 - The Toggle Style button

21 Chapter 1: Taking the Web to the Next Level Figure 1-8: Bluefish is a very nice editor for XHTML and JavaScript. ✓ jEdit: This powerful editor is

Pagina 6 - Getting Started

22Part I: Programming with JavaScript Figure 1-9: jEdit is a fast and capable editor writ-ten in Java. Figure 1-10: The codetch plugin for Firefox i

Pagina 7 - Choosing your computer

23 Chapter 1: Taking the Web to the Next LevelIntroducing AptanaOne particular programmer’s editor has really taken over the Web develop-ment world in

Pagina 8 - Picking an Editor

24Part I: Programming with JavaScript Figure 1-11: Aptana might be the best Web editor avail-able at any price. Multiple document supportAutomatic sy

Pagina 9 - Using a WYSIWYG editor

25 Chapter 1: Taking the Web to the Next LevelFortunately, there’s been a big push toward standardization in recent years. The various browser develop

Pagina 10

26Part I: Programming with JavaScript ✓ Microsoft Internet Explorer 7 and 8: IE7 could be considered a tribute to Firefox, as it incorporates many of

Pagina 11 - Getting familiar with some

27 Chapter 1: Taking the Web to the Next Levelto extend. Firefox was designed from the beginning to have its capabilities extended — and a number of v

Pagina 12

10Part I: Programming with JavaScript Figure 1-1: This page has some interesting features that would not be pos-sible in basic HTML. The text in this

Pagina 13

28Part I: Programming with JavaScript Figure 1-12: The HTML Validator extension adds very useful features to the View Source tool. View Source window

Pagina 14

29 Chapter 1: Taking the Web to the Next Levelalso incorporates a very nice debugger that can really help you find your errors as your program runs. ✓

Pagina 15 - Introducing Aptana

30Part I: Programming with JavaScript 05_417997-ch01.indd 3005_417997-ch01.indd 30 10/26/09 9:55 PM10/26/09 9:55 PM

Pagina 16 - Setting the standard

11 Chapter 1: Taking the Web to the Next Levelwork, but the fact that the page is now interactive is a huge change. With JavaScript, you can build app

Pagina 17 - Picking a browser or two

12Part I: Programming with JavaScript Figure 1-3: Click the Toggle Visibility button to make the panel with the output reappear. I clicked the Toggle

Pagina 18

13 Chapter 1: Taking the Web to the Next Level Figure 1-4: You can dynamically change the appearance of any page element. The Toggle Style button ✓ T

Pagina 19 - HTML Validator extension

14Part I: Programming with JavaScript Figure 1-5: The Show Code but-ton pulls code from another file and shows it on-screen. Click to see the code f

Pagina 20

15 Chapter 1: Taking the Web to the Next Level ✓ HTML: HTML (HyperText Markup Language) is the basic markup lan-guage that describes Web pages. It’s a

Pagina 21

16Part I: Programming with JavaScript At some point you’ll want your Web pages to be available on the Internet. Although you can install a server on y

Pagina 22

17 Chapter 1: Taking the Web to the Next Levelbasic features as line numbers — and it can’t handle multiple documents at once. You’ll quickly outgrow

Commenti su questo manuale

Nessun commento