Авторизация
Поиск по указателям
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
Предметный указатель
Numbers 417
Numbers, changing sign of 38
Numbers, converting strings to 37
number_format() function 426
numCols() method 200
Numeric comparisons 39
numRows() method 200
Object methods 141
Object methods as XML parsing handlers 273
Object methods, PEAR DB library 192
Object-Oriented Programming 28
Object-oriented programming, declaring classes 143
Object-oriented programming, PEAR DB library 192
Object-oriented programming, PHP terminology 141
Objects 28 140—157 417
Objects in XML parsing 273
Objects, casting to/from arrays 44
Objects, COM class and VARIANT type 360
objects, creating 141
objects, defined 141
Objects, displaying with print_r() 78
Objects, extension functions returning 340
Objects, functions for 375
Objects, getting class for 405
Objects, introspection 147—153
objects, properties 141 407
Objects, properties and methods, accessing 142
Objects, rows in database query results 197
Objects, serialization of 153—157 438
Objects, serialization of, logfile (example) 155—157
Objects, serialization of, unserializing 454
Objects, serialization of, __sleep () and __wakeup() methods 155
ob_clean() function 301
ob_end_clean() function 301 426
ob_end_flush() function 302 426
ob_flush() function 301
ob_get_contents() function 301 426
ob_get_length() function 301 426
ob_gzhandler() function 303 427
ob_implicit_flush() function 427
ob_start() function 301 427
octal numbers 24
octdec() function 427
ODBC data sources, interacting with 367—373
ODBC data sources, interacting with, Access 371—373
ODBC data sources, interacting with, configuring a DSN 367
ODBC data sources, interacting with, Excel, accessing data 368
ODBC data sources, interacting with, Excel, limitations as database 369—371
ODBC extension 465
OLE (object linking and embedding) 360
OLE (Object Linking and Embedding), COM objects and parameters, exposing with Word macro 361—363
opendir() function 427
opening, files 401
Opening, sessions 185
Opening, TCP or UDP connection on remote host 403
Opening, TCP or UDP connection on remote host on specific port 431
openlog() function 428
Open_basedir option, restricting filesystem access with 288 289
operands 34
Operands, number of 36
Operating systems, determining 355 431
Operating systems, supporting PHP 1
Operators 34—46
operators, arithmetic 38
operators, assignment 44—46
Operators, associativity of 36
Operators, autoincrement and autodecrement 39
operators, bitwise 41—42
Operators, casting 43
Operators, casting operand types 37
operators, comparison 39
operators, logical 42
Operators, miscellaneous 46
Operators, number of operands 36
operators, precedence of 36
Operators, string concatenation 38
Operators, summary of 34
Optimizing, code 308
Optimizing, database connections 194
Optimizing, execution time 312
Optimizing, memory requirements 312
OR operator, | (bitwise OR) 41
OR operator, |= (bitwise OR assignment) operator 46
Oracle extensions 465
ord() function 428
Origin (PDF coordinates), changing 238
Out-of-process server 360
Output 301—303
Output, buffering 301
Output, buffering in error handlers 307
Output, buffering, functions for 426
Output, buffering, setting file buffer size 439
Output, changing document references 302
Output, changing document references with rewrite() callback function 302
Output, compressing 303
Output, end-of-line handling on Windows 358
Output, functions for 376
Output, PDF, basic text 236
Output, PDF, buffering 234
Output, PDF, phpinfo() function, checking for installed module 302
Overline, text in PDF files 241
Overriding methods, derived class vs. parent class 145
Ovrimos SQL extension 465
pack() function 428
Padding, arrays 119
Padding, printf() output 78
Padding, specifying in printf() format modifier 77
Padding, strings 91
Pages, PDF see also "Web pages"
Pages, PDF, creating 235
Pages, PDF, transitions 261
Palette 216
Palette, GD entries 229
Palleted images, converting to true color 229
Parameters, form, accessing from PHP code 163
Parameters, form, multi-valued 168—170
Parameters, form, sticky multi-valued 170
parameters, function 33 61 66—69
Parameters, function, default 67
Parameters, function, handling in extensions 335—337
Parameters, function, missing 69
Parameters, function, passing by reference 66
Parameters, function, passing by value 66
Parameters, function, variable numbers of 68
Parameters, PDF, setting 235
Parent class, getting name of 150
parse errors 303
parse() function 269
parse_ini_file() function 429
parse_str() function 227 429
parse_url() function 95 430
Parsing XML 265—277
Parsing XML, character data handler 267
Parsing XML, creating a parser 271
Parsing XML, default handler 270
Parsing XML, element handlers 266
Parsing XML, entity handlers 268
Parsing XML, errors 272
Parsing XML, methods as handlers 273
Parsing XML, options 270
Parsing XML, PHP's XML parser 266
Parsing XML, processing instructions 267
Parsing XML, sample application 273—277
passing by reference 66
passing by value 66
passthru() function 430
Passthru() function, security risks with shell commands 295
Passwords, authenticating 177
pathinfo() function 430
Paths, specifying for graphical shapes 249—252
Pattern matching see "Regular expressions"
Patterns for filling or stroking paths 252—254
pclose() function 430
PDF (Portable Document Format) 233—261
PDF (Portable Document Format), attaching files to document 260
PDF (Portable Document Format), clibpdf extension 458
PDF (Portable Document Format), documents and pages 233
PDF (Portable Document Format), documents, terminating and streaming 236
PDF (Portable Document Format), graphics in 249—254
PDF (Portable Document Format), graphics in, patterns for filling or stroking paths 252—254
PDF (Portable Document Format), images and graphics, templates for 253—255
PDF (Portable Document Format), images in 246—249
PDF (Portable Document Format), metadata, setting 235
PDF (Portable Document Format), module, checking if installed 302
PDF (Portable Document Format), navigation features 255—259
PDF (Portable Document Format), navigation features, bookmarks and thumbnails 256—258
PDF (Portable Document Format), navigation features, links 257
PDF (Portable Document Format), note annotations 259
PDF (Portable Document Format), outputting basic text 236
PDF (Portable Document Format), page transitions 261
PDF (Portable Document Format), pages, creating 235
PDF (Portable Document Format), pdflib extension 466
PDF (Portable Document Format), PHP extensions for 233
PDF (Portable Document Format), text in 237—246
PDF (Portable Document Format), text in, altering appearance of 241—243
PDF (Portable Document Format), text in, coordinates for placement 237—239
PDF (Portable Document Format), text in, fonts 243—246
PDF (Portable Document Format), text in, functions for manipulating 239—241
Pdflib extension 233 244 466
Pdflib extension, links and 257
Pdflib extension, nonstandard fonts and 244
Pdflib extension, parameters 235
Pdflib extension, pdflib.upr file 244
Pdflib extension, transparency and 246
pdf_add_bookmark() function 256
pdf_add_launchlink() function 258
pdf_add_locallink() function 257
pdf_add_note() function 259
pdf_add_pdflink() function 258
pdf_add_weblink() function 258
pdf_arc() function 250
pdf_attach_file() function 260
pdf_begin_pattern() function 252
pdf_begin_template() function 254
pdf_circle() function 249
pdf_close() function 236
pdf_closepath() function 250
pdf_continue_text() function 240
pdf_curveto() function 250
pdf_delete() function 237
pdf_end_page() function 235
pdf_end_template() function 254
pdf_fill_stroke() function 250
pdf_findfont() function 244
pdf_get_buffer() function 234
pdf_get_parameter() function 235
pdf_get_value() function 247
pdf_lineto() function 249
pdf_moveto() function 249
pdf_new() function 234
pdf_open_ format() function 247
pdf_open_file() function 234
pdf_place_image() function 247
pdf_rect() function 249 250
pdf_restore() function 254
pdf_save() function 254
pdf_scale() function 239
pdf_setcolor() function 242
pdf_set_border_style() function 258
pdf_set_info() function 235
pdf_set_parameter() function 235 240 244
pdf_set_textpos() function 239
pdf_show() function 239
pdf_show_boxed() function 240
pdf_stroke() function 250
pdf_translate() function 239
PEAR (PHP Extension and Application Repository) DB library 2
PEAR (PHP Extension and Application Repository) DB library, accessing databases with 189 192
PEAR (PHP Extension and Application Repository) DB library, advanced techniques 197
PEAR (PHP Extension and Application Repository) DB library, database performance and 189
PEAR (PHP Extension and Application Repository) DB library, fetching data from query results 195
PEAR (PHP Extension and Application Repository) DB library, installing 9
PEAR (PHP Extension and Application Repository) DB library, methods providing information on query results 200
PEAR (PHP Extension and Application Repository) DB library, transactions, methods for 202
Percentages, formatting for printf() output 78
performance tuning 308—316
Performance tuning, benchmarking 309—311
Performance tuning, debugging extensions and 330
Performance tuning, optimizing execution time 312
Performance tuning, optimizing memory requirements 312
Performance tuning, profiling 311
Performance tuning, reverse proxies and replication 313—316
Performance tuning, reverse proxies and replication, load balancing and redirection 314
Performance tuning, reverse proxies and replication, MySQL replication 315
Perl regular expressions 103—115
Perl regular expressions, anchors 105
Perl regular expressions, backreferences 106
Perl regular expressions, character classes 105
Perl regular expressions, conditional expressions 110
Perl regular expressions, cut subpattern 109
Perl regular expressions, delimiters 104
Perl regular expressions, differences in PHP implementation 115
Perl regular expressions, flags (trailing options) 107
Perl regular expressions, inline options 108
Perl regular expressions, lookahead and lookbehind assertions 108
Perl regular expressions, match behavior 104
Perl regular expressions, non-capturing groups 106
Perl regular expressions, PHP functions for 110—115
Perl regular expressions, quantifiers and greed 105
Permissions, chmod() function 387
permissions, file 291
Permissions, umask() function 453
Persistence, database connections 194
Personal Web Server see "PWS"
pfsockopen() function 431
PHP installer, automatic configuration with 353
PHP, building with support for databases 190
PHP, configuration page, creating 10
PHP, databases see "Databases"
PHP, download site for most recent version 351
PHP, forms 10
PHP, Function Entry macro 322
PHP, graphics 13—15
PHP, history of 2—7
PHP, history of, Version 1 2
PHP, history of, Version 2 4
PHP, history of, Version 3 5
PHP, history of, Version 4 6
PHP, info/options, functions for 376
PHP, installing 7—9
PHP, language 17—60
PHP, language, comments 19—21
PHP, language, data types 23—28
PHP, language, embedding in web pages 56—60
PHP, language, expressions and operators 34—46
PHP, language, flow-control statements 46—54
PHP, language, garbage collection 33
PHP, language, identifiers 21
PHP, language, including code 54—56
PHP, language, keywords 23
PHP, language, lexical structure 17—23
PHP, language, literals 21
PHP, language, resources 29
PHP, language, statements and semicolons 17
PHP, language, variables 30—33
PHP, language, whitespace and line breaks 18
PHP, prepackaged Windows distributions of 354
PHP, shell-based program, creating 15—16
PHP, tags, removing from strings 447
Php.ini file, directives recommended for production systems 286
Реклама