Авторизация
Поиск по указателям
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
Предметный указатель
Installing PHP on Windows, automatic configuration with PHP installer 353
Installing PHP, configuring Apache and PHP 8
Installing PHP, downloading source distribution 7
Integers 24 416
Integers, extension functions returning 338
Integers, padding for printf() output 78
Integers, storing as longs 331
InterBase databases, extension for 463
Interlacing GIF images 246
Internal extension globals 344
Internationalization in PDF file text 245
Internationalization, ctype library, checking correctness for current locale 459
Internationalization, gettext extension 461
Internationalization, information about current locale 420
Internationalization, POSIX-style regular expressions, working with 99
Internationalization, setlocale() function 440
Internet protocols, different, server connections via 459
Internet protocols, TCP protocol for databases 194
Interpolation, variable 72
Interpolation, variable in double-quoted strings 73
Interpolation, variable, into array index 117
Interpolation, variable, lookup of multidimensional array 120
intersection of two sets 137
introspection 147—153
Introspection, examining classes with display_classes() function 148
Introspection, sample program 150—153
intval() function 415
in_array() function 129 414
ip2long() function 415
iptcparse() function 415
IPv4 addresses, converting to standard format 422
IRC gateway extension 463
is dir() function 415
is file () function 416
ISO-8859-1 character encoding 270
isset() function 34 123 418
is_array() function 28 415
is_bool() function 27 415
is_double() function 416
is_executable() function 416
is_float() function 25 416
is_int() function 24 416
is_integer() function 416
is_link() function 416
is_long() function 417
is_null() function 30 417
is_numeric() function 417
is_object() function 28 149 417
is_readable() function 417
is_real() 417
is_resource() function 29 417
is_scalar() function 418
is_string() function 26 418
is_subclass_of() function 418
is_uploaded_file() function 290
is_writable() function 418
is_writeable() function 418
Iterator functions, building tables with 127
iterators 126
Java extension 463
join() function 419 see
JPEG image format 216
JPEG image format in PDF files 246
JPEG image format, changing PNG image to 219
JPEG image format, output function for 218
Kerberos extension 463
key() function 126 419
Keys, array, associative and indexed arrays 116
Keys, array, checking for element with key name 122
Keys, array, merging two arrays 135
Keys, array, returning array of 122
Keywords, break 49
Keywords, case-sensitivity in names 17
keywords, class 28
Keywords, default 49
keywords, else 47
Keywords, endif 47
keywords, extends 145
keywords, global 65
Keywords, imagewidth and imageheight 247
Keywords, include and require 56
keywords, new 28 141
keywords, null 29
Keywords, PHP core language 23
keywords, static 32 65
Keywords, true and false 27
key_exists() function 419 see
krsort() function 130 419
ksort() function 130 131 419
Last-in first-out (LIFO) stacks 138
lcg_value() function 419
LDAP (Lightweight Directory Access Protocol) 463
Leading parameter for PDF text 240
Left shift (<<) operator 42
Length of output buffers 301
Length of strings 447
Length of strings, strlen() function (example) 61
Lerdorf, Rasmus 2
less than (<) operator 40
less than or equal to (<=) operator 40
Levels of conditions, error reporting 303
Levenshtein algorithm, calculating similarity of strings 89
Levenshtein() function 89 419
Lexical structure see "PHP language"
Lexicographic (textual) comparisons 39
Libraries see also "Extensions"
Libraries, code 297
Libraries, concealing for security 293
Libraries, PEAR, installing 9
Libswf extension, configuring external dependencies 328
LIFO (last-in first-out) stacks 138
Lightweight directory access protocol (LDAP) 463
Line breaks in PHP code 18
Line endings on Unix and Windows 358
lines, drawing 220
Lines, drawing from current point back to starting point 250
link() function 420
Linkinfo() function 420
links 416
Links in PDF documents 257
Links, lstat() function 422
Links, readlink() function 436
links, symbolic 450
Links, unlinking 453
list() function 420
list() function, combining with array_slice() 121
list() function, copying array values into variables 120
Literals 21
Literals, string 25
load balancing 314
Loading code and HTML from another module 54—56
local scope 31
Local scope, function parameters 33
Local server application 360
Local variables, freeing values in memory management 34
Locale system (Unix) 99
localeconv() function 420
localtime() function 421
Location header 176
Log objects, serializing/deserializing (example) 155—157
Log() function 422
log10() function 422
Logging in error handlers 306
Logging in error handlers, log-rolling error handler (example) 306
Logging, error messages to syslog 451
Logging, functions for 375
Logging, opening connection to system logger 428
Logging, session errors 187
logical operators 42
long data type 416
Long data type, storing integers as 331
long2ip() function 422
Longs 331
Lookahead and lookbehind assertions 108
Lookahead and lookbehind assertions, conditional expressions 110
Looping over array elements with each() 126
Loops 46
loops, do/while 51
Loops, foreach, arrays, traversing with 125
Loops, foreach, arrays, using with 27
loops, while 50—52
lstat() function 422
LTRIM() function 80 422
Luhn checksum 101
Macros, accessing zval fields 333—335
Macros, MAKE_STD_ZVAL() 332
Macros, PHP_INI_MH() prototype 348
Macros, RETURN-related 338
Macros, SEPARATE_ZVAL() 332
Macros, STD_PHP_INI_ENTRY() 347
Macros, ZEND_NUM_ARGS () 335
Macros, ZEND_SET_SYMBOL() 346
Macros, zval dereferencing 335
Magic_quotes_gpc option (php.ini), automatic quoting of form parameters 164
Mail Exchange (MX) records for host 409
mail() function 422
mail() function, configuring on Unix 356
MAKE_STD_ZVAL() macro 332
Masks, using in string searches 94
Matching with regular expressions 95 see
Matching with regular expressions, Perl-style 104
Matching with regular expressions, Perl-style, functions for 110
Matching with regular expressions, POSIX-style, functions for 101—103
Math, BCMath library 458
Math, functions for 376
Math, GNU MP (GMP) library 461
MAX() function 423
MCAL (Modular Calendar Access Library) 463
Mcrypt extension 464
md5() function 423
Memory, freeing from database query results 197
Memory, functions, managing in extensions 329—331
Memory, managing in PHP 33
Memory, reducing requirements for scripts 312
Memory, shared, shmop extension 467
Memory, shared, System V extension 468
Memory_limit directive (php.ini file) 331
Merging two arrays 135
Mersenne Twister generator, seeding 425
Message digests, mhash library 464
Metacharacters, regular expression 96
Metadata, database 202
Metadata, PDF file 235
metaphone() function 88 423
METHODS 28 141
methods, accessing 142
Methods, class and object, PEAR DB library 192
Methods, class, getting 148 405
methods, declaring 143
Methods, HTTP 158 159
Methods, HTTP in form processing 162
Methods, object, as XML parsing handlers 273
methods, overriding 145
methods, static 143
Methods, XML-RPC 281
method_exists() function 149 423
Mhash library 464
Microsoft, Access, PHP ODBC support for 371—373
Microsoft, Active Server Pages (ASP) 58
Microsoft, developer's site 361
Microsoft, Excel see "Excel"
Microsoft, SQL Server extension 464
Microsoft, Windows see "Windows systems" "PHP
Microsoft, Word see "Word"
microtime() function 311 423
MIME types, launching appropriate program for 258
MIME types, specifying for browser 158
MIME types, specifying for HTTP response 159
MIN() function 423
Ming library (for Shockwave Flash movies) 464
Minimal (non-greedy) matching 105
Minimum number of characters (printf() format modifier) 77
MINIT() function, registering destructor function for resource 349
Mixed-case string, converting to "title case" 81
mkdir() function 424
mktime() function 424
MnoGoSearch extension 464
Modes, row arrays from database query results 196
Modifiers, pattern matches 107
Modifiers, type specification 336
Modular Calendar Access Library (MCAL) 463
modulus (%) operator 38
Modulus assignment (%=) operator 45
move_uploaded_file() function 290 424
Movies (Flash), Ming library for 464
Movies (Flash), SWF extension 467
MSQL extension 464
mt_getrandmax() function 424
mt_rand() function 424
mt_srand() function 425
Multi-valued parameters, HTML forms 168—170
Multi-valued parameters, HTML forms, sticky 170
multidimensional arrays 120
multiplication (*) operator 38
Multiplication assignment (*=) operator 45
MySQL database, accessing, querying, and printing result 12—13
MySQL database, MySQL extension 465
MySQL database, replication 315
MySQL database, session store, using for 185
Names see also "Identifiers"
Names of static methods 143
Names, class 143
Names, sorting in ascending and descending alphabetical order 131
Namespaces in XML tags 264
natcasesort() function 133 425
Native Language Support (NLS) interface 461
natsort() function 133 425
Natural-order string comparisons 87
Navigation features, PDF files 255—259
Navigation features, PDF files, bookmarks and thumbnails 256—258
Navigation features, PDF files, links 257
Negation, - operator 38
Negation, bitwise (~ operator) 41
Negative color index, turning off antialiasing with 222
Negative lookahead and lookbehind assertions 108
Negative numbers in PHP array keys 117
Nested loops, breaking out of 51
Nesting, block comments, avoiding in 21
Nesting, function declarations 64
Nesting, subpatterns 106
Nesting, XML documents 263
nesting, XML tags 263
Networking, functions for 376
New keyword 28 141
Newlines (\n) in heredocs 75
Newlines (\n), end of string matching in regular expressions 104
Next loops, accessing sorted array ordering 131
next() function 126 425
nextlD() method 201
NIS (formerly Yellow Pages) 469
nl2br() function 425
NLS (Native Language Support) interface 461
Nonproportional scaling of images 248
Not identical (!==) operator 40
Notation declarations for unparsed entities 269
Notes, adding to PDF files 259
Notices 303
NUL-bytes in SQL queries 85
NUL-bytes, testing string for 95
Null value 29 417
Реклама