Авторизация
Поиск по указателям
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
Предметный указатель
create_function() function 71 390
create_parser() function 269
Credentials 177
Credit-card processing services, CCVS library 458
Credit-card processing services, Cybercash libraries 459
Credit-card processing services, validator, using Luhn checksum 101
Credit-card processing services, Verisign Payflow Pro extension 466
crypt() function 391
Cryptography, mcrypt extension 464
Cryptography, mhash library 464
Ctype library 459
CURL functions 459
Current() function 126 391
Cursor, positioning in PDF text 239 249
Customizing session information storage 185
Cut subpattern, Perl regular expressions 109
Cybercash library 459
CyberMUT (financial transaction service) 459
Data Definition Language (DDL) 191
Data manipulation language (DML) 191
Data Source Name "DSN"
Data types 23—28
Data types in printf() format modifiers 77
data types, arrays 27 116—139
Data types, booleans 26
data types, casting 37 43
Data types, converting values to given type 440
Data types, extension function return values 338—341
Data types, extension function return values, arrays 339
Data types, extension function return values, objects 340
Data types, extension function return values, simple types 338
Data types, floating-point numbers 24 416
Data types, functions for 377
Data types, gettype() function 411
data types, integers 24 416
Data types, is_double() function 416
Data types, NULL value 29
data types, objects 28 140—157
Data types, pval/zval 331—335
Data types, pval/zval, macros to access zval fields 333—335
Data types, pval/zval, zval_copy_ctor() function 332
data types, Strings 25
Data types, type_spec strings 335
Data types, type_spec strings, specification characters/modifiers 336
Data types, xmlrpc extension and 283
Database Queries see "SQL"
databases 2 189—213
Databases, accessing with PHP with PEAR DB library 189
Databases, accessing with PHP, configuring database support 190
Databases, accessing with PHP, using database-specific extensions 189
Databases, advanced techniques 197
Databases, advanced techniques, placeholders for query values 198
databases, connecting to 194
Databases, data source names (DSNs) 192
Databases, disconnecting from 197
Databases, error checking 194
Databases, filePro extension 461
Databases, Hyperwave library for storing and managing documents 462
Databases, Informix extension 462
Databases, Ingres II extension 462
Databases, InterBase extension 463
Databases, metadata 202
Databases, Microsoft SQL Server extension 464
Databases, MySQL, accessing, querying, and printing result 12—13
Databases, MySQL, extension for 465
Databases, MySQL, mSQL server extension 464
Databases, MySQL, session information, storing in 185
Databases, ODBC extension 465
Databases, Oracle extensions 465
Databases, Ovrimos SQL extension 465
Databases, PostgreSQL extension 466
databases, queries 195 see
Databases, queries, preparing for multiple executions 198
Databases, queries, response details, methods providing 200
Databases, read and write handlers 186
Databases, relational databases and SQL 190
Databases, replication for performance tuning 315
Databases, sample application 202—212
Databases, sample application, adding a business 207—211
Databases, sample application, administrator's page 205—207
Databases, sample application, database connection 204
Databases, sample application, database information, displaying 211
Databases, sample application, database tables 203
Databases, sequences 201
Databases, shortcuts for performing query/fetching results 199
Databases, Sybase extension 468
databases, transactions 202
Dates and times, calendar events, MCAL extension 463
Dates and times, calendar library 458
Dates and times, checkdate() function 387
Dates and times, date() function, formatting with 391
Dates and times, dates, formatting for printfQ 78
Dates and times, functions for 375
Dates and times, getdate() function 408
Dates and times, gettimeofday() function 411
Dates and times, gmmktime() function 411
Dates and times, ICAP extension for calendar events 462
Dates and times, locales, formatting for 445
Dates and times, seconds and microseconds since Unix epoch 423
Dates and times, timeout for current script, setting 439
Dates and times, timestamps 411 421 424 451
DB::connect() method 192 194
DB::getMessage() method 195
DB::isError() method 192 194
DBase library 459
DBM-style database abstraction library 460
DBM-style database library 460
Dbx extension 460
DB_FETCHMODE_ASSOC 196
DB_FETCHMODE_OBJECT 197
DB_FETCHMODE_ORDERED 196
DB_OK constant 195
DDE (Dynamic Data Exchange) 360
DDL (Data Definition Language) 191
Debugging, database connections 194
Debugging, extensions 330
Debugging, object-oriented programs 141
Debugging, state, program for 138
decbin() function 392
dechex() function 392
decimal numbers 24
Decimal numbers, formatting for printf() 77
Declarations, unparsed entities 269
DECLARE statements 54
Declared classes, getting array of 148
declaring, methods 143
Declaring, properties 144
Declaring, static function variables 66
Declaring, variables by setting value 30
decoct() function 392
Decoding URL-encoded strings 84
Decomposing strings 91—93
Decomposing strings, URLs 95
Default handler, XML parsing 270
Default keyword 49
define() function 23
Define_syslog_variables() function 393
defining, classes 28 141 143
defining, functions 62—64
Defining, functions, nested declarations 64
deg2rad() function 393
Deleting, files with unlink() function 62
Deleting, text from strings 90
Delimiters, pattern 104
Dereferencing zval 335
derived classes 141 418
Descending order, sorting arrays in 130
Destroy handler for sessions 187
Destructor function for resource 349
Developers sites, Microsoft 361
Developers sites, PHP extensions (C language) 350
die() function 54 62
Difference between arrays, calculating 136
Dimensions of images in PDF files 247
Directories, current working directory 408
Directories, deleting 437
Directories, dirname() function 393
Directories, functions for 376
Directories, LDAP protocol extension 463
Directories, mkdir() function 424
Disable_functions option (php.ini) 295
disconnect() method 197
disk_free_space() function 393
disk_total_space() function 393
Displaying PHP values in human-readable form 79
display_classes() function 148
Distributed COM(DCOM) 360
division (/) operator 38
Division assignment (/=) operator 45
dl() function 393
DML (data manipulation language) 191
do/while loops 51
Document type definition (DTD) 263
Documents, PDF 233
Documents, PDF, Hello World (example) 234
Documents, PDF, initializing 234
Documents, PDF, terminating and streaming 236
DOM (Document Object Model) XML library 460
doubleval() function 393
Drawing images in PDF documents 249—252
Drawing images, basic drawing functions 220
Drawing images, drawing primitives in GD 218
dropSequence() method 202
DSN (Data Source Name) 192
DSN (data source name), configuring with ODBC PHP 367
DSN (data source name), selecting appropriate 204
DTD (Document Type Definition) 263
DTP points 237
Dynamic data exchange (DDE) 360
Dynamic XML, generating 264
each() function 126 394
echo command 10 76
echo() function 394
efree() function 329
EG (Executor Globals) 344
EGPCS (environment, GET, POST, cookie, and server) variables 159
EGPCS (environment, GET, POST, cookie, and server) variables, aliases for 160
EGPCS (environment, GET, POST, cookie, and server) variables, controlling with variables_order directive 287
Element handlers 266
Elements, array, checking whether element exists 122
Elements, array, filtering from 136
Elements, array, getting number of 119
Elements, array, identifying 117
Elements, array, removing and inserting 123
Elements, array, traversing 125
ELSE clause 47
Email, functions for 376
Email, IMAP, POP, and NNTP extension 462
Email, vpopmail extension 468
emalloc() function 329
Embedding, fonts in PDF files 244—246
Embedding, PHP in web pages 56—60
Embedding, PHP in web pages, ASP tags, using 58
Embedding, PHP in web pages, echoing content directly 59
Embedding, PHP in web pages, script style 59
Embedding, PHP in web pages, SGML tags, using 58
Embedding, PHP in web pages, XML-compliant tags, using 57—58
Empty arrays, constructing 118
Empty expressions 53
Empty() function 394
Encapsulation 141
Encoding, SQL 85
Encoding, strings according to URL conventions 84
Encoding, strings, C language 85
Encryption (mcrypt extension) 464
End element handler 266
End() function 126 394
End-of-file handling 397
End-of-file handling on Unix and Windows 358
End-of-line handling, on Unix and Windows 358
Endif keyword 47
Entities, HTML, converting string characters into 81
Entities, HTML, translation tables for 83 406
entities, XML 268
Entities, XML, external 268
Environment variables 356 409
Environment variables, $HTTP_ENV_VARS array 160
Environment variables, server 160
environment variables, setting 434
Environment variables, variables_order directive in php.ini 287
equality (==) operator 40
Equivalence class 100
ereg() function 101 394
eregi() function 101 395
eregi_replace() function 103
ereg_replace() function 103 394 395
Error handling 303—308
Error handling, defining error handlers 305—308
Error handling, defining error handlers, formatting and printing errors (example) 306
Error handling, defining error handlers, logging in 306
Error handling, defining error handlers, output buffering 307
Error handling, logging error messages to system log 451
Error handling, reporting errors 303
Error handling, reverting to prior handler 437
Error handling, setting error handler 438
Error handling, suppressing errors 304
Error handling, triggering errors 305 452
Error suppression (@) operator 46
Errors 303
Errors, checking databases for 194
Errors, functions for 375
Errors, warnings about, disabling public visibility of 286
Errors, XML 272
error_log() function 306 395
error_log() function, logging session errors 187
error_reporting() function 304 395
Escape sequences in double-quoted strings 25 73
Escape sequences in single-quoted strings 73
Escape sequences, removing from strings 446
escapeshellarg() function 295 396
escapeshellcmd() function 396
Escaping special characters in shell commands 295
eval() function, security risks of 294
Event-based XML parsing 266
Excel, accessing data with ODBC PHP 368
Excel, configuring DSN with ODBC PHP 367
Excel, limitations as database 369—371
Excel, reading and writing files with PHP COM 366
Exchangeable Image File Format (EXIF) extension 328 460
exec() function 396
exec() function, security risks with shell commands 295
execute() method 198
executeMultiple() method 198
execution (') operator 46
Execution time, optimizing 312
Executor Globals (EG) 344
EXIF (Exchangeable Image File Format) extension 328 460
Exit statements 54
Exp() function 396
Expiration, PHP session ID cookies 184
Expires header 176
explode() function 91 397
Expressions 34—36
Expressions in for loop 52
Expressions, autoincrementing and autodecrementing 39
Expressions, empty 53
Expressions, ternary conditional operator, using on 48
extends keyword 145
Extensible Markup Language see "XML"
Extensible Stylesheet Language see "XSL"
Реклама