Master today's best practices for succeeding with PHP 5.5 and MySQL 5.6 web database development! Long acknowledged as the clearest, most practical, and most down-to-earth guide to PHP/MySQL web development, the brand-new Fifth Edition of ""PHP and MySQL Web Development""fully reflects the latest ve
PHP and MySQL Web development, fourth edition
โ Scribed by Thomson, Laura; Welling, Luke
- Publisher
- Addison-Wesley
- Year
- 2009
- Tongue
- English
- Leaves
- 624
- Edition
- 5th printing
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Master today's best practices for succeeding with PHP 5.5 and MySQL 5.6 web database development! Long acknowledged as the clearest, most practical, and most down-to-earth guide to PHP/MySQL web development, the brand-new Fifth Edition of ""PHP and MySQL Web Development""fully reflects the latest versions of PHP and MySQL. Maintaining the approach that has made this book so successful through, Luke Welling and Laura Thomson add extensive new coverage of security, cloud and mobile development, and using the PEAR repository's massive resources. Part I offers a crash course in using PHP, including data storage/retrieval, arrays, strings, regular expressions, code reuse, objects, and error/exception handling. Next, walk through designing, creating, accessing, and programming MySQL databases. Part III turns to e-commerce, adding extensive new coverage of web security, plus up-to-the-minute discussions of authentication and secure transactions. A full section of advanced PHP techniques addresses everything from networking and filesystem interaction to image generation and session control. The authors conclude with primers on real-world development and debugging, followed by ten start-to-finish case studies, from authentication to content management, personalized PDFs to web services and Web 2.0 apps.
โฆ Table of Contents
Table of Contents......Page 9
1 Introduction......Page 20
What You Will Learn from This Book......Page 21
How This Book Is Organized......Page 22
Acknowledgments......Page 24
I: The Objective-C 2.0 Language......Page 26
Compiling and Running Programs......Page 28
Explanation of Your First Program......Page 37
Displaying the Values of Variables......Page 41
Exercises......Page 44
What Is an Object, Anyway?......Page 46
Instances and Methods......Page 47
An Objective-C Class for Working with Fractions......Page 49
The @interface Section......Page 52
The @implementation Section......Page 56
The program Section......Page 57
Accessing Instance Variables and Data Encapsulation......Page 63
Exercises......Page 66
Data Types and Constants......Page 68
Arithmetic Expressions......Page 75
Assignment Operators......Page 83
A Calculator Class......Page 84
Bit Operators......Page 86
Exercises......Page 92
5 Program Looping......Page 96
The for Statement......Page 97
The while Statement......Page 108
The do Statement......Page 113
The break Statement......Page 114
Exercises......Page 115
The if Statement......Page 118
The switch Statement......Page 139
Boolean Variables......Page 142
The Conditional Operator......Page 147
Exercises......Page 148
Separate Interface and Implementation Files......Page 152
Synthesized Accessor Methods......Page 158
Accessing Properties Using the Dot Operator......Page 159
Multiple Arguments to Methods......Page 160
Local Variables......Page 165
The self Keyword......Page 168
Allocating and Returning Objects from Methods......Page 169
Exercises......Page 175
It All Begins at the Root......Page 176
Extension Through Inheritance: Adding New Methods......Page 181
Overriding Methods......Page 194
Extension Through Inheritance: Adding New Instance Variables......Page 200
Abstract Classes......Page 202
Exercises......Page 203
Polymorphism: Same Name, Different Class......Page 206
Dynamic Binding and the id Type......Page 210
Compile Time Versus Runtime Checking......Page 212
The id Data Type and Static Typing......Page 213
Exception Handling Using @try......Page 219
Exercises......Page 222
Initializing Classes......Page 224
Scope Revisited......Page 226
Storage Class Specifiers......Page 232
Enumerated Data Types......Page 234
The typedef Statement......Page 237
Data Type Conversions......Page 239
Exercises......Page 241
Categories......Page 244
Protocols......Page 250
Composite Objects......Page 254
Exercises......Page 255
The #define Statement......Page 258
The #import Statement......Page 266
Conditional Compilation......Page 269
Exercises......Page 272
13 Underlying C Language Features......Page 274
Arrays......Page 275
Functions......Page 281
Structures......Page 290
Pointers......Page 302
Unions......Page 321
Miscellaneous Language Features......Page 324
How Things Work......Page 329
Exercises......Page 331
II: The Foundation Framework......Page 334
Foundation Documentation......Page 336
15 Numbers, Strings, and Collections......Page 340
Number Objects......Page 341
String Objects......Page 345
Array Objects......Page 360
Synthesized AddressCard Methods......Page 368
Fast Enumeration......Page 373
Sorting Arrays......Page 381
Dictionary Objects......Page 386
Set Objects......Page 389
Exercises......Page 394
16 Working with Files......Page 396
Managing Files and Directories: NSFileManager......Page 397
Working with Paths: NSPathUtilities.h......Page 408
The Autorelease Pool......Page 424
Reference Counting......Page 425
An Autorelease Example......Page 437
Summary of Memory-Management Rules......Page 438
Garbage Collection......Page 439
Exercises......Page 441
18 Copying Objects......Page 442
The copy and mutablecopy Methods......Page 443
Shallow Versus Deep Copying......Page 445
Implementing the
Copying Objects in Setter and Getter Methods......Page 451
Exercises......Page 453
Archiving with XML Property Lists......Page 454
Archiving with NSKeyedArchiver......Page 456
Writing Encoding and Decoding Methods......Page 459
Using NSData to Create Custom Archives......Page 466
Using the Archiver to Copy Objects......Page 469
Exercises......Page 471
III: Cocoa and the iPhone SDK......Page 472
Framework Layers......Page 474
Cocoa Touch......Page 475
Your First iPhone Application......Page 478
An iPhone Fraction Calculator......Page 495
Summary......Page 510
Exercises......Page 511
IV: Appendixes......Page 514
A......Page 516
D......Page 517
G......Page 518
L......Page 519
P......Page 520
S......Page 521
Z......Page 522
B: Objective-C 2.0 Language Summary......Page 524
C: Address Book Source Code......Page 588
D: Resources......Page 594
A......Page 598
C......Page 600
D......Page 603
F......Page 605
I......Page 607
L......Page 609
M......Page 610
N......Page 611
O......Page 612
P......Page 613
S......Page 615
T......Page 617
V......Page 618
X โ Y - Z......Page 619
๐ SIMILAR VOLUMES
Master today's best practices for succeeding with PHP 5.5 and MySQL 5.6 web database development! Long acknowledged as the clearest, most practical, and most down-to-earth guide to PHP/MySQL web development, the brand-new Fifth Edition of ""PHP and MySQL Web Development""fully reflects the latest ve
This is my 2nd book regarding php and mysql. My first one got stolen a while back. Anyways, This is a great resource for those who want to create php dynamic and interactive web pages. The codes are good but ive seen better. With this book, You could start making php in no time at all. Samples are i
This is my 2nd book regarding php and mysql. My first one got stolen a while back. Anyways, This is a great resource for those who want to create php dynamic and interactive web pages. The codes are good but ive seen better. With this book, You could start making php in no time at all. Samples are i
Get this if you want to learn PHP and MySQL, very solid examples and easy to follow.