Muutke küpsiste eelistusi

E-raamat: Web Developer's Cookbook

  • Formaat: 992 pages
  • Ilmumisaeg: 23-Apr-2012
  • Kirjastus: Osborne/McGraw-Hill
  • Keel: eng
  • ISBN-13: 9780071794329
Teised raamatud teemal:
  • Formaat - EPUB+DRM
  • Hind: 63,65 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 992 pages
  • Ilmumisaeg: 23-Apr-2012
  • Kirjastus: Osborne/McGraw-Hill
  • Keel: eng
  • ISBN-13: 9780071794329
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

"300+ ready-to-use solutions for PHP, JavaScript, and CSSWeb Developers Cookbook offers a comprehensive suite of ready-to-use solutions for PHP, JavaScript, and CSS--among the most commonly used and most versatile open-source languages in the Web developer's toolkit. This hands-on guide assumes a basic acquaintance with Web development techniques. All examples in the book are extensively documented and explained so that even novice developers will be able to understand, use, and learn from them. This practical resource contains more than 300 recipe-like examples, each with accompanying screenshots, tables of the variables and functions used, and extensive explanations of how they work.Web Developers Cookbook Includes more than 300 ready-to-use, cross-referenced recipes that provide instant, dynamic solutions for Web developers--styles, text effects, forms and validation, security, animation, audio and visual effects, and much more Contains examples that are fully tested and up to date with the latest features Explains every part of each recipe in detail, accompanied by graphics, figures, tables and program listings Enables you to quickly add ready-made code snippets to your projects, saving hours of development and debugging time Provides the ultimate time-saver for Web developers Coverage includes: PHP Recipes:Text Processing; Image Handling; Content Management; Forms and User Input; The Internet; Chat, Messaging and Bulletin Boards; MySQL, Authentication and Cookies; Integrating with Third Party Services; Incorporating JavaScript; Diverse Solutions JavaScript Recipes: Core Plug-ins; Location and Dimensions; Visibility; Movement and Animation; Chaining and Interaction; Menus and Navigation; Text Effects; Audio and Visual Effects; Cookies, Ajax and Security; Forms and Validation; Solutions to Common Problems CSS Recipes: Manipulating Objects; Text and Typography; Menus and Navigation; Page Layout; Visual Effects; Objects; Text and Typography; Interaction; Incorporating JavaScript; Superclasses "--



300+ Ready-to-Use PHP, JavaScript, and CSS Solutions

Web Developer's Cookbook contains more than 300 PHP, JavaScript, and CSS recipes you can use right away to create interactive Web content. All of the solutions are fully documented and their functionality clearly explained, along with customization tips. The recipes include HTML examples and screen shots showing exactly how to apply them in real-world situations. Methods for using HTML5 to make Web pages even more interactive and dynamic are also provided. Shorten development time and sharpen your programming skills with help from this practical guide.

Filled with tested recipes for:

PHP
Text processing * Image handling * Content management * Forms and user input * Internet * Chat and messaging * MySQL, sessions, and cookies * APIs, RSS, and XML * Incorporating JavaScript

JavaScript
Core functionality * Location and dimensions * Visibility * Movement and animation * Chaining and interaction * Menus and navigation * Text effects * Audio and visual effects * Cookies, Ajax, and security * Forms and validation * Solutions to common problems

CSS
Manipulating objects * Text and typography * Menus and navigation * Page layout * Visual effects * Dynamic objects * Dynamic text and typography * Incorporating JavaScript * Superclasses

Acknowledgments xiv
Introduction xv
PART I Introduction
1 Getting Started
3(8)
Downloading and Installing Web Browsers
3(1)
Choosing a Program Editor
4(2)
Installing a PHP Server
6(1)
Older Versions of Microsoft Internet Explorer
7(2)
The Companion Web Site
9(2)
2 Using the Recipes
11(10)
Inserting the PHP Recipes
11(1)
Inserting the JavaScript Recipes
12(1)
Inserting the CSS Recipes
12(1)
A Quick Refresher on the DOM
13(5)
Summary
18(3)
PART II PHP Recipes
3 Text Processing
21(28)
Recipe 1 WrapText()
21(4)
Recipe 2 CapsControl()
25(3)
Recipe 3 FriendlyText()
28(4)
Recipe 4 StripWhitespace()
32(2)
Recipe 5 WordSelector()
34(2)
Recipe 6 CountTail()
36(3)
Recipe 7 TextTruncate()
39(1)
Recipe 8 SpellCheck()
40(5)
Recipe 9 RemoveAccents()
45(2)
Recipe 10 ShortenText()
47(2)
4 Image Handling
49(30)
Recipe 11 UploadFile()
49(4)
Recipe 12 ImageResize()
53(2)
Recipe 13 MakeThumbnail()
55(3)
Recipe 14 ImageAlter()
58(3)
Recipe 15 ImageCrop()
61(2)
Recipe 16 ImageEnlarge()
63(3)
Recipe 17 ImageDisplay()
66(3)
Recipe 18 ImageConvert()
69(2)
Recipe 19 GifText()
71(3)
Recipe 20 ImageWatermark()
74(5)
5 Content Management
79(28)
Recipe 21 RelToAbsURL()
79(3)
Recipe 22 GetLinksFromURL()
82(2)
Recipe 23 CheckLinks()
84(3)
Recipe 24 DirectoryList()
87(4)
Recipe 25 QueryHighlight()
91(3)
Recipe 26 RollingCopyright()
94(1)
Recipe 27 EmbedYouTubeVideo()
95(2)
Recipe 28 CreateList()
97(2)
Recipe 29 HitCounter()
99(4)
Recipe 30 RefererLog()
103(4)
6 Forms and User Input
107(34)
Recipe 31 EvaluateExpression()
107(3)
Recipe 32 ValidateCC()
110(4)
Recipe 33 CreateCaptcha()
114(5)
Recipe 34 CheckCaptcha()
119(2)
Recipe 35 ValidateText()
121(5)
Recipe 36 ValidateEmail()
126(2)
Recipe 37 SpamCatch()
128(2)
Recipe 38 SendEmail()
130(3)
Recipe 39 BBCode()
133(3)
Recipe 40 PoundCode()
136(5)
7 The Internet
141(42)
Recipe 41 LookupLinks()
141(3)
Recipe 42 GetTitleFromURL()
144(1)
Recipe 43 AutoBackLinks()
145(3)
Recipe 44 CreateShortURL()
148(3)
Recipe 45 UseShortURL()
151(4)
Recipe 46 SimpleWebProxy()
155(7)
Recipe 47 PageUpdated()
162(5)
Recipe 48 HTMLToRSS()
167(6)
Recipe 49 RSSToHTML()
173(3)
Recipe 50 HTMLToMobile()
176(7)
8 Chat and Messaging
183(38)
Recipe 51 UsersOnline()
183(3)
Recipe 52 PostToGuestBook()
186(3)
Recipe 53 GetGuestBook()
189(3)
Recipe 54 PostToChat()
192(6)
Recipe 55 ViewChat()
198(6)
Recipe 56 SendTweet()
204(3)
Recipe 57 SendDirectTweet()
207(2)
Recipe 58 GetTweets()
209(3)
Recipe 59 ReplaceSmileys()
212(4)
Recipe 60 ReplaceSMSTalk()
216(5)
9 MySQL, Sessions, and Cookies
221(30)
Recipe 61 AddUserToDB()
221(7)
Recipe 62 GetUserFromDB()
228(2)
Recipe 63 VerifyUserInDB()
230(2)
Recipe 64 SanitizeString() and MySQLSanitizeString()
232(3)
Recipe 65 CreateSession()
235(2)
Recipe 66 OpenSession()
237(2)
Recipe 67 CloseSession()
239(2)
Recipe 68 SecureSession()
241(2)
Recipe 69 ManageCookie()
243(3)
Recipe 70 BlockUserByCookie()
246(5)
10 APIs, RSS, and XML
251(50)
Recipe 71 CreateGoogleChart()
251(6)
Recipe 72 CurlGetContents()
257(3)
Recipe 73 FetchWikiPage()
260(7)
Recipe 74 FetchFlickrStream()
267(4)
Recipe 75 GetYahooAnswers()
271(4)
Recipe 76 SearchYahoo()
275(5)
Recipe 77 GetYahooStockNews()
280(6)
Recipe 78 GetYahooNews()
286(4)
Recipe 79 SearchGoogleBooks()
290(5)
Recipe 80 ConvertCurrency()
295(6)
11 Incorporating JavaScript
301(34)
Recipe 81 CreateAjaxObject()
301(4)
Recipe 82 GetAjaxRequest()
305(3)
Recipe 83 PostAjaxRequest()
308(2)
Recipe 84 ProtectEmail()
310(3)
Recipe 85 ToggleText()
313(3)
Recipe 86 StatusMessage()
316(3)
Recipe 87 SlideShow()
319(6)
Recipe 88 InputPrompt()
325(3)
Recipe 89 WordsFromRoot()
328(3)
Recipe 90 PredictWord()
331(4)
12 Diverse Solutions
335(34)
Recipe 91 GetCountryFromIP()
335(3)
Recipe 92 BypassCaptcha()
338(2)
Recipe 93 GetBookFromISBN()
340(2)
Recipe 94 GetAmazonSalesRank()
342(4)
Recipe 95 PatternMatchWord()
346(2)
Recipe 96 SuggestSpelling()
348(5)
Recipe 97 AnagramFinder()
353(3)
Recipe 98 CornerGif()
356(4)
Recipe 99 RoundedTable()
360(3)
Recipe 100 DisplayBingMap()
363(6)
PART III JavaScript Recipes
13 The Core Recipes
369(48)
Loading the Recipes
369(1)
Recipe 1 O()
370(7)
Recipe 2 S()
377(3)
Recipe 3 Initialize()
380(6)
Recipe 4 CaptureMouse()
386(2)
Recipe 5 CaptureKeyboard()
388(3)
Recipe 6 FromKeyCode()
391(2)
Recipe 7 GetLastKey()
393(2)
Recipe 8 PreventAction()
395(3)
Recipe 9 NoPx() and Px()
398(2)
Recipe 10 X() and Y()
400(2)
Recipe 11 W() and H()
402(3)
Recipe 12 Html()
405(1)
Recipe 13 SaveState()
406(2)
Recipe 14 RestoreState()
408(2)
Recipe 15 InsVars()
410(2)
Recipe 16 StrRepeat()
412(1)
Recipe 17 HexDec()
413(1)
Recipe 18 DecHex()
414(3)
14 Location and Dimensions
417(22)
Recipe 19 ResizeWidth()
417(2)
Recipe 20 ResizeHeight()
419(1)
Recipe 21 Resize()
420(2)
Recipe 22 Position()
422(2)
Recipe 23 GoTo()
424(1)
Recipe 24 Locate()
425(2)
Recipe 25 GetWindowWidth()
427(1)
Recipe 26 GetWindowHeight()
428(2)
Recipe 27 GoToEdge()
430(3)
Recipe 28 CenterX()
433(2)
Recipe 29 CenterY()
435(2)
Recipe 30 Center()
437(2)
15 Visibility
439(30)
Recipe 31 Invisible()
439(2)
Recipe 32 Visible()
441(1)
Recipe 33 VisibilityToggle()
442(2)
Recipe 34 Opacity()
444(3)
Recipe 35 Fade()
447(8)
Recipe 36 FadeOut()
455(1)
Recipe 37 FadeIn()
456(2)
Recipe 38 FadeToggle()
458(2)
Recipe 39 FadeBetween()
460(2)
Recipe 40 Hide()
462(2)
Recipe 41 Show()
464(2)
Recipe 42 HideToggle()
466(3)
16 Movement and Animation
469(46)
Recipe 43 Slide()
469(7)
Recipe 44 SlideBetween()
476(4)
Recipe 45 Deflate()
480(6)
Recipe 46 Reflate()
486(4)
Recipe 47 DeflateToggle()
490(2)
Recipe 48 DeflateBetween()
492(3)
Recipe 49 Zoom()
495(10)
Recipe 50 ZoomDown()
505(3)
Recipe 51 ZoomRestore()
508(3)
Recipe 52 ZoomToggle()
511(4)
17 Chaining and Interaction
515(34)
Recipe 53 Chain(), NextInChain(), and CallBack()
515(7)
Recipe 54 Repeat()
522(2)
Recipe 55 While()
524(5)
Recipe 56 Pause()
529(2)
Recipe 57 WaitKey()
531(3)
Recipe 58 Flip()
534(5)
Recipe 59 HoverSlide()
539(10)
18 Menus and Navigation
549(46)
Recipe 60 HoverSlideMenu()
549(5)
Recipe 61 PopDown()
554(3)
Recipe 62 PopUp()
557(3)
Recipe 63 PopToggle()
560(3)
Recipe 64 FoldingMenu()
563(6)
Recipe 65 ContextMenu()
569(5)
Recipe 66 DockBar()
574(5)
Recipe 67 RollOver()
579(4)
Recipe 68 Breadcrumbs()
583(3)
Recipe 69 BrowserWindow()
586(9)
19 Text Effects
595(32)
Recipe 70 TextScroll()
595(4)
Recipe 71 TextType()
599(4)
Recipe 72 MatrixToText()
603(4)
Recipe 73 TextToMatrix()
607(3)
Recipe 74 ColorFade()
610(6)
Recipe 75 FlyIn()
616(4)
Recipe 76 TextRipple()
620(7)
20 Audio and Visual Effects
627(34)
Recipe 77 Lightbox()
627(5)
Recipe 78 Slideshow()
632(6)
Recipe 79 Billboard()
638(6)
Recipe 80 GoogleChart()
644(5)
Recipe 81 PlaySound()
649(3)
Recipe 82 EmbedYouTube()
652(3)
Recipe 83 PulsateOnMouseover()
655(6)
21 Cookies, Ajax, and Security
661(18)
Recipe 84 ProcessCookie()
661(5)
Recipe 85 CreateAjaxObject()
666(3)
Recipe 86 GetAjaxRequest()
669(3)
Recipe 87 PostAjaxRequest()
672(3)
Recipe 88 FrameBust()
675(2)
Recipe 89 ProtectEmail()
677(2)
22 Forms and Validation
679(20)
Recipe 90 FieldPrompt()
679(4)
Recipe 91 ResizeTextarea()
683(3)
Recipe 92 ValidateEmail()
686(3)
Recipe 93 ValidatePassword()
689(2)
Recipe 94 CleanupString()
691(2)
Recipe 95 ValidateCreditCard()
693(6)
23 Solutions to Common Problems
699(28)
Recipe 96 RollingCopyright()
699(2)
Recipe 97 Alert()
701(6)
Recipe 98 ReplaceAlert()
707(1)
Recipe 99 ToolTip()
708(5)
Recipe 100 CursorTrail()
713(5)
Recipe 101 TouchEnable()
718(9)
PART IV CSS Classes
24 Manipulating Objects
727(58)
Recipe 1 Positioning
727(3)
Recipe 2 Floating
730(2)
Recipe 3 Background Colors
732(4)
Recipe 4 Gradients
736(6)
Recipe 5 Inverse Gradients
742(5)
Recipe 6 Box Shadows
747(3)
Recipe 7 Padding
750(2)
Recipe 8 Rounded Borders
752(3)
Recipe 9 Transparency
755(3)
Recipe 10 Visibility and Display
758(3)
Recipe 11 Scroll Bars
761(3)
Recipe 12 Maximum Sizes
764(2)
Recipe 13 Location
766(3)
Recipe 14 Selective Margins
769(3)
Recipe 15 Selective Padding
772(3)
Recipe 16 Border Style
775(2)
Recipe 17 Border Width
777(2)
Recipe 18 Border Color
779(2)
Recipe 19 No Outline
781(4)
25 Text and Typography
785(34)
Recipe 20 Fonts
785(4)
Recipe 21 Font Styles
789(2)
Recipe 22 Text Alignment
791(3)
Recipe 23 Text Point Size
794(2)
Recipe 24 Text Colors
796(4)
Recipe 25 Text Shadows
800(3)
Recipe 26 Text Transformations
803(1)
Recipe 27 Encapsulation
804(2)
Recipe 28 Google Fonts
806(4)
Recipe 29 Drop Cap
810(2)
Recipe 30 Columns
812(3)
Recipe 31 Text Indent
815(2)
Recipe 32 Symbols
817(2)
26 Menus and Navigation
819(20)
Recipe 33 Buttons
819(3)
Recipe 34 Vertical Menu
822(7)
Recipe 35 Horizontal Menu
829(1)
Recipe 36 Top Dock Bar
830(3)
Recipe 37 Bottom Dock Bar
833(1)
Recipe 38 Tooltip and Tooltip Fade
834(5)
27 Page Layout
839(18)
Recipe 39 Reset CSS
839(3)
Recipe 40 Default CSS
842(4)
Recipe 41 Boxout
846(2)
Recipe 42 Quote
848(2)
Recipe 43 Left Sidebar
850(2)
Recipe 44 Right Sidebar
852(1)
Recipe 45 Page Break
853(4)
28 Visual Effects
857(32)
Recipe 46 Star Rating
857(2)
Recipe 47 Star Rating Using Images
859(1)
Recipe 48 Progress Bar
860(2)
Recipe 49 Scale Up
862(3)
Recipe 50 Scale Down
865(3)
Recipe 51 Transition All
868(4)
Recipe 52 Thumb View
872(3)
Recipe 53 Caption Image
875(4)
Recipe 54 Pointer
879(1)
Recipe 55 Rotation
880(3)
Recipe 56 Odd and Even Text Colors
883(3)
Recipe 57 Odd and Even Background Colors
886(3)
29 Dynamic Objects
889(28)
Recipe 58 NoJS (nojs) and OnlyJS (onlyjs)
889(3)
Recipe 59 Middle (middle)
892(2)
Recipe 60 Center (center)
894(1)
Recipe 61 Top (top)
895(1)
Recipe 62 Bottom (bottom)
896(1)
Recipe 63 Left (left)
897(1)
Recipe 64 Right (right)
898(1)
Recipe 65 On Demand (ondemand)
899(3)
Recipe 66 Fadein (fadein[ n])
902(2)
Recipe 67 Fadeout (fadeout[ n])
904(1)
Recipe 68 Resize Textarea (resizeta[ n | n])
905(1)
Recipe 69 Rotate (rotate[ n])
906(3)
Recipe 70 Width (w[ n])
909(1)
Recipe 71 Height (h[ n])
910(1)
Recipe 72 X (x[ n])
911(1)
Recipe 73 Y (y[ n])
912(2)
Recipe 74 Text Color (color[ colorname / #nnnnnn / #nnn])
914(1)
Recipe 75 Background Color (bcolor[ #nnnnnn])
915(2)
30 Dynamic Text and Typography
917(16)
Recipe 76 Typetext (typetext[ n])
917(1)
Recipe 77 Digits Only (digitsonly)
918(2)
Recipe 78 Text Only (textonly)
920(1)
Recipe 79 No Spaces (nospaces)
921(2)
Recipe 80 No Punctuation (nopunct)
923(1)
Recipe 81 Minimum Whitespace (minwhitespace)
924(2)
Recipe 82 Google Font (gfont[ n])
926(3)
Recipe 83 Text Middle (textmiddle)
929(1)
Recipe 84 Text Glow (textglow[ #nnnnnn | #nnnnnn | n])
930(1)
Recipe 85 Background Glow (backglow[ #nnnnnn | #nnnnnn | n])
931(2)
31 Dynamic Interaction
933(10)
Recipe 86 Placeholder (placeholder[ prompt])
933(2)
Recipe 87 Autofocus (autofocus)
935(1)
Recipe 88 Cite (cite[ citation])
936(2)
Recipe 89 Reference (ref[ type | name])
938(3)
Recipe 90 No Copy (nocopy)
941(2)
32 Incorporating JavaScript
943(8)
Recipe 91 Embed JavaScript (embedjs)
943(3)
Recipe 92 If (if[ expr])
946(2)
Recipe 93 If Not (ifnot[ expr])
948(3)
33 Superclasses
951(9)
What Is a Superclass?
951(1)
Recipe 94 Clickable (clickable)
952(1)
Recipe 95 RSS Button (rssbutton)
953(1)
Recipe 96 Border (border)
954(1)
Recipe 97 Absolute Top Left (abstopleft)
955(1)
Recipe 98 Rollover (rollover)
956(1)
Recipe 99 Vertical Tab (vtab)
957(2)
Recipe 100 Horizontal Tab (htab)
959(1)
Summary 960(1)
Index 961
Robin Nixon (Kent, UK) is an experienced author, teacher, and programmer with over 30 years experience. Nixon has produced over 500 articles and 20 books, including best-selling titles on PHP/MySQL, HTML, JavaScript, and other Web development topics.