Авторизация
Поиск по указателям
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
Предметный указатель
Extensions 457—469
Extensions for PHP on Windows 354
Extensions, Apache 457
Extensions, aspell 457
Extensions, BCMath 458
Extensions, bzip2 compression 458
Extensions, calendar 458
Extensions, CCVS 458
Extensions, clibpdf 458
Extensions, close or shutdown function, triggering resource cleanup 29
Extensions, COM 459
Extensions, ctype library 459
Extensions, CURL 459
Extensions, Cybercash 459
Extensions, CyberMUT 459
Extensions, dBase 459
Extensions, DBM 460
Extensions, dbx 460
Extensions, DOM XML 460
Extensions, dynamically loading 393
Extensions, EXIF (Exchangeable Image File Format) 328 460
Extensions, FDF (Forms Data Format) 461
Extensions, filePro 461
Extensions, FriBiDi 461
Extensions, FTP 461
Extensions, functions provided by, getting 406
Extensions, GD graphics library 215
Extensions, gettext 461
Extensions, GNUMP 461
Extensions, iconv 462
Extensions, IMAP, POP, and NNTP 462
Extensions, Imlib2 216
Extensions, Informix 462
Extensions, Ingres II databases 462
Extensions, InterBase 463
Extensions, IRC gateway 463
extensions, Java 463
Extensions, Kerberos 463
Extensions, loaded, getting names of 407
Extensions, mhash 464
Extensions, Microsoft SQL Server 464
Extensions, Ming library (Flash movies) 464
Extensions, mnoGoSearch 464
Extensions, MySQL 465
Extensions, ODBC 465
Extensions, Oracle 465
Extensions, Ovrimos SQL 465
Extensions, PDF 233
Extensions, PDF, checking whether installed 302
Extensions, PDF, pdflib 466
Extensions, PEAR DB 197 202
Extensions, PEAR DB, accessing databases with 189 192
Extensions, PEAR DB, class and object methods 192
Extensions, PEAR DB, database performance and 189
Extensions, PEAR DB, getting data from query results 195
Extensions, platform-specific 359
Extensions, PostgreSQL 466
Extensions, pspell 466
Extensions, Readline 466
Extensions, Recode 467
Extensions, Satellite CORBA Client 467
Extensions, shmop 467
Extensions, SNMP 467
Extensions, sockets 467
Extensions, SWF (Shockwave Flash) 467
Extensions, Sybase 468
Extensions, System V Semaphores and Shared memory 468
Extensions, vpopmail 468
Extensions, WDDX 468
Extensions, writing m C for PHP 317—350
Extensions, writing m C for PHP, architectural overview 317
Extensions, writing m C for PHP, command-line PHP 319
Extensions, writing m C for PHP, compiling 325
Extensions, writing m C for PHP, config.m4 file 327—329
Extensions, writing m C for PHP, creating variables 345—347
Extensions, writing m C for PHP, developers mailing list 350
Extensions, writing m C for PHP, external dependencies 328
Extensions, writing m C for PHP, function return values 338—341
Extensions, writing m C for PHP, global variables 343—345
Extensions, writing m C for PHP, INI entries 347
Extensions, writing m C for PHP, memory-management functions 329—331
Extensions, writing m C for PHP, parameter handling 335—337
Extensions, writing m C for PHP, PHP source code, downloading latest 318
Extensions, writing m C for PHP, planning 320
Extensions, writing m C for PHP, pval/zval data type 331—335
Extensions, writing m C for PHP, references 342
Extensions, writing m C for PHP, resources 349
Extensions, writing m C for PHP, skeleton extension, creating and fleshing out 320 322—325
Extensions, writing m C for PHP, software tools 319
Extensions, writing m C for PHP, testing 326
Extensions, XML parser 468
Extensions, xmlrpc 280
Extensions, xmlrpc, documentation, web site 284
Extensions, XSLT 277 469
Extensions, YAZ 469
Extensions, YP/NIS 469
Extensions, Zend 317
Extensions, ZIP files 469
extension_loaded() function 397
External XML entities 268
External XML entities, parsing 269
EXTRACT() function 124 397
Extracting multiple values from arrays 120
Fall-through case, combining cases in 49
False keyword 27
fclose() function 397
feof() function 358 397
fetchInfo() method 192 196
fetchRow() method 195
fgetc() function 398
fgets() function 398
fgetss() function 398
File endings on Unix and Windows 358
file formats, image 216
File formats, image in PDF files 246
File formats, image, button supporting multiple 227
File formats, image, changing 218
File formats, image, testing for supported 219
File globbing 359
File permissions, security and 291
file() function 399
fileatime() function 399
filectime() function 399
filegroup() function 399
fileinode() function 399
filemtime() function 400
filenames, security and 287—289
fileowner() function 400
fileperms() function 400
FilePro extension 461
Files, attaching to PDF document 260
Files, compressed, ZIP files extension 469
Files, compressed, zlib compression extension 469
files, compressing 458
Files, deleting, unlink() function (example) 62
Files, fflush() function 398
Files, functions for 376
Files, included or required, getting 56
Files, last-modification date 409
Files, not using files for security reasons 292
Files, reading and outputting contents 436
files, renaming 437
files, temporary 452
Files, uploaded, moving 424
files, uploading 172 289
Files, uploading, information about ($HTTP_POST_ FILES) 160
Files, writing PDF data to 234
filesize() function 224 400
filesystem, functions for 376
filetype() function 400
file_exists() function 399
Filled images, drawing 220
Filling, graphic paths 250—252
Filling, graphic paths, patterns for 252—254
Filling, text 242
fillTemplate() function 299 300
Filtering elements from an array 136
Financial transactions, CyberMUT extension 459
Financial transactions, Verisign Payflow Pro extension 466
First character of string, changing case of 81
Flags, pattern modifying, inline options 108
Flags, pattern modifying, trailing options 107
Flash, animations, libswf extension 328
Flash, Ming library for movies 464
Flash, SWF extension for movies 467
floating-point data types 24
Floating-point data types, formats in PHP 25
Floating-point data types, padding for printf() output 78
Floating-point data types, precision specifier for 77
Floating-point data types, storing in double-precision 331
flock() function 400
floor() function 401
Flow-control statements 46—54
Flow-control statements, declare 54
Flow-control statements, exit and return 54
Flow-control statements, for 52
Flow-control statements, foreach 53
Flow-control statements, switch 48—50
Flow-control statements, while 50—52
flush() function 401
flushing buffers 301
FontAFM, FontPFM, and FontOutline settings to pdflib.upr file 244
Fonts 221—223
Fonts in PDF files 243—246
Fonts in PDF files, built-in 244
Fonts in PDF files, embedding 244—246
Fonts in PDF files, setting 236
Fonts, GD extension, differences in versions 222
Fonts, TrueType, using with GD 221
fopen() function 401
fopen() function, file permissions and 291
fopen() function, opening remote files with, security and 287
for loops 52
For loops, traversing arrays with 127
foreach loops 53
Foreach loops, accessing sorted array ordering 131
Foreach loops, arrays, looping across 27
Foreach loops, arrays, traversing with 125
Formatted strings, printing 76
Formatted strings, printing, format modifiers 76
Formatting error messages 306
Forms, creating and processing (example) 10
Forms, Forms Data Format (FDF) library 461
Forms, global variables and, security of 285—287
Forms, global variables and, security of, setting variables_order in php.ini 287
Forms, hidden fields, state information in 178
Forms, hidden fields, storing session IDs in 184
Forms, preference selection for page colors 180
Forms, processing 162—175
Forms, processing, file uploads 172
Forms, processing, GET and POST methods 162
Forms, processing, multi-valued parameters 168—170
Forms, processing, parameters 163
Forms, processing, quoting parameters automatically 164
Forms, processing, self-processing pages 165—167
Forms, processing, sticky forms 167
Forms, processing, sticky multi-valued parameters 170
Forms, processing, validation 173—175
Forms, sending over secure connections 188
Forms, user input, HTML template for 298
fpassthru() function 402
fputs() function 402
fread() function 402
free() method 197
Freeing, memory see "Memory"
Freeing, variable values 34
Freeing, XML parser 271
FreeType library, providing TrueType fonts 221
FriBiDi extension 461
fscanf() function 402
fseek() function 403
fsockopen() function 403
fstat() function 403
ftell() function 404
FTP extension 461
ftruncate() function 404
Full paths, resolving filenames to 288
function Entry macro 322
Functions 61—71 375—456 see
Functions for POSIX-style regular expressions 101
Functions for URLs 377
Functions for variables 377
functions, anonymous 71
Functions, array sorting 130
functions, arrays 375
Functions, arrays, inserting elements into 340
Functions, arrays, modifying or applying operation to all elements 135
functions, calling 61
Functions, calling for each array element 128
Functions, case-insensitivity in names 17
Functions, change-handling, for INI entries 347
Functions, changing case of strings 81
Functions, classes and objects 375
functions, constructor 146
Functions, converting arrays to/from variables 124
Functions, data type 377
functions, date and time 375
Functions, defined, getting names of 406
functions, defining 62—64
Functions, defining, nested declarations 64
Functions, disabling for security reasons 295
Functions, drawing basic images 220
Functions, errors and logging 375
Functions, exposing as XML-RPC methods 281
Functions, extension, accessing internal PHP global variable 343—345
Functions, extension, creating variables 345—347
Functions, extension, memory management 329—331
Functions, extension, parameter handling 335—337
Functions, extension, returning 338—341
Functions, files, directories, and filesystem 376
Functions, global scope 32
Functions, iterator 126
Functions, iterator, building tables with 127
Functions, local scope 31
Functions, mail 376
functions, math 376
Functions, names of 22
Functions, network 376
Functions, object introspection 148
Functions, object introspection, sample program 150—153
Functions, output 376
functions, parameters 33 66—69
Functions, parameters, default 67
Functions, parameters, missing 69
Functions, parameters, passing by reference 66
Functions, parameters, passing by value 66
Functions, parameters, variable number of 68
Functions, Perl-style regular expressions 110—115
Functions, Perl-style regular expressions, additional PHP flags 107
Functions, Perl-style regular expressions, preg_match() 110
Functions, Perl-style regular expressions, preg_quote() 115
Functions, Perl-style regular expressions, preg_replace() 112
Functions, Perl-style regular expressions, preg_split() 114
Functions, PHP for Apache server 356
Functions, PHP interface into COM 360
Functions, PHP options/info 376
Functions, program execution 377
Functions, replacing text 103
Functions, resources within, automatic cleanup of 29
functions, returning values from 63
Реклама