Book description
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
Table of contents
- Cover
- Title
- Copyright
- Dedication
- About the Author
- Contents
- Acknowledgments
- Introduction
- Part I: Introduction
- Part II: PHP Recipes
-
Part III: JavaScript Recipes
-
13. The Core Recipes
- Loading the Recipes
- Recipe 1: O()
- Recipe 2: S()
- Recipe 3: Initialize()
- Recipe 4: CaptureMouse()
- Recipe 5: CaptureKeyboard()
- Recipe 6: FromKeyCode()
- Recipe 7: GetLastKey()
- Recipe 8: PreventAction()
- Recipe 9: NoPx() and Px()
- Recipe 10: X() and Y()
- Recipe 11: W() and H()
- Recipe 12: Html()
- Recipe 13: SaveState()
- Recipe 14: RestoreState()
- Recipe 15: InsVars()
- Recipe 16: StrRepeat()
- Recipe 17: HexDec()
- Recipe 18: DecHex()
- 14. Location and Dimensions
- 15. Visibility
- 16. Movement and Animation
- 17. Chaining and Interaction
- 18. Menus and Navigation
- 19. Text Effects
- 20. Audio and Visual Effects
- 21. Cookies, Ajax, and Security
- 22. Forms and Validation
- 23. Solutions to Common Problems
-
13. The Core Recipes
-
Part IV: CSS Classes
-
24. Manipulating Objects
- Recipe 1: Positioning
- Recipe 2: Floating
- Recipe 3: Background Colors
- Recipe 4: Gradients
- Recipe 5: Inverse Gradients
- Recipe 6: Box Shadows
- Recipe 7: Padding
- Recipe 8: Rounded Borders
- Recipe 9: Transparency
- Recipe 10: Visibility and Display
- Recipe 11: Scroll Bars
- Recipe 12: Maximum Sizes
- Recipe 13: Location
- Recipe 14: Selective Margins
- Recipe 15: Selective Padding
- Recipe 16: Border Style
- Recipe 17: Border Width
- Recipe 18: Border Color
- Recipe 19: No Outline
-
25. Text and Typography
- Recipe 20: Fonts
- Recipe 21: Font Styles
- Recipe 22: Text Alignment
- Recipe 23: Text Point Size
- Recipe 24: Text Colors
- Recipe 25: Text Shadows
- Recipe 26: Text Transformations
- Recipe 27: Encapsulation
- Recipe 28: Google Fonts
- Recipe 29: Drop Cap
- Recipe 30: Columns
- Recipe 31: Text Indent
- Recipe 32: Symbols
- 26. Menus and Navigation
- 27. Page Layout
-
28. Visual Effects
- Recipe 46: Star Rating
- Recipe 47: Star Rating Using Images
- Recipe 48: Progress Bar
- Recipe 49: Scale Up
- Recipe 50: Scale Down
- Recipe 51: Transition All
- Recipe 52: Thumb View
- Recipe 53: Caption Image
- Recipe 54: Pointer
- Recipe 55: Rotation
- Recipe 56: Odd and Even Text Colors
- Recipe 57: Odd and Even Background Colors
-
29. Dynamic Objects
- Recipe 58: NoJS (nojs) and OnlyJS (onlyjs)
- Recipe 59: Middle (middle)
- Recipe 60: Center (center)
- Recipe 61: Top (top)
- Recipe 62: Bottom (bottom)
- Recipe 63: Left (left)
- Recipe 64: Right (right)
- Recipe 65: On Demand (ondemand)
- Recipe 66: Fadein (fadein[n])
- Recipe 67: Fadeout (fadeout[n])
- Recipe 68: Resize Textarea (resizeta[n \ri\)
- Recipe 69: Rotate (rotate[n])
- Recipe 70: Width (w[n])
- Recipe 71: Height (h[n])
- Recipe 72: X (x[n])
- Recipe 73: Y (y[n])
- Recipe 74: Text Color (color[colorname/#nnnnnn/#nnn])
- Recipe 75: Background Color (bcolor[#nnnnnn])
-
30. Dynamic Text and Typography
- Recipe 76: Typetext (typetext[n])
- Recipe 77: Digits Only (digitsonly)
- Recipe 78: Text Only (textonly)
- Recipe 79: No Spaces (nospaces)
- Recipe 80: No Punctuation (nopunct)
- Recipe 81: Minimum Whitespace (minwhitespace)
- Recipe 82: Google Font (gfont[n])
- Recipe 83: Text Middle (textmiddle)
- Recipe 84: Text Glow (textglow[#nnnnnn|#nnnnnn|n])
- Recipe 85: Background Glow (backglow[#nnnnnn|#nnnnnn|n])
- 31. Dynamic Interaction
- 32. Incorporating JavaScript
- 33. Superclasses
-
24. Manipulating Objects
- Index
Product information
- Title: Web Developer's Cookbook
- Author(s):
- Release date: April 2012
- Publisher(s): McGraw-Hill
- ISBN: 9780071794329
You might also like
book
Web Accessibility Cookbook
Frontend developers have to consider many things: browser compatibility, usability, performance, scalability, SEO, and other best …
book
CSS Cookbook, 3rd Edition
Learn how to solve the real problems you face with CSS. This cookbook offers hundreds of …
book
Refactoring JavaScript
How often do you hear people say things like this? "Our JavaScript is a mess, but …
book
Professional JavaScript for Web Developers, 4th Edition
Update your skill set for ES 6 and 7 with the ultimate JavaScript guide for pros …