Главная    Ex Libris    Книги    Журналы    Статьи    Серии    Каталог    Wanted    Загрузка    ХудЛит    Справка    Поиск по индексам    Поиск    Форум   
blank
Авторизация

       
blank
Поиск по указателям

blank
blank
blank
Красота
blank
Lerdorf R., Tatroe K., MacIntyre P. — Programming PHP
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.


Язык: en

Рубрика: Computer science/

Статус предметного указателя: Готов указатель с номерами страниц

ed2k: ed2k stats

Издание: 2nd

Год издания: 2002

Количество страниц: 508

Добавлена в каталог: 13.04.2014

Операции: Положить на полку | Скопировать ссылку для форума | Скопировать ID
blank
Предметный указатель
Security, filenames and, checking for relative paths      288
Security, filenames and, restricting filesystem access      289
Security, files, not using      292
Security, global variables and form data      285—287
Security, global variables and form data, initializing variables      286
Security, global variables and form data, variables_order directive in php.ini      287
Security, safe mode for shared servers      292
Security, shell commands      295
Security, summary of good practices      296
Seeding, Mersenne Twister generator      425
Seeding, random-number generator      443
sendmail      356
SEPARATE_ZVAL() macro      332
Sequences, database      201
serialize() function      438
Serializing objects      153—157
Serializing objects, logfile (example)      155—157
Serializing objects, __sleep() and __wakeup() methods      155
server-side scripting      1
Servers with PHP linked in      318
Servers, $HTTP_SERVER_VARS array      160
servers, Apache      see "Apache web servers"
Servers, database      315
Servers, global variables for, controlling      287
Servers, in-process (inproc)      360
Servers, information about ($_SERVER array)      160—162
Servers, load balancing and redirection      314
Servers, out-of-process      360
Servers, remote, YAZ toolkit implementing Z39.50 protocol      469
Servers, reverse proxy caches      313
Servers, SAPI (Server Abstraction API) global variables      343
Servers, Server header      159
Servers, shared, safe mode for security      292
Servers, XML-RPC      281
Session files, file permissions and      291
session tracking      178
Sessions      182—187
Sessions, ab (Apache benchmarking) utility and      310
Sessions, close handler for      186
Sessions, combining cookies with      187
Sessions, destroy handler for      187
Sessions, errors, logging to file      187
Sessions, garbage-collection handler for      187
Sessions, open handler for      185
Sessions, read and write handlers for      186
Sessions, registering variables for      183
Sessions, session IDs, expiration of cookies      184
Sessions, session IDs, storing in cookies      182
Sessions, session IDs, storing in form fields or URLs      184
Sessions, session information storage, customizing      185
Sessions, setting page-color preferences with      183
Sessions, using preferences from      184
session_destroy() function      183
session_is_registered() function      183
session_register()      183
session_set_save_handler() function      185 187
session_start() function      183 187
session_unregister() function      183
setcookie() function      175 179 439
setlocale() function      440
Sets, implementing with arrays      137
settype() function      440
set_error_handler() function      305 438
set_file_buffer() function      439
set_time_limit() function      439
SGML, embedding PHP with SGML tags      58
shell commands      430 451
Shell commands, opening pipe to process executed on      432
Shell commands, security and      295
Shell commands, Unix and Windows      359
Shell-based PHP programs      15—16
shell-style comments      19
shell_exec() function      440
Shmop extension      467
Shockwave Flash movies, Ming library      464
Shockwave Flash movies, SWF extension for creating      467
short tags      58
Shortcuts in database queries      199
shuffle() function      134 440
Shutdown function, registering      436
Shutdown or close function (extensions), triggering resource cleanup      29
Side effects of a function      62 67
Sign specifier (printf() format modifier)      77
similar_text() function      88 440
sin() function      62 441
size of files      224
Size of images, scaling      227
sizeof() function      119 441
sleep() function      441
slicing arrays      121
SMTP servers      356
SNMP extension      467
SOAP protocol      280
Sockets, extension for      467
Sockets, SSL      188
socket_get_status() function      441
socket_set_blocking() function      441
socket_set_timeout() function      441
Software tools for writing PHP extensions      319
Sort() function      130 442
sorting, arrays      28 130—135
Sorting, arrays in natural order      133 425
Sorting, arrays in random order      134 440
Sorting, arrays in reverse order      134 419 438
Sorting, arrays in user-defined order      131—133
Sorting, arrays with anonymous functions      71
Sorting, arrays with user-defined functions      452
Sorting, arrays, multiple arrays at once      133
Sorting, arrays, PHP functions for      130
Sorting, strings      133 448
SOUNDEX() function      88 442
Source code (PHP), downloading CVS version      318
special characters in regular expressions      96
Special characters, security risks in shell commands      295
Spelling, aspell library      457
Spelling, pspell library      466
split() function      103 442
spliti() function      442
Splitting, arrays into chunks      121
Splitting, regular expression pattern matches      114
Splitting, strings into arrays of smaller chunks      95
Splitting, strings into smaller chunks      103
sprintf() function      442
SQL (Structured Query Language), escaping string literals in queries      85
SQL (Structured Query Language), Microsoft SQL Server extension      464
SQL (Structured Query Language), mSQL extension      464
SQL (Structured Query Language), Ovrimos SQL extension      465
SQL (Structured Query Language), placeholders in queries      198
SQL (Structured Query Language), portability of queries      190
SQL (Structured Query Language), relational databases and      190
SQL (Structured Query Language), statements performing queries      195
sql_regcase() function      443
Sqrt() function      443
Squid proxy cache      313
Squid proxy cache, SquidGuard, adding redirection logic      314
srand() function      443
sscanf() function      92 443
SSL (Secure Sockets Layer)      188
Stacks, implementing with arrays      138
Standalone extensions      325
Start and end element handlers      266
Start value of strings      90
Starting point, graphics in PDF files      249
stat() function      443
State, debugger program for printing stack trace      138
State, maintaining between requests      178—188
State, maintaining between requests, combining cookies and sessions      187
State, maintaining between requests, cookies      179—182
State, maintaining between requests, session tracking      178
State, maintaining between requests, sessions      182—187
Statements, flow-control      46—54
Statements, flow-control, declare      54
Statements, flow-control, exit and return      54
Statements, flow-control, for      52
Statements, flow-control, foreach      53
Statements, flow-control, if      47
Statements, flow-control, switch      48—50
Statements, flow-control, while      50—52
statements, return      63
Statements, semicolons (;) in      18
static methods      143
Static methods, declaring      144
static variables      32 65
Status codes, HTTP response      159
StdClass (reserved class name)      143
STD_PHP_INI_ENTRY() macro      347
Sticky forms      167
Sticky multi-valued parameters, HTML forms      170
Storing data in arrays      117—120
Storing data in arrays, adding values to end of array      118
Storing data in arrays, assigning range of values      119
Storing data in arrays, getting array size      119
Storing data in arrays, padding      119
strcasecmp() function      87 444
strchr() function      94 444
strcmp() function      40 87 445
strcoll() function      445
strcspn() function      95 445
Streaming PDF documents      236
strftime() function      445
Striking out text in PDF files      241
string literals      25
strings      25 39 72—115 418
Strings as keys to associative arrays      116
Strings for XML error reporting      273
Strings, accessing individual characters      79
Strings, breaking into chunks (example)      163
Strings, C-string encoding      85
Strings, changing case of      81
Strings, characters, converting into HTML entity equivalents      81
Strings, comparing      39 86—89
Strings, comparing for approximate equality      88
Strings, comparing for equality      26 86
strings, concatenating      37
Strings, concatenating, . operator      38
Strings, concatenating, strcat() function      63
Strings, containing numbers, sorting in correct order      133
Strings, converting, between encodings, iconv extension      462
Strings, converting, to numbers      37
Strings, converting, to/from URL encoding      84 224
Strings, extension functions returning      338
Strings, functions for manipulating and searching      89—95 377
Strings, functions for manipulating and searching, exploding and imploding      91
Strings, functions for manipulating and searching, padding strings      91
Strings, functions for manipulating and searching, repeating strings      91
Strings, functions for manipulating and searching, reversing strings      90
Strings, functions for manipulating and searching, search functions      93—95
Strings, functions for manipulating and searching, splitting on regular expression pattern boundary      442
Strings, functions for manipulating and searching, substrings      89
Strings, functions for manipulating and searching, tokenizing strings      92
Strings, HTML meta tags, extracting from      84
Strings, HTML tags, removing from      83
Strings, HTML, converting special characters to entities      81
Strings, length of, strlen() function (example)      61
Strings, null-terminated, in extensions      331
strings, printing      75—79
Strings, printing with echo      76
Strings, printing with print() function      76
Strings, printing with printf() function      76
Strings, printing with print_r() function      78
Strings, printing with var_dump() function      79
Strings, quoting in PHP array keys      117
Strings, quoting string constants      72—75
Strings, quoting string constants in double-quoted strings      73
Strings, quoting string constants in single-quoted strings      73
Strings, quoting string constants with here documents      74
Strings, quoting string constants, variable interpolation      72
Strings, regular expressions, using on      95—115
Strings, regular expressions, using on, Perl-compatible regular expressions      103—115
Strings, regular expressions, using on, POSIX-style regular expressions      99—103
Strings, removing whitespace from      80
Strings, similarity between, calculating      440
Strings, SQL queries, escaping string literals in      85
Strings, trimming characters from end      438
stripcslashes() function      446
stripcslashes() function, single-character escapes      85
Stripping unwanted file permissions      291
stripslashes() function      85 446
stripslashes() function, using on $_GET, $_POST, and $_COOKIES      165
strip_tags() function      83 447
stristr() function      94 447
strlen() function      61 447
strlen() function, accessing individual string characters      79
strnatcasecmp() function      87
strnatcmp() function      87 447
strncasecmp() function      87
strncmp() function      87 448
Stroking, graphic paths      250—252
Stroking, graphic paths, patterns for      252—254
Stroking, text      242
strpos() function      93 448
strrchr() function      94 448
strrev() function      90 448
strrpos() function      93 448
strspn() function      94 448
strstr() function      94 448
strtok() function      92 449
strtolower() function      81 449
strtoupper() function      81 449
strtr() function      450
Structs, storing extensionwide global C variables m      344
Structs, storing resources in      349
strval() function      450
str_pad() function      91 444
str_repeat() function      91 444
str_replace() function      444
stylesheets, XSLT      278 469
subclasses      141 418
Subpatterns in regular expressions      99
Subpatterns in regular expressions, nesting      106
Subpatterns in regular expressions, non-capturing groups      106
Subpatterns in regular expressions, replacing matched strings in      103
Substituting new text for matching text      95
Substitution markers in printf() format string      76
substr() function      89 450
substr_count() function      89 450
substr_replace() function      90 450
subtraction (-) operator      38
Sum, calculating for an array      135
superclasses      141
Suppressing errors      304
Suraski, Zeev      5
SWF (Shockwave Flash) extension      467
switch statements      48—50
Switch statements, fall-through cases in      49
Sybase extension      468
Symbol table      33
Symbol_table global variable      344
symlink() function      450
syslog() function      451
System V Semaphores and Shared Memory extensions      468
system() function      451
system() function, security risks with shell commands      295
tablelnfo() method      200
Tables, building with iterator functions      127
tables, database      190
Tables, database in example application      203
Tabs, testing string for      95
Tags, HTML and PHP, removing from strings      447
Tags, HTML, removing from strings      83
1 2 3 4 5 6 7 8 9 10 11
blank
Реклама
blank
blank
HR
@Mail.ru
       © Электронная библиотека попечительского совета мехмата МГУ, 2004-2024
Электронная библиотека мехмата МГУ | Valid HTML 4.01! | Valid CSS! О проекте