Авторизация
Поиск по указателям
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
Предметный указатель
Functions, side effects of 62 67
Functions, sorting arrays 28
functions, strings 89—95 377
Functions, strings, comparing 87
Functions, strings, exploding and imploding 91
Functions, strings, padding 91
Functions, strings, repeating 91
Functions, strings, reversing 90
Functions, strings, search functions 93—95
Functions, strings, substrings 89
Functions, strings, tokenizing 92
Functions, text in PDF files 239—241
Functions, tick, unregistering 454
Functions, variable 70
Functions, variable scope 64—66
Functions, variable scope, global, accessing from within functions 65
Functions, variable scope, static variables 65
function_exists() function 404
func_get_arg() function 68 404
func_get_args() function 68 404
func_num_args() function 68 404
fwrite() function 404
Garbage collection 33
Garbage collection, handler for sessions 187
Garbage collection, resources 29
GD extension, color handling 228—232
GD extension, drawing functions 220
GD extension, drawing primitives 218
GD extension, fonts 221—223
GD extension, fonts, TrueType 221
GD graphics library (open source) 215
Generating, images, steps in process 217
generating, XML 264
GET method (HTTP) 158 159
GET method (HTTP) in form processing 162
GET method (HTTP), $HTTP_GET_VARS array 160
GET method (HTTP), controlling global variables with the variables_order directive 287
GET method (HTTP), quotes state for operations 407
getAll() method 199
getAssoc() method 199
getCol() method 199
getcwd() function 408
GETDATE() function 408
getenv() function 409
gethostbyaddr() function 409
gethostbynamel() function 409
getlastmod() function 409
getListOf() method 202
getmxrr() function 409
getmyinode() function 409
getmypid() function 410
getOne() method 199
getprotobyname() function 410
getprotobynumber() function 410
getrandmax() function 410
getRow() method 199
getrusage() function 410
getservbyname() function 410
getservbyport() function 410
gettext library (GNU) 461
gettype() function 411
get_browser() function 405
get_cfg_var() function 405
get_class() function 149 405
get_class_methods() function 148 405
get_class_vars() function 148 405
get_current_user() function 406
get_declared_classes() function 148 406
get_defined_constants() function 406
get_defined_functions() function 406
get_defined_vars() function 406
get_extension_funcs() function 406
get_html_translation_table() function 83 406
get_included_files() function 56 407
get_loaded_extensions() 407
get_magic_quotes_gpc() function 407
get_meta_tags() function 84 407
get_object_vars() function 149 407
get_parent_class() function 150 408
get_preferences() function 67
get_required_files() function 408
get_resource_type() function 408
GIF image format 216
GIF image format in PDF files 246
glob 359
Global variables 32
Global variables and form data, security of 285—287
Global variables and form data, security of, setting variables_order in php.ini 287
Global variables, accessing from extension functions 343—345
Global variables, accessing from extension functions, executor globals 344
Global variables, accessing from extension functions, internal extension globals 344
Global variables, accessing from extension functions, SAPI globals 343
Global variables, accessing from within functions 65
Global variables, EGPCS, creating 159
Global variables, session 183
globbing filenames 359
gmdate() function 411
gmmktime() function 411
gmstrftime() function 411
GNU MP (GMP) library 461
Graphics 214—232
Graphics in PDF files 249—255
Graphics in PDF files, patterns 252—254
Graphics, basic concepts 216
Graphics, color handling 228—232
Graphics, color handling, identifying colors 230
Graphics, color handling, text representation of images 232
Graphics, color handling, true color color indexes 231
Graphics, color handling, using alpha channel 229
Graphics, creating and drawing images 217—220
Graphics, creating and drawing images, basic drawing functions 220
Graphics, creating and drawing images, graphics program structure 217
Graphics, creating and manipulating with GD extension 13—15
Graphics, dynamically generated buttons 223—227
Graphics, dynamically generated buttons, caching 224—227
Graphics, embedding images in pages 214
Graphics, GD extension 215
Graphics, image file formats 216 246
Graphics, image file formats, changing 218
Graphics, image file formats, testing for supported 219
Graphics, images with text 220—223
Graphics, images with text, fonts 221—223
Graphics, scaling images 227
greater than (>) operator 40
greater than or equal to (>=) operator 40
Greedy matching, Perl regular expressions 105
Greenwich Mean Time (GMT), in timestamps 411
Grouping patterns, non-capturing groups 106
Grouping patterns, replacing matched strings in 103
GUIs for client-side applications, writing with PHP/GTK 1
Gutmans, Andi 5
Gzip-compressed files, zlib library for reading/writing 469
Hash mark (#) in comments 19
header() function 175 412
headers, HTTP 158
Headers, HTTP, authentication 177
Headers, HTTP, Content-Type for image formats 218
Headers, HTTP, request, entries in $_SERVER array 162
Headers, HTTP, response 175—178
Headers, HTTP, response, Content-Type 176
Headers, HTTP, response, Cookie 179
Headers, HTTP, response, Expires 176
Headers, HTTP, response, Location header 176
Headers_sent() function 412
hebrev() function 412
hebrevc() function 412
Hello World PDF document (example) 234
Here documents (heredocs) 74
hexadecimal values 24
Hexadecimal values, formatting for printf() 77
hexdec() function 413
hidden form fields 178
Hidden form fields, session ID, passing via 184
highlight file() function 412
highlight_string() function 412
Hostnames, returning with IP address 409
HTML in PHP functions 62
HTML in strings, converting special characters to entities 81
HTML, blocks inside PHP statements 47
HTML, client-side scripting within pages 59
HTML, color options for pages 180
HTML, embedded PHP commands in pages 9
HTML, embedding images in pages 214
HTML, extracting URLs from pages 111
HTML, forms see "Forms"
HTML, loading from another module 54—56
HTML, PHP configuration page 10
HTML, tags, meta, extracting from strings 84 407
HTML, tags, removing from strings 83 447
HTML, transforming XML documents into XSL stylesheets 278 469
HTML, transforming XML documents into XSL transformation from files 279
HTML, transforming XML documents into XSL transformation from variables 279
HTML, translation tables for entities 83 406
htmlentities() function 82 406 413
htmlentities() function, translation table for quote style 83
htmlspecialchars() function 81 406 413
htmlspecialchars() function, translation table for quote style 83
HTTP 158 376
HTTP, environment information 356
HTTP, functions for 376
HTTP, GET and POST 159
HTTP, GET and POST in form processing 162
HTTP, GET and POST, headers see "Headers"
HTTP, GET and POST, sending XML-RPC request via POST 282
HTTP, methods 158
HTTP, request headers, entries in $_SERVER array 162
HTTP, request/reply messages, body of 158
HTTP, response 159 218
Httpd.conf file, configuring custom session storage 185
Httpd.conf file, configuring open_basedir 289
Httpd.conf file, configuring PHP for CGI and SAPI module 354
Httpd.conf file, configuring to place session files in your own directory 291
Httpd.conf file, security restrictions on PHP scripts 292
Httpd.conf file, setting safe_mode 293
https://URLs 188
Hyperwave extension 462
ICAP extension 462
Icons, representing notes in PDF files 259
Iconv extension (converting strings between encodings) 462
Idempotence, HTTP requests 163
Identifiers 21
Identifiers, class names 22
Identifiers, constants 22
Identifiers, database sequences 201
Identifiers, function names 22
Identifiers, heredoc 74
Identifiers, keywords and 23
Identifiers, variable names 22
Identifying colors 230
Identity (===) operator 40 86 93
IF statements 47
If statements, chaining 48
If statements, else clause 47
ignore_user_abort() function 413
ImageArc() function 220
ImageColorAllocate() function 218 228
ImageColorAt() function 230
ImageColorResolveAlpha() function 228 231
ImageColorsForIndex() 230
ImageCreate() function 217 228
ImageCreateFromJPEG() function 219
ImageCreateFromPNG() function 219
ImageDashedLine() function 220
ImageFill() function 220
ImageFilledPolygon() function 220
ImageFilledRectangle() function 218 220
ImageFillToBorder() function 220
ImageJPEG() function 218
ImageLine() function 220
ImageLoadFont() function 221
ImagePNG() function 218
ImagePolygon() function 220
ImageRectangle() function 220
Images 13—15 224—227
Images in PDF documents 246—249
Images in PDF documents, templates for 253—255
Images with text 220—223
Images with text, fonts 221—223
Images, converting to text 232
Images, creating and drawing 217—220
Images, creating and drawing, graphics program structure 217
Images, dynamically generated, for buttons 223—227
Images, embedding in a page 214
images, file formats 216
Images, file formats, changing 218
Images, file formats, EXIF extension 328 460
Images, file formats, testing for supported 219
Images, file formats, true color 216
Images, GD extension, generating with 215
Images, GD extension, generating with, file formats supported 216
images, scaling 227
Images, transparency 216 see
ImageSetPixel() function 220
ImageString() function 221
ImageTrueColorToPalette() function 229
ImageTTFText() function 222
ImageWBMP() function 218
Imagewidth and imageheight keywords 247
IMAP, POP, and NNTP extension 462
Imlib2 extension 216
implicit casting 37
implode() function 92 414
import_request_variables() 414
include construct 54—56
Include construct, opening remote files, security and 287
include() function 357
Included files, getting 407
Include_once construct 55
Including remote file with PHP on Windows 357
Incrementing alphabetic characters 39
Increments, expression 52
Indenting comments 21
Indexed arrays 116
Indexed arrays, calculating sum of values 135
Indexed arrays, database query results 196
Indexed arrays, initializing (example) 117
Indexed arrays, slicing 121
Indexed arrays, sorting, functions for 130
Indexes, true color 231
Inequality (!= or <>) operators 40
Infinite loops 53
Infinite loops, print_r() function used on recursive structures 79
Informix databases (extension for) 462
Ingres II databases (extension for) 462
inheritance 141 145
INI entries, defining in extensions 347
initializing, arrays 117
Initializing, PDF documents 234
initializing, variables 286
ini_alter() function 414
ini_get() function 414
ini_restore() function 414
ini_set() function 415
Inline options (within patterns) 108
Inode values for files 409
Inproc server 360
Inserting array elements 123
Inserting text into strings 90
installing PHP 7—9
Installing PHP on Windows 351
Реклама