Muutke küpsiste eelistusi

E-raamat: Web Development with the Mac [Wiley Online]

  • Formaat: 544 pages, Illustrations, Contains 1 Digital online
  • Sari: Developer Reference
  • Ilmumisaeg: 26-Mar-2010
  • Kirjastus: John Wiley & Sons Ltd
  • ISBN-10: 1118255755
  • ISBN-13: 9781118255759
  • Wiley Online
  • Hind: 52,85 €*
  • * hind, mis tagab piiramatu üheaegsete kasutajate arvuga ligipääsu piiramatuks ajaks
  • Formaat: 544 pages, Illustrations, Contains 1 Digital online
  • Sari: Developer Reference
  • Ilmumisaeg: 26-Mar-2010
  • Kirjastus: John Wiley & Sons Ltd
  • ISBN-10: 1118255755
  • ISBN-13: 9781118255759
Provides information for Web developers working on a Mac to create effective Web sites.

Everything you need to know to create Web sites using your Mac

Create and deploy striking Web sites and apps on a Mac for your own business or for clients using the essential techniques in this focused guide. While most Web site how-tos are geared toward either designers or programmers, this detailed book covers both aspects, helping you develop the complete skill sets that you'll need professionally. Tap all of the out-of-the-box perks that Apple has to offer for Web development with these techniques and insights from a seasoned Mac Web developer.

  • Takes you through everything that Macs have to offer for Web development, such as a Web server, PHP, and Ruby on Rails; Macs come with these right out of the box, making setting up a Web development environment pushbutton-easy
  • Reveals the science and the artistry behind creating beautiful and intuitive Web pages using Apple technology
  • Covers the technical elements of Web page construction with HTML, CSS, Javascript, PHP, and Rails; then goes beyond to show you how to add creative flair using Photoshop

Turn your design and development skills into marketable assets with this essential guide for Apple users.

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

Acknowledgments xvii
Introduction xix
Part I: Internet Infrastructure 1
Chapter 1: Bringing Your Business Online
3
Domain Name System
3
Registrars
8
Web Hosting
10
Setting Up Your Development Environment
12
Creating Your Own Website
16
Summary
16
Chapter 2: Unix Is the Engine
17
The What and Why of Unix
17
Choosing a Distribution
19
Ubuntu Linux
19
Red Hat Linux
20
SUSE Linex
20
Mac OS X Server
21
Installation and Setup
21
Users, Groups, and Permissions
30
Package Management
38
Apt
39
Yum
43
Summary
45
Chapter 3: Unix Applications
47
Using Secure Shell
47
Working with OpenSSH
49
Using SCP
52
Using the shell
54
The Apache Web Server
62
How Apache works
63
Using Google Apps for Email
67
What Google provide
69
Securing Your System
76
Using iptables firewall
77
Using a port-knocking utility
79
Summary
80
Part II: Client-Side Development 81
Chapter 4: xHTML
83
Markup Languages
83
Modem HTML: xHTML
85
Using Tags
86
Text and images
89
Tables
93
Forms
95
W3C Standards
99
Using Table-Based Layouts
103
The Future of HTML
105
Summary
106
Chapter 5: Cascading Style Sheets
107
Understanding CSS
108
Working with Selectors
109
The box model
116
Formatting tables
119
Styling forms
128
Page Layout with CSS
135
Introducing the div tag
135
Coding a two-column layout
137
Coding a three-column layout
140
Fixed or flexible layout
142
Creating an entire layout
142
Setting up
143
Layout
144
Header and navigation
145
Styling the header
146
Styling the sidebar elements
147
Remaining styles
147
Solving Common Problems
148
Summary
149
Chapter 6: Java Script
151
The Role of Client-Side Scripting
151
JavaScript as a First Programming language
153
Basic JavaScript Syntax
157
Arrays
159
Control structures
159
Creating a sample script
160
The HTML foundation
161
Incorporating arrays
161
Adding to your HTML foundation
162
Adding a function
163
Connecting functions and arrays
163
Working with the Document Object Model
164
The dot-syntax method
165
The tag selection method
166
The ID selection method
166
Common JavaScript Techniques
167
Passing form values to functions with 'this'
167
Validating form data
167
Opening and closing windows
170
Creating image rollovers
171
Changing element styles
172
JavaScript Frameworks
173
Prototype
173
Utility functions
174
Injecting class names
175
Observation
176
Scriptaculous
177
Sliders
178
Animation effects
180
Sortables
182
Summary
183
Part III: Web Design 185
Chapter 7: Design Concepts
187
Design Sense Isn't Innate
188
The Principles of Design
188
Balance
188
Harmony
189
Unity
190
Contrast
191
Repetition
193
Proportion
194
The Elements of Design
195
Line
195
Color
195
Shape
198
Texture
199
Value
200
Type
201
Summary
204
Chapter 8: User Interface Design
205
Scanning and Reading
205
Clear Writing
207
A Visual Hierarchy
210
Make links look like links
213
Separate elements with white space
213
Know the steps to accomplish a task
215
Navigation
217
User Testing
218
Problem spotting
218
Testing methodology
219
Summary
219
Chapter 9: Search Engine Optimization
221
The Dominance of Google
221
PageRank and the Art of Relevance
222
HTML Optimizations
223
Meta tags
224
Page structure
227
Keywords
228
Hyperlinks
230
Google Tools
232
Google Webmaster Tools
232
Google Analytics
235
Summary
239
Chapter 10: Wireframe Basics
241
Wireframe Fidelity
241
Types of Wireframes
243
The sketch
243
The sitemap
244
The page-level prototype
246
The clickable prototype
249
Wireframing Tools
252
OmniGraffle
252
Adobe InDesign
254
Adobe Photoshop
255
Using text editors
256
Summary
257
Chapter 11: The Gold
259
Lay Out the Grid
262
Grid Tools and Techniques
266
960.gs
266
Gridmaker
267
Fluid 960
268
960 Gridder
269
Summary
270
Chapter 12: Photoshop 101
271
Photoshop Basics
272
Creating a document
272
Laying out the grid
275
Creating a logo
279
Creating navigation
281
The broadcast area
286
Main content area
289
Final touches
293
Saving for the Web
294
Summary
299
Part IV: Server Side Development 301
Chapter 13: Principles of Server-Side Development
303
Deconstructing a Web Application
304
The PHP Language
305
Ruby on Rails Arrives
307
Installing the Software
308
Installing PHP
308
Installing MySQL
310
Ruby on Rails installation
313
Summary
315
Chapter 14: MySQL Database Server
317
MySQL Basics
318
Creating a database
318
Setting up users
320
Creating tables
322
Getting Data into and out of Tables
326
Updating and deleting rows
331
Changing tables
332
Getting Relational
334
MySQL Utilities
339
Summary
340
Chapter 15: PHP Introduction
341
Your First PHP Application
341
Basic PHP Syntax
346
Operators
346
Arrays
348
Control structures
349
if...else
349
For and foreach
351
Passing data between pages
352
Writing functions
361
Including code
362
Creating a PHP Application
365
Drafting the Baseball! application
365
Writing the template code
369
Managing games
372
Adding controllers
378
Completing the application's roster
383
Summary
386
Chapter 16: Ruby Introduction
387
Understanding Object-Oriented Code
388
Your First Ruby Application
389
Ruby syntax
390
Variables
391
Operators
391
Container classes
392
Blocks and iterators
394
If and unless
395
The Invoicr Application
396
Ruby objects
398
Connecting objects together
401
Adding features with Ruby gems
404
Printing PDFs
413
Using the Ruby documentation
417
Summary
420
Chapter 17: Ruby on Rails
421
What Is Rails?
421
Your First Rails Application
423
Rails models and migrations
425
Defining relationships
431
Writing the views and controllers
433
Adding the remaining features
442
Digging Deeper: Introducing the Pipeline Application
447
Building the model objects
449
Testing your work
455
Setting up the views and controllers
456
The Finishing Touches: A Tour
465
Implementing AJAX in your application
465
Reusing view elements with partials
467
Managing multiple models at once
469
Feature complete but never finished
471
Pushing Rails to Production
471
Installing Passenger
472
Production pitfalls
472
Summary
473
Appendix A: Running a Freelance Web Business 475
Administration Basics
475
Getting an accountant
475
Centralizing domain management with a registrar
476
Choosing a dedicated server for your business
477
Providing clients with a selection of hosting options
478
Your Service Offering
478
How to choose your rate
479
Subcontracting versus hiring
479
How to compete with the nephew in the basement
480
Large versus small clients
481
Getting new clients by keeping the old ones
481
Up-selling your services for more revenue
482
Surviving in the Long Term
483
Managing your time
483
Paying yourself
484
Staying relevant with new skills
484
Appendix B: Resources 487
Internet Infrastructure
487
Running other operating systems
488
Using Terminal
488
Client-Side Development
489
Design Resources
489
Server-Side Development
490
Glossary 491
Aaron Vegh is a web and Cocoa developer, a professional writer, and principal of Innoveghtive, Inc., an online marketing firm. He has written technical documentation and articles for several companies and publications in the technology industry. An active member in the Mac development community, Aaron also develops for both the Mac and iPhone platforms. With over ten years of experience in web development, he has spent the last three years running his own firm, building sites for clients both large and small.