Авторизация
Поиск по указателям
Lerdorf R., Tatroe K., MacIntyre P. — Programming PHP
Обсудите книгу на научном форуме
Нашли опечатку? Выделите ее мышкой и нажмите Ctrl+Enter
Название: Programming PHP
Авторы: Lerdorf R., Tatroe K., MacIntyre P.
Аннотация: This book does exactly what I believe it is intended to do; Teach a new PHP programmer the basic syntax of the language and give insight into PHP's more language specific features. Having used PHP before there were a two main things I was looking for in this book.
The first of these was Readability. There are two very different ways to read this book. The first is to just go through it as if it were a novel. For someone who is completely new to the language, this would be the ideal method as it steps through the different parts of the language, gradually increasing in difficulty and complexity as you go. However, my main problem with this is found in the later chapters, where the topics turn from the language itself to very specific tasks and libraries. Of course it's nice to know that PHP has the capability to write PDF files, but I don't think that should be a part of this book. It isn't standard by any means and for someone like myself, if I wasn't already experienced in PHP I would still feel like it could be space better used in this otherwise great book.
The other way to go through the book is to simply search what you are looking for. I read this book mainly to refresh myself on some of the concepts and syntax of the language, and was able to do just that in a timely fashion. If there is something you're specifically looking for, it can be found relatively quickly. Sometimes the progression of topics within a chapter can seem a little out of order, but the chapters are short and concise enough to where this isn't really a problem.
The second important factor was the actual content of the book. As far as reading the descriptions of what the code does and how it all works, I thought it was well written and would be sufficient who has had experience in another language. Based on a few of the other reviews I looked at of this book, I will have to agree that some of the code does not perhaps use the best standards. However, that's not the purpose of this book. Sometimes the most complex and efficient solution is not the best for teaching and explaining. I'd much rather see some basic code structure repeated five times in a block than have to decipher some complex for loop to achieve a menial task.
Aside from the style of the code though, my only real concern is with the code relating to the specific extensions, which I really don't feel belong. Other than this though, each section of code is clearly explained by the text preceding and is written in a manner clear enough for a novice in the field and language to understand.
Язык:
Рубрика: Computer science /
Статус предметного указателя: Готов указатель с номерами страниц
ed2k: ed2k stats
Издание: 2nd
Год издания: 2002
Количество страниц: 508
Добавлена в каталог: 13.04.2014
Операции: Положить на полку |
Скопировать ссылку для форума | Скопировать ID
Предметный указатель
Associative arrays, XML-RPC call, attributes of 283
Associativity operator 34 36
atan() function 384
atan2() function 384
Attributes, text in PDF files 241—243
attributes, XML elements 266
Authentication 177
Authentication, Kerberos extension 463
Authentication, message (mhash library) 464
Autodecrement (--) operator 39
Autoincrement (++) operator 39
Backreferences, to previously matched substrings, conditional expressions and 110
Backreferences, to text captured earlier in pattern 106
base classes 141
base64_decode() function 385
base64_encode() function 385
basename() function 288 385
base_convert() function 385
BCMath library 458
Benchmark class 311
Benchmarking performance 309—311
Bezier curve, drawing 250
bin2hex() function 385
binary operators 36
Binary operators, arithmetic, implicit casting rules 37
bindec() function 385
Bitwise operators 41—42
BLOCKS 47
Bookmarks and thumbnails in PDF documents 256—258
Bookmarks, Word, manipulating with PHP COM 363
BOOLEAN data type 26
Boolean data type, casting operator 43
Box for PDF text 240
break keyword 49
Break statements in do/while loops 52
Break statements in for loops 53
Break statements in switch statements 50
Break statements in while loops 50
Breaking strings into smaller components 91—93
Browsers, caching response pages for get requests 163
Browsers, filenames sent for file uploads, distrusting 289
Browsers, information about 405
Browsers, sending file contents to 224
Browsers, sending PDF files to 236
buffering output 301 426
Buffering output in error handlers 307
Buffering output, erasing data 301
Buffering output, flushing buffers 301
Buffering output, PDF data 234
Buffering output, setting file buffer size 439
Built-in constructs, case-insensitivity in names 17
built-in functions 61
Buttons, dynamically generated 223—227
Buttons, dynamically generated, caching 224—227
bzip2 compression 458
C/C++ languages, C-language compiler 7
C/C++ languages, C-language PHP extensions 317—350
C/C++ languages, C-language PHP extensions, architectural overview 317
C/C++ languages, C-language PHP extensions, command-line PHP 319
C/C++ languages, C-language PHP extensions, compiling 325
C/C++ languages, C-language PHP extensions, config.m4 file 327—329
C/C++ languages, C-language PHP extensions, creating variables 345—347
C/C++ languages, C-language PHP extensions, developers mailing list 350
C/C++ languages, C-language PHP extensions, external dependencies 328
C/C++ languages, C-language PHP extensions, function return values 338—341
C/C++ languages, C-language PHP extensions, global variables 343—345
C/C++ languages, C-language PHP extensions, INI entries 347
C/C++ languages, C-language PHP extensions, memory-management functions 329—331
C/C++ languages, C-language PHP extensions, parameter handling 335—337
C/C++ languages, C-language PHP extensions, PHP source code, downloading latest 318
C/C++ languages, C-language PHP extensions, planning 320
C/C++ languages, C-language PHP extensions, pval/zval data type 331—335
C/C++ languages, C-language PHP extensions, references 342
C/C++ languages, C-language PHP extensions, resources 349
C/C++ languages, C-language PHP extensions, skeleton extension, creating and fleshing out 320 322—325
C/C++ languages, C-language PHP extensions, software tools 319
C/C++ languages, C-language PHP extensions, testing 326
C/C++ languages, C-language string encoding 85
C/C++ languages, comments 19—21
Caching, dynamically generated buttons 224—227
Caching, Opcode cache systems 317
Caching, response pages for GET requests 163
Caching, reverse proxy 313
Calendar library 458
Calendars, ICAP extension 462
Calendars, MCAL extension 463
callback functions, ob_gzhandler() 303
callback functions, rewriteO 302
calling functions 61
calling functions, variable function call 70
call_user_func() function 386
call_user_method() function 386
call_user_method_array() function 386
Capturing in regular expressions 99
Capturing in regular expressions, inline flags and 108
Capturing in regular expressions, non-capturing groups 106
Carriage returns, testing string for 95
Case labels in statements 49
Case, changing for strings 81
Case, changing for strings, converting to lowercase before comparing 87
Case-insensitivity in class names 143
Case-insensitivity in function names 62
Case-insensitivity in pattern matching 111
Case-insensitivity in pattern matching, eregi_replace() 103
Case-insensitivity in regular expression matches 101 395 442 443
Case-sensitivity in keywords 23
Case-sensitivity in PHP 17
Case-sensitivity in PHP identifiers 22
Case-sensitivity in regular expressions 96
Casting in string comparisons with == operator 86
Casting in string comparisons with comparison operators 87
Casting, implicit, of operand types 37
casting, operators for 43
CCITT image format in PDF files 246
CDATA 267
Ceil() function 386
CGI specification for environment variables 160
chaining, constructors 146
Chaining, if statements 48
Character classes 97
Character classes in Perl-style regular expressions 105
Character classes in POSIX-style regular expressions 99
Character data handler (XML) 267
Character encoding, option for xmlrpc_server_call_ method() 282
Character encoding, PDF, mapping onto font characters 244
Character encoding, XML parser option 270
Character sets and encodings, Recode library for conversions 467
Characters, chdir() function 386
Characters, checkdate() function 387
Characters, checkdnsrr() function 387
Characters, check_privileges() function 286
Characters, comparing strings for similar 88
Characters, incrementing 39
Characters, last occurrence of character in a string 94
Characters, minimum number specifier (printf() format modifier) 77
Characters, sequences of see "Strings"
Characters, special in regular expressions 96
Characters, special in shell commands 295
Characters, whitespace, stripping from strings 80
Checksums, mhash library 464
Checksums, validating credit-card numbers with 101
chgrp() function 387
chmod() function 387
chop() function 387
chown() function 388
chr() function 388
chroot() function 388
chunk_split() function 388
Class keyword 28
class methods 143
Class methods, getting 405
Class methods, PEAR DB library 192
Classes 28
Classes, case-insensitivity in names 17
classes, constructors 145
classes, declaring 143
Classes, defined, getting names of 406
classes, defining 141
Classes, examining with introspective functions 148—150
Classes, functions for 375
Classes, getting for objects 149 405
classes, inheritance 145
Classes, names of 22
Classes, properties of, accessing from extension functions 341
Classes, properties of, getting 405
class_exists() function 148 388
clearstatcache() function 388
CLibPDF extension 458
Client-side GUI applications 1
Client-side scripting within HTML pages 59
Clients for XML-RPC service 283
Clients, cookies, support or acceptance of 182
closedir() function 389
closelog() function 389
Closing, files referenced by handle 397
Closing, pipes 430
closing, sessions 186
Code, blocks 47
Code, blocks, execution directives, specifying in declare statement 54
Code, libraries 297
Code, loading from another module 54—56
code, optimizing 308
Code, PHP, including 54—56
Code, PHP, running and printing result 13
Code, PHP, tags for 10
Code, reuse with inheritance 141
collating sequences 100
Color, 265-color image, creating 217
Color, allocating 218
Color, column() function 62
Color, handling in graphics 228—232
Color, handling in graphics, alpha channel, using 229
Color, handling in graphics, identifying colors 230
Color, handling in graphics, text representations of images 232
Color, handling in graphics, true color color indexes 231
Color, negative index values, turning off antialiasing 222
Color, palette 216
Color, preferences for page, options 180
Color, preferences for page, setting with sessions 183
Color, preferences for page, setting/using with cookies 181
Color, text in PDF files, setting for 242
Color, true color formats/images 216
Color, user preferences, storing across visits 188
Com 359
COM, COM extension 459
COM, overview 360
COM, PHP interfacing with completing a Word document 363—366
COM, PHP interfacing with determining API 361—363
COM, PHP interfacing with ODBC data sources 367—373
COM, PHP interfacing with PHP functions 360
COM, PHP interfacing with reading/writing Excel files 366
Command lines, Readline library for 466
command-line PHP 319
Command-line scripting 1
Commands, SQL 191
Comments in PHP 19—21
Comments in PHP, C++-style 19
Comments in PHP, C-style 19 20
Comments in PHP, indenting 21
Comments in PHP, shell-style 19
commit () method 202
Communication protocols 280
Communication protocols for databases 194
compact() function 124 389
Comparing, floating-point values 25
comparing, strings 86—89 447
Comparing, strings for approximate equality 88
Comparing, strings for equality 86
Comparison operators 39
Comparison operators in string comparisons 87
Comparison operators, == (equal to) operator 26
Compiling C-language PHP extensions 325
Compiling C-language PHP extensions, into PHP 326
Complement, string searches for 95
Compound (collection) types 23
Compressing output 303 458
Compressing output, ZIP files, extension for 469
Compressing output, zlib compression extension 469
Concatenate assignment (.+) operator 46
concatenating strings 37
Concatenating strings, . (string concatenation) operator 38
Concatenating strings, .+ (concatenation assignment) operator 46
Concatenating strings, strcat() function 63
Conditional (?:) operator 46 48
Conditional expressions in regular expressions 110
conditional statements 46
Configuration page for PHP, creating 10
Configuration, config.m4 file for extension 327—329
Configuration, config.m4 file for extension, external dependencies 328
Configuration, getting variables 405
Configuration, open_basedir in httpd.conf 289
Configure command (PHP), database support 190
Configuring, Apache and PHP 8
Configuring, data source name (DSN) with ODBC PHP 367
Configuring, PHP on Windows with a web server 352—354
Configuring, PHP on Windows with PHP installer 353
Configuring, PHP on Windows, adding extensions 354
Configuring, PHP on Windows, steps for all Microsoft installations 352
Configuring, safe_mode in php.ini file 293
Configuring, server to place session files in your own directory 291
Connections, database 192 194 204
Constant-width expressions, Perl lookbehind assertions 109
Constants 22
Constants in array keys 117
Constants, default function parameter values 67
Constants, defined, getting 406
Constructors 145
Content-Type header 159 176
continue statements 51
Continue statements in do/while loops 52
Continue statements in for loops 53
converting data types 37
Converting data types, between arrays and variables 124
convert_cyr_string() function 389
Cookies 179—182
Cookies, $HTTP_COOKIE_VARS array 160
Cookies, combining with sessions 187
Cookies, decoding names 180
Cookies, global variables for uploaded file, overwriting 290
Cookies, global variables, controlling with variables_order directive 287
Cookies, problems with 182
Cookies, quotes state for operations 407
Cookies, session IDs, storing in 182
Cookies, session IDs, storing in, alternative means for storing 184
cookies, setting 439
Cookies, setting preferences with 181
Coordinates, PDF pages 237—239
Coordinates, PDF pages, changing the origin 238
copy() function 389
Copy-on-write, managing memory with 33
Copying, a zval container 332
Copying, array values into variables 120
CORBA, Satellite Client extension 467
cos() function 390
count() function 119 390
Counters, initialization and manipulation in for statement 52
Counting references to values in symbol tables 33
count_chars() function 390
crc32() function 390
createSequence() function 202
Реклама