Beginning Rails from Novice to Professional.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

Beginning Rails from Novice to Professional.Pdf CYAN YELLOW MAGENTA BLACK PANTONE 123 C BOOKS FOR PROFESSIONALS BY PROFESSIONALS® THE EXPERT’S VOICE® IN WEB DEVELOPMENT Companion eBook Available Beginning Rails: Beginning From Novice to Professional Dear Reader, This book is for anyone who wants to learn how to develop web applications using the Rails framework for Ruby. Even if you have no prior programming Beginning experience or have never built a web application before, you’ll be able to get up and running with Rails using this book. Starting with a thorough introduction Rails to the Rails landscape, we’ll walk you though creating a working application, from installation to deployment and everything in between. Rails is modular for a reason: software is easier to write and maintain when it’s divided according to areas of concern. We think this approach applies to teaching as well. That’s why each chapter in this book focuses on a specific component of the framework. From modeling relationships with Active Record to sending mail using Action Mailer, we show you how the components work together and where the lines of responsibility are drawn. We do this in a way that you can understand, by walking through code examples and explaining why things are the way they are. The result is that you’ll know precisely how the pieces fit together. Rails is optimized for what most people need to do, most of the time, and Rails this book is no different. Our goal is to teach you the most important concepts and no more. This is not an exhaustive reference, nor is it filled with ivory tower exercises. Instead, we’ve focused on the techniques that we, as Rails developers, use on a daily basis. From Novice to Professional In this book, you’ll find advice and practical solutions to common problems. We’ll show you what we think are the best tools and techniques to use when working with Rails, and what we’ve found to be best practices. We hope you’ll find it useful, informative, and even entertaining. Jeffrey Allan Hardy and Cloves Carneiro Jr. A Beginner’s Guide to the Rails Framework for Ruby Companion eBook S ITLE T See last page for details on $10 eBook version RELATED RELATED Carneiro SOURCE CODE ONLINE ISBN-13: 978-1-59059-686-9 Hardy, and www.apress.com ISBN-10: 1-59059-686-2 Jeffrey Allan Hardy Cloves Carneiro Jr. 5 3 4 9 9 with Hampton Catlin US $34.99 Shelve in Programming/ Web Development User level: 9 781590 596869 Beginner–Intermediate this print for content only—size & color not accurate spine = x.xxx" xxx page count 686-2 FM.qxd 6/30/07 9:04 AM Page i Beginning Rails From Novice to Professional Jeffrey Allan Hardy and Cloves Carneiro Jr. with Hampton Catlin 686-2 FM.qxd 6/30/07 9:04 AM Page ii Beginning Rails: From Novice to Professional Copyright © 2007 by Jeffrey Allan Hardy and Cloves Carneiro Jr. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-59059-686-9 ISBN-10 (pbk): 1-59059-686-2 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Chris Mills Technical Reviewer: Hampton Catlin Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jason Gilmore, Jonathan Hassell, Chris Mills, Matthew Moodie, Jeffrey Pepper, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Project Manager: Sofia Marchant Copy Edit Manager: Nicole Flores Copy Editor: Marilyn Smith Assistant Production Director: Kari Brooks-Copony Production Editor: Ellie Fountain Compositor: Gina Rexrode Proofreader: Lori Bring Indexer: Broccoli Information Management Artist: Kinetic Publishing Services, LLC Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail [email protected], or visit http://www.springeronline.com. For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail [email protected], or visit http://www.apress.com. The information in this book is distributed on an “as is” basis, without warranty. Although every precau- tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at http://www.apress.com in the Source Code/ Download section. You will need to answer questions pertaining to this book in order to successfully download the code. 686-2 FM.qxd 6/30/07 9:04 AM Page iii For my best friend, Amy. —Jeff For Jane; you inspire me every morning. —Cloves 686-2 FM.qxd 6/30/07 9:04 AM Page iv 686-2 FM.qxd 6/30/07 9:04 AM Page v Contents at a Glance About the Authors . xv About the Technical Reviewer. xvii Acknowledgments . xix Preface. xxi Introduction . xxiii ■CHAPTER 1 Introducing the Rails Framework. 1 ■CHAPTER 2 Getting Started . 17 ■CHAPTER 3 Getting Something Running . 45 ■CHAPTER 4 Working with a Database: Active Record. 65 ■CHAPTER 5 Advanced Active Record: Enhancing Your Models . 89 ■CHAPTER 6 Action Pack: Working with the View and the Controller . 133 ■CHAPTER 7 Improving Interaction with Ajax . 201 ■CHAPTER 8 Sending and Receiving Mail. 229 ■CHAPTER 9 Testing Your Application. 245 ■CHAPTER 10 Extending Rails with Plugins . 279 ■CHAPTER 11 Deploying Your Rails Applications . 301 ■APPENDIX A Ruby, a Programmer’s Best Friend . 315 ■APPENDIX B Databases 101 . 331 ■APPENDIX C The Rails Community . 341 ■INDEX . 345 v 686-2 FM.qxd 6/30/07 9:04 AM Page vi 686-2 FM.qxd 6/30/07 9:04 AM Page vii Contents About the Authors . xv About the Technical Reviewer. xvii Acknowledgments . xix Preface. xxi Introduction . xxiii ■CHAPTER 1 Introducing the Rails Framework . 1 The Rise and Rise of the Web Application. 1 The Web Is Not Perfect . 3 The Good Web Framework. 3 Enter Rails. 4 Rails Is Ruby . 5 Rails Encourages Agility . 6 Rails Is Opinionated Software . 9 Rails Is Open Source . 9 The MVC Pattern . 10 The MVC Cycle . 11 The Layers of MVC. 12 The Libraries That Make Up Rails. 15 Rails Is No Silver Bullet. 15 Summary . 16 ■CHAPTER 2 Getting Started . 17 An Overview of Rails Installation. 17 Installing on Mac OS X 10.4 Tiger . 19 Installing the Apple Developer Tools (Xcode). 20 Installing MySQL . 20 Adding MySQL to Your PATH . 23 Installing Ruby . 24 vii 686-2 FM.qxd 6/30/07 9:04 AM Page viii viii ■CONTENTS Installing RubyGems . 26 Installing Rails . 27 Automating Installation . 27 Installing on Windows XP . 28 Installing MySQL . 29 Installing Ruby . 30 Installing Rails . 31 Installing on Linux . 32 Installing MySQL . 33 Installing Ruby . ..
Recommended publications
  • John Athayde and Bruce Williams — «The Rails View
    What readers are saying about The Rails View This is a must-read for Rails developers looking to juice up their skills for a world of web apps that increasingly includes mobile browsers and a lot more JavaScript. ➤ Yehuda Katz Driving force behind Rails 3.0 and Co-founder, Tilde In the past several years, I’ve been privileged to work with some of the world’s leading Rails developers. If asked to name the best view-layer Rails developer I’ve met, I’d have a hard time picking between two names: Bruce Williams and John Athayde. This book is a rare opportunity to look into the minds of two of the leading experts on an area that receives far too little attention. Read, apply, and reread. ➤ Chad Fowler VP Engineering, LivingSocial Finally! An authoritative and up-to-date guide to everything view-related in Rails 3. If you’re stabbing in the dark when putting together your Rails apps’ views, The Rails View provides a big confidence boost and shows how to get things done the right way. ➤ Peter Cooper Editor, Ruby Inside and Ruby Weekly The Rails view layer has always been a morass, but this book reins it in with details of how to build views as software, not just as markup. This book represents the wisdom gained from years’ worth of building maintainable interfaces by two of the best and brightest minds in our business. I have been writing Ruby code for over a decade and Rails code since its inception, and out of all the Ruby books I’ve read, I value this one the most.
    [Show full text]
  • CSS Minification Via Constraint Solving
    1 CSS Minification via Constraint Solving MATTHEW HAGUE, Royal Holloway, University of London ANTHONY W. LIN, TU Kaiserslautern and University of Oxford CHIH-DUO HONG, University of Oxford Minification is a widely-accepted technique which aims at reducing the size of the code transmitted over the web. This paper concerns the problem of semantic-preserving minification of Cascading Style Sheets (CSS) — the de facto language for styling web documents — based on merging similar rules. The cascading nature of CSS makes the semantics of CSS files sensitive to the ordering of rules in the file. To automatically identify rule-merging opportunities that best minimise file size, we reduce the rule-merging problem to a problem concerning “CSS-graphs”, i.e., node-weighted bipartite graphs with a dependency order- ing on the edges, where weights capture the number of characters. Constraint solving plays a key role in our approach. Transforming a CSS file into a CSS-graph problem requires us to extract the dependency ordering on the edges (an NP-hard problem), which requires us to solve the selector intersection problem. To this end, we provide the first full formalisation of CSS3 selectors (the most stable version of CSS) and reduce their selector intersection problem to satisfiability of quantifier-free integer linear arithmetic, for which highly-optimised SMT-solvers are available. To solve the above NP-hard graph optimisation problem, we show how Max-SAT solvers can be effectively employed. We have implemented our rule-merging algorithm, and tested it against approximately 70 real-world examples (including examples from each of the top 20 most popular websites).
    [Show full text]
  • Open Source Used in AMP for Endpoints Portal 1.9
    Open Source Used In AMP for Endpoints Portal 1.9 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: 78EE117C99-1070849985 Open Source Used In AMP for Endpoints Portal 1.9 1 This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in this document, if you have any questions or wish to receive a copy of any source code to which you may be entitled under the applicable free/open source license(s) (such as the GNU Lesser/General Public License), please contact us at [email protected]. In your requests please include the following reference number 78EE117C99-1070849985 Contents 1.1 rspec-support 3.4.1 1.1.1 Available under license 1.2 zhexdump 0.0.2 1.2.1 Available under license 1.3 newrelicrpm 3.10.0.279 1.3.1 Available under license 1.4 iostruct 0.0.4 1.4.1 Available under license 1.5 rspec-core 3.4.2 1.5.1 Available under license 1.6 pretender 0.1.1 1.6.1 Available under license 1.7 hike 1.2.3 1.7.1 Available under license 1.8 tty-which 0.1.0 1.8.1 Available under license 1.9 spring-commands-rspec 1.0.4 1.9.1 Available under license 1.10 passenger 5.0.26 1.10.1 Available under license 1.11 child-process 0.5.9 1.12 activesupport 4.2.5.2 1.12.1 Available under license 1.13 parallel 1.4.1 1.13.1 Available under license 1.14 mysql 0.3.20 Open Source Used In AMP for Endpoints Portal 1.9 2 1.15
    [Show full text]
  • Eric Redmond, Jim R. Wilson — «Seven Databases in Seven Weeks
    What Readers Are Saying About Seven Databases in Seven Weeks The flow is perfect. On Friday, you’ll be up and running with a new database. On Saturday, you’ll see what it’s like under daily use. By Sunday, you’ll have learned a few tricks that might even surprise the experts! And next week, you’ll vault to another database and have fun all over again. ➤ Ian Dees Coauthor, Using JRuby Provides a great overview of several key databases that will multiply your data modeling options and skills. Read if you want database envy seven times in a row. ➤ Sean Copenhaver Lead Code Commodore, backgroundchecks.com This is by far the best substantive overview of modern databases. Unlike the host of tutorials, blog posts, and documentation I have read, this book taught me why I would want to use each type of database and the ways in which I can use them in a way that made me easily understand and retain the information. It was a pleasure to read. ➤ Loren Sands-Ramshaw Software Engineer, U.S. Department of Defense This is one of the best CouchDB introductions I have seen. ➤ Jan Lehnardt Apache CouchDB Developer and Author Seven Databases in Seven Weeks is an excellent introduction to all aspects of modern database design and implementation. Even spending a day in each chapter will broaden understanding at all skill levels, from novice to expert— there’s something there for everyone. ➤ Jerry Sievert Director of Engineering, Daily Insight Group In an ideal world, the book cover would have been big enough to call this book “Everything you never thought you wanted to know about databases that you can’t possibly live without.” To be fair, Seven Databases in Seven Weeks will probably sell better.
    [Show full text]
  • Build a Simple Web View for Restaurants and Recipes Finder Using Bootstrap and Sass
    Build a Simple Web View for Restaurants and Recipes Finder Using Bootstrap and Sass Hishshah Ghassani Informatics / Computer Science School of Electrical Engineering and Informatics Bandung Institute of Technology, Jl. Ganesha 10 Bandung 40132, Indonesia [email protected] Abstract—Finding what you want to eat is not hard. You can In these days, a responsive and attractive website is a must. easily search restaurants and recipes from the internet. However, One of the most used framework for front-end development is when you’re not really sure what to eat, you will need some Bootstrap. To make it easier, the author use Sass (syntactically recommendations to decide what you will eat. InginMakan is one awesome styleheets) for the stylesheet languange. So in this of the solution. This website supposed to give you restaurants and paper, the author present how to make a simple web view for recipes recommendation to help you decide where to eat or what to make. Using Bootstrap and Sass, the website view become restaurants and recipes finder using Bootstrap and Sass. responsive and easier to maintain. This paper is organized into five sections. The first section is introduction. The second section will explain the literature Keywords—restaurants; recipes; Bootstrap; Sass; InginMakan. study about the tools (Bootstrap and Sass). The third section, the author propose the idea and method used. The fourth section will present the result and discuss it. In the last section, the I. INTRODUCTION author give conclusion and suggest future works. When you’re hungry, there are two ways to meet the needs, II.
    [Show full text]
  • About Sass Programming Language Sass History
    Header Text: Sass is a scripting language that is interpreted into Cascading Style Sheets (CSS), also known as a preprocessor. If you can write CSS you can start using Sass, and begin taking advantage of the benefits it offers like variables, nested rules, mixins and many other features that enable quicker front end development. Check our livestreams and a great collection of JavaScript tutorial videos! Meta Title: The Complete Guide to Sass (Syntactically Awesome Stylesheets) Programming Language – Livecoding.tv Meta Description: Learning Sass programming language with Livecoding.tv community has additional advantages in live streaming and videos for all difficulty levels! Meta Keywords: sass, scss, syntactically awesome stylesheets, sass tutorial, what is sass, learn sass, sass code, learn sass online, sass programming, sass language, how to code sass, understanding sass About Sass Programming Language Sass is a scripting language that is interpreted into Cascading Style Sheets (CSS), also known as a preprocessor. Sass can be compiled into CSS either by application, like CodeKit or Scout, or from the command line. Sass can be written in one of two syntaxes: SCSS, the newer, more CSS-like syntax, or Sass, the older, indent-dependent syntax. Sass can be used on most operating systems, including Mac, Windows and Linux. Using Sass to create style sheets makes the process quicker, less complicated and easier to maintain. Sass also enables you to use features not yet included (or well supported) in standard CSS, like variables, mixins, and advanced operations and functions. Sass is arguably the most dominant CSS preprocessor available. It is supported by a large, friendly and highly active developer community.
    [Show full text]
  • Seleção E Customização De Um Sistema De Gestão De Conteúdos Multilingue
    Universidade Nova de Lisboa Faculdade de Ciências e Tecnologia Departamento de Informática RELATÓRIO NOS TERMOS DO DESPACHO N.º 20/2010 PARA OBTENÇÃO DO GRAU DE MESTRE EM ENGENHARIA INFORMÁTICA, POR LICENCIADOS “PRÉ-BOLONHA” Seleção e Customização de um Sistema de Gestão de Conteúdos Multilingue O CASO PRÁTICO DAISY CMS / A ROCHA INTERNATIONAL JÚLIO MIGUEL GASPAR REIS (ALUNO N.º 36 050) Orientador cientíco: Prof. Doutor Henrique João Domingos Júri: Prof. Doutor Jos= Augusto Legatheaux Martins Prof. Doutor Henrique João Domingos Prof. Doutor Nuno Miguel Cavalheiro Marques Monte da Caparica, setembro de 2011 Esta página foi intencionalmente deixada em branco. Universidade Nova de Lisboa Faculdade de Ciências e Tecnologia Departamento de Informática RELATÓRIO NOS TERMOS DO DESPACHO N.º 20/2010 PARA OBTENÇÃO DO GRAU DE MESTRE EM ENGENHARIA INFORMÁTICA, POR LICENCIADOS “PRÉ-BOLONHA” Seleção e Customização de um Sistema de Gestão de Conteúdos Multilingue O CASO PRÁTICO DAISY CMS / A ROCHA INTERNATIONAL JÚLIO MIGUEL GASPAR REIS (ALUNO N.º 36 050) Orientador cientíco: Prof. Doutor Henrique João Domingos Júri: Prof. Doutor Jos= Augusto Legatheaux Martins Prof. Doutor Henrique João Domingos Prof. Doutor Nuno Miguel Cavalheiro Marques Monte da Caparica, setembro de 2011 “Seleção e Customização de um Sistema de Gestão de Conteúdos Multilingue: O Caso Prático Daisy CMS / A Rocha International” © Copyright Júlio Miguel Gaspar Reis, 2011 © Copyright Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa, 2011 © Copyright Universidade Nova
    [Show full text]
  • Haml & Less -Merkintäkielien Vaikutus Projektin Edistymiseen Ja
    HAML & LESS -MERKINTÄKIELIEN VAIKUTUS PROJEKTIN EDISTYMISEEN JA JATKOKEHITYKSEEN Nopeuttaako uudemmat merkintäkielet projektien luontia ja jatkokehitystä? Viestinnän koulutuohjelma Digitaalinen viestintä Opinnäytetyö 30.5.2014 Henri Koponen Tekijä(t) Henri Koponen Otsikko Haml & LESS merkintäkielien vaikutus projektin edistymiseen Sivumäärä 22 sivua + 1 liitettä Aika 30.5.2014 Tutkinto Medianomi Koulutusohjelma Viestinnän koulutusohjelma Suuntautumisvaihtoehto Digitaalinen viestintä Ohjaaja(t) Lehtori Markus Norrena Perehdyn opinnäytetyössäni HTML & CSS merkintäkieliä seuraaviin uudempiin tapoihin kirjoittaa verkkosivustoja, -kampanjanjoita sekä -palveluja. Käyn läpi mitä Haml & LESS -merkintäkielissä on eroa vanhempiin kieliin ja miten ne voivat auttaa nopeuttamaan projektien kehitystä ja jatkokehitystä. Tutkimusaineistona käytän aiheeseen liittyviä kirjoja, artikkeleita sekä merkintä- kielien tekijöiden omia kirjoituksia. Näiden lisäksi havainnoillistan merkintäkielien eroa ajan käytössä tekemällä pienen tehtävän vapaaehtoisten kanssa. Lopuksi vielä kyselyn avulla sain tietoa tämän hetkisestä tilanteesta Haml ja LESS -mer- kintäkielien ymmärrysestä ja käytöstä työpaikoilla ja kouluissa. Opinnäytetyöni tarkoituksena haluan tuoda esille kuinka suuri vaikutus uudem- milla merkintäkielillä voi olla projektin nopean valmistumisen sekä edelleen työstön kannalta. Avainsanat Haml, LESS, merkintäkieli Author(s) Henri Koponen Title Haml & LESS languages - tools to faster project progress Number of Pages 22 pages + 1 attachment Date 30.5.2014
    [Show full text]
  • O'reilly Advanced Rails.Pdf
    Advanced Rails Brad Ediger Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo Advanced Rails by Brad Ediger Copyright © 2008 Brad Ediger. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Mike Loukides Cover Designer: Karen Montgomery Production Editor: Rachel Monaghan Interior Designer: David Futato Production Services: Octal Publishing, Inc. Illustrator: Robert Romano Printing History: December 2007: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Advanced Rails, the image of a common zebra, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. This book uses RepKover™, a durable and flexible lay-flat binding. ISBN-10: 0-596-51032-2 ISBN-13: 978-0-596-51032-9 [C] Table of Contents Preface .
    [Show full text]
  • CSS Corpus for Reproducible Analysis
    CSS Corpus for Reproducible Analysis Nico de Groot Vadim Zaytsev Universiteit van Amsterdam Raincode Labs [email protected] [email protected] Abstract Reproducibility of research heavily depends on the availability of the datasets from the experiments in the context of metaprogramming, the corpus of the code that was used to run the analyses and transfor- mations. In the case of CSS, the problem is even more acute since the web is a constantly changing environment where the same address can refer to a frequently changing artefact. In this report, we explain how we created a corpus of CSS les as a part of our project of building a framework for analysing style sheets. We also include two case studies of explanatory nature showing how style sheets from various websites go about coding conventions and about code duplication. We believe this work will be useful for other CSS researchers to compare techniques they develop, on a uniform yet realistic dataset. 1 Introduction CSS, or Cascading Style Sheets, is the de facto standard in specifying the appearance of web pages. It is a language supported to some extent by all existing internet browsers and standardised by the World Wide Web Consortium the leading authority in web technologies and standards [BÇHL11, eEG+11]. Even in the presence of other better, modern, ecient, well-designed alternatives, it remains the only industrially viable option for deployment of styles, leaving languages like SASS [CWE06] or LESS [SSP+09] to be used strictly on developers' side, if at all. A typical style sheet in CSS could look like this: 1 h1, h2{ 2 font-style: italic; 3 font-size:3em; 4 padding:5px; 5 } This sheet contains one rule with two selectors and three declarations.
    [Show full text]
  • Rails Antipatterns
    ptg RAILS™ ANTIPATTERNS ptg RAILS™ ANTIPATTERNS Best Practice Ruby on Rails™ Refactoring Chad Pytel Tammer Saleh ptg Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their Editor-in-Chief products are claimed as trademarks. Where those designations appear in this Mark Taub book, and the publisher was aware of a trademark claim, the designations have Acquisitions Editor been printed with initial capital letters or in all capitals. Debra Williams Cauley The authors and publisher have taken care in the preparation of this book, but Development Editor make no expressed or implied warranty of any kind and assume no responsibil- Michael Thurston ity for errors or omissions. No liability is assumed for incidental or consequen- Managing Editor tial damages in connection with or arising out of the use of the information or John Fuller programs contained herein. Project Editor The publisher offers excellent discounts on this book when ordered in quantity Elizabeth Ryan for bulk purchases or special sales, which may include electronic versions and/or Copy Editor custom covers and content particular to your business, training goals, market- Kitty Wilson ing focus, and branding interests. For more information, please contact: Indexer U.S. Corporate and Government Sales The CIP Group (800) 382-3419 Proofreader [email protected] Linda Begley ptg For sales outside the United States please contact: Technical Reviewers Jennifer Lindner International Sales Pat Allen [email protected] Joe Ferris Visit us on the Web: informit.com/aw Stephen Caudill Tim Pope Library of Congress cataloging-in-publication data is on file with the Library of Robert Pitts Congress Jim “Big Tiger” Remsik Lar Van Der Jagt Copyright © 2011 Pearson Education, Inc.
    [Show full text]
  • Book XII Photographers
    V VV VV V VVVVon.com VVVV Basic Photography in 180 Days Book XII - Photographers Editor: Ramon F. aeroramon.com Contents 1 Day 1 1 1.1 Photographer ............................................. 1 1.1.1 Duties and functions ..................................... 1 1.1.2 Selling photographs ..................................... 3 1.1.3 Photo sharing ......................................... 5 1.1.4 References .......................................... 5 1.1.5 External links ......................................... 5 1.2 Truth claim (photography) ....................................... 5 1.2.1 Indexicality .......................................... 5 1.2.2 Visual accuracy ........................................ 5 1.2.3 Consequences of the “truth claim” .............................. 6 1.2.4 Digital photography ...................................... 6 1.2.5 Criticism of the “truth claim” ................................. 7 1.2.6 References .......................................... 7 2 Day 2 9 2.1 List of photographers ......................................... 9 2.1.1 Albania ............................................ 10 2.1.2 Argentina ........................................... 10 2.1.3 Australia ........................................... 10 2.1.4 Austria ............................................ 11 2.1.5 Azerbaijan .......................................... 11 2.1.6 Bangladesh .......................................... 12 2.1.7 Belgium ............................................ 12 2.1.8 Benin ............................................
    [Show full text]