作者:Michael Morrison 页数:652 出版社:empty |
What will you learn from this book?
So you're ready to make the leap from writing HTML and CSS web“So practical andpages to scripting dynamic web applications?Start here.Hend Firstuseful, and sowellJau a Script is your guided tour to exciting and interactive webpageexplained.This bookcreation.Built for your brain, this book covers all the JavaScriptessentials, from basic web programming techniques includingvariables, functions, and looping to more advanced topics like formvalidation, DOM manipulation, custom objects, debugging—andeven Ajax!So get ready...responsive websites are just pages away
Why does this book look so different?
We think your time is too valuable to spend struggling with newconcepts.Using the latest research in cognitive science and learningtheory to craft a multi-sensory learning experience, HeadFirstJuu eSri pt uses a visually rich format designed for the way your brainworks, not a text-heavy approach that puts you to sleep
Advance Praise for HeadFirst JavaScript“Sn prac ical and useful, and sowell ex pained.This book docs a great job of introduc nga completenewbie to JavaScript, and its another testament to HeadFirst's teaching style.Out of the otherJavaScript books, Head Fist Jas aS rrp tis great for learning, compared to other reference books the sizeofa phonebook”An excelle at choice for the beginning JavaScript developer'“Yet another great book in the classic HeadFirst'style”JavaScript has long been the client-side engine that dives pages on the Web, buc it has also long beenmis under st nod and mists ed.With HendFitJnonSrrp, Michael Morrison gives a straight for w and andeasy to-understand introduction of this language, removing any misunderstanding that everex sted andshowing howto most effect i ely use it to enhance your webpages A webpage has three parts--content(HIM L, appearance fCSS) , and behaviour ava Scrip) .Head FintHTML introduced the first two, and this book uses the same fun but practi ral approach to introduceJavaScript.The fun way in which this book introduces JavaScript and them anyways in which itreinforces the information so that you wll not forget it makes this a perfect book for beginners to usr tostart the mon the mad to making their webpages interactive.“This is the book Tv e been lookig for to recommend to my readers.It is simple enough for completebeginners but includes enough depth to be useful to more advanced users.And it makes the process ofJ earning fin.This might just be the only JavaScript book you ever need.”Praise for HeadFirst HTML with CSS&XHTML Eric and Elisabeth Freeman clearly know their stuf lAs the Inte me the comes more complex, inspiredconstruction of we h page a becomes increasingly citi cal Elegant design is at the cor cofe wry chapter here,each co no ept conveyed with equal doses of prag in at is m and wit.” The We h would be a much beter place if every HTML authors l arte doll by reading ths book”“Tv e been writing HTML and CSS for ten years now, and what used to be along trial and error learningprocess has now been reduced neatly into an engaging paperback HTML used to be something youcould just hack away at until things looked okay onscreen, but with the advent of web standards andthe movement towards accessibility, sloppy coding practice is not acceptable anymore.., from a businessstandpoint or a social responsibility standpoint Head Frs HTML uit hCS SeX HTML teaches you howto do things right from the beginning without making the whole process seem overwhelming HTML,when properly explained, is no more complicated than plain Engi h, and the Freemans do an excellentjob of keeping every concept at eye-level”“Oh, great.You made an XHTML book simple enough a CEO can understand i.What wll youdo next?Accounting simple enough my developer can understand it?Next thing you know we'll becollaborating as a team or something “This hook has humor, and charm, but most importantly, it has heart I know that sounds rdi culo usto say about a technical hook, hut I really sense that at it score, this book(nr atleast its authors) reallycare that the reader lra rn the mate nal This comes a crass in the style, the langu igc, and the techniquesLearning real understanding and comprehension on the part of the reader is clearly topmost inthe minds of the Freemans.And thankyou, thankyou, thankyou, for the book's strong.and sensiblea dyo cacy of standards compl nce.Ir'sgr rat to see an entry level book, that I think will be widely readand studied, campaign so clo quently and persuasively on he half of the value of standards compliance inwebpage code I even found in here a few great arguments I had not thought of ones I can rememberand use when I am asked as I still am what's the deal with compliance and why should we care?rl have more ammo now!I also ik rd that the hooks priklesisomebaisabotc the mechan is ofactually getting a we h page live-FTP we h server has ics, file structures, ete.-Alex Lee, Student, University of Houston一Fletcher Moore, WebDeveloper&Designer, Georgia Institute of Technology-TW Scannell-Anthony T.Holden er III, Web applications developer, and the author of Ajax:The Definitive Guide.-StephenChapman,OwnerFelgallPtyLtd.,JavaScripteditor,about.com-JulieLBaumler,JavaScriptEditor,BellaOnline.com一Ken Goldstein, Executive VicePresident&Managing Director, Disney Online-L.David Baron, Technical Lead, Layout&CSS, Mozilla Corporation,http://dbaron.org/-Mike Davidson, President&CEO, Newsvine, Inc.-Janice Fraser, CEO, Adaptive Path-RobertNeer,DirectorofProductDevelopment,Movies.comIf yow havent read this book yet and
Praise for HeadFirst HTML with CSS&XHTML
-Freeman's Head FirtH TM Laith CSS XHTML is a most entertaining book for learning howto builda great webpage.It not only covers everything you need to know about HTML, CSS, and XHTML,it ako excels in explaining everything in laymans terms with alot of great examples.T found the booktruly enjoyable to read, and I learned something new!“My wife stole the book.Shes never donc any webdesign, so she needed a book like Head Fast HTMLui th CSSR XHTML to take her from beginning to end She now has a list of websites she wants to build-for our son's class, our family..I rIm lucky, Il get the hook back when shes done “Be war.If you're someone who reads at night he for efa lng asleep, youll have to rest ri tHe udF itHTML ui th CSSS XHTML today time reading This book wakes up your h rain “The information covered in this hook is the same material the pros know, but taught in anc ducationaland humorous mah ner that doesnt ever make you think the matenalisirnpaxible to learn or you areout of your element. “Head Fast HTML uihC SS&XHTML isathoruughlymodemnin traduction to fur ward-looking prae iesin Webpage markup and presentation.It correctly anticipate stead ers puzzlement sand handles themjustin time.The hgh ly graphic and incremental approach preeielymiies the best way to learn thisstuff:make a small change and see it in the browser to understand what each new item means -Newton Lee, Editor-in-Chief, ACM Computers in Entertainment,http://waa.acmcie, org-David Kaminsky, Master Inventor, IBM-Pauline McNamara, Center for New Technologies and Education,Fribourg University, Switzerland-Christopher Schmitt, Author of The CSS Cookbook and Professional CSS,schmitt a christopher org-Danny Goodman, author of Dynamic HTML:The Definitive GuideOther related books from O'ReillyOther books i nO'Reilly's HeadFirst seriesJavaScript:The Definitive GuideJavaScript Pocket ReferenceLeaming JavaScriptJavaScript&DHTML CookbookHeadFirst JavaHeadFirst Object-Oriented Analysis and Design(0OA&D)HeadRush AjaxHeadFirst HTML with CSS and XHTMLHeadFirst Design PatternsHeadFirst Servlets and JSPHeadFirst EJBHeadFirst PMPHeadFirst SQLHeadFirst Software DevelopmentHeadFirst CH
IntroYour brain on JavaScript.You rest ting around trying to lea mn somethingbut your brain keeps telling you all that learning is n't important.Your brain's saying,“Better leave room for more important things, like which wild animals to avoid andwhether naked waterskiing is a bad idea“So how do you trick your brain into thinkingthat your life really depends on leaming JavaScript?the interactive webReacting to the Virtual WorldTired of thinking of the Web in terms of passive pages?Been there, done that.They recalled books.And they're good for reading, learning...lots of good things.But they're not interactive.And neither is the Web without alittle help from JavaScript.Sure, you can submit a form and maybe do a trick hereand there with some crafty HTML and CSS coding, but you're really just playingWeekend at Bern le's propping up a lfe less webpage.Real live interactivity requiresa blt more smarts and a little more work...but it has a much bigger payoff.Whois this book forWe know what you rethinking
In the real world, people often overlook the importance ofhaving a place to store all their stuff.Not soinJavaScrptYouslmplydon't have the luxury of walk-in closets and three-car garages.In JavaScript, everythinghas its place, and its your job to make sure of it The issue is data-howto represent ithowto store it, and howto find it once you've put it somewhere.As a JavaScript storagespecialist, you'l be able to take a cluttered room of JavaScript data and impose your willon it with afi urry of virtual labels and storage bins.exploring the eli entBrowser SpelunkingSometimes JavaScript needs to know what's going on in theworld around it.Your scripts may begin as code in webpages but they ult atelylive in a world created by the browser, or client.Smart scripts often need to know moreabout the world they live in, in which case they can communicate with the browser tofind out more about it.Whether its finding out the screensize or accessing the browser'ssnooze button, scripts have an awful lotto gain by cultivating their browser relat on ship.Your scripts can store dataSeri pts think in datatypes
empty