Главная    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
Предметный указатель
! (exclamation point), != (inequality) operator      40
! (exclamation point), !== (not identical) operator      40
! (exclamation point), type specification modifier      336
" (quotes, double) in heredocs      75
" (quotes, double) in SQL queries      85
" (quotes, double) in string literals      25
" (quotes, double), double-quoted strings, escape sequences in      25
" (quotes, double), double-quoted strings, variable interpolation in      73
" (quotes, double), HTML entity for      82
# (hash marks) in comments      19
$ (dollar sign) in regular expressions      96 101 104 105
$ (dollar sign) in variable names      22 30
$db->query() method      192
$GLOBALS array      32
$HTTP_COOKIE_VARS array      160
$HTTP_ENV_VARS array      160
$HTTP_POST_FILES array      160
$HTTP_POST_VARS array      160
$HTTP_RAW_POST_DATA variable      282
$HTTP_SERVER_VARS array      160
$HTTP_SESSION_VARS array      183
$PHP_SELF variable (current script name)      160
$_COOKIE array      180
$_FILES array      172
$_FILES array, accessing form parameters      163
$_GET array      11 165
$_GET array, accessing form parameters      163
$_POST array      11
$_POST array, accessing form parameters      163
$_SERVER array      160—162
$_SERVER array, HTTP request headers, entries for      162
% (percent sign) in format string to printf()      76
% (percent sign), % (modulus) operator      38
% (percent sign), %= (modulus assignment) operator      45
& (ampersand), & (bitwise AND) operator      41
& (ampersand), &= (bitwise AND assignment) operator      45
& (ampersand), converting to HTML entity      81
& (ampersand), indicating passing by reference      66
' (backtick) operator      46
' (backtick) operator, security risks of      295
' (quotes, single) in heredocs      75
' (quotes, single) in SQL queries      85
' (quotes, single) in string literals      25
' (quotes, single) in string literals, escape sequences in      26
' (quotes, single), HTML entity for      82
' (quotes, single), single-quoted strings      73
() (parentheses) as pattern delimiters      104
() (parentheses), grouping operands for precedence      36
() (parentheses), grouping patterns in regular expressions      99
() (parentheses), grouping patterns in regular expressions, non-capturing groups      106
(float) casting operator      43
(int) casting operator      43
(object) casting operator      43
(string) casting operator      43
* (asterisk), * (multiplication) operator      38
* (asterisk), *= (multiplication assignment) operator      45
* (asterisk), in greedy and non-greedy quantifiers      106
+ (plus sign) in greedy and non-greedy quantifiers      106
+ (plus sign), + (addition) operator      38
+ (plus sign), + (arithmetic assertion) operator      38
+ (plus sign), ++ (autoincrement) operator      39
+ (plus sign), += (addition assignment) operator      45
+ (plus sign), printing positive numbers with      77
+ (plus sign), spaces, encoding in URLs      85 224
, (comma), ASCII value for      93
, (comma), two or more, skipping array values in list()      121
- (hyphen), -> construct, accessing properties and methods      28 142
- (hyphen), defining character range in regular expressions      97
- (hyphen), inline pattern matching options, turning off      108
- (minus sign) for right-justified strings      77
- (minus sign), - (arithmetic negation) operator      38
- (minus sign), - (subtraction) operator      38
- (minus sign), -- (autodecrement) operator      39
- (minus sign), -= (subtraction assignment) operator      45
. (dot) in cookie names, decoding      180
. (dot) in HTML field names, converting for PHP variables      163
. (dot), . (string concatenation) operator      38
. (dot), .+ (concatenation assignment) operator      46
. (dot), single-character matches in regular expressions      96
. (dot), wildcard match character      104
/ (slash), / (division) operator      38
/ (slash), /**/ in multiline C-style comments      20
/ (slash), //, in C++ -style comments      20
/ (slash), /= (division assignment) operator      45
/ (slash), type specification modifier      336
24-bit color      217
: (colon), ending if line      47
; (semicolon) in PHP statements      18
; (semicolon), after terminating heredoc identifier      75
; (semicolon), before PHP closing tag      18
< (angle bracket, left), < (less than) operator      40
< (angle bracket, left), < (less than) operator in string comparisons      87
< (angle bracket, left), << (left shift) operator      42
< (angle bracket, left), <<< (heredoc identifier)      74
< (angle bracket, left), <= (less than or equal to) operator      40
< (angle bracket, left), <= (less than or equal to) operator in string comparisons      87
< (angle bracket, left), converting to HTML entity      81
< (angle bracket, left), less than operator      40
<> (angle brackets) as pattern delimiters      104
<> (angle brackets), <> (inequality) operator      40
<?php?> tags (for PHP code)      10
<br /> tag, inserting before all newline characters      425
= (equals sign), = (assignment) operator      44
= (equals sign), == (equal to) operator      26 40
= (equals sign), == (equal to) operator, comparing strings with      86
= (equals sign), === (identity) operator      40
= (equals sign), === (identity) operator, comparing strings with      86
= (equals sign), === (identity) operator, testing return value for failure      93
= (equals sign), => symbol, separating array indexes from values      118
> (angle bracket, right), > (greater than) operator      40
> (angle bracket, right), > (greater than) operator in string comparisons      87
> (angle bracket, right), >= (greater than or equal to) operator      40
> (angle bracket, right), >= (greater than or equal to) operator in string comparisons      87
> (angle bracket, right), >> (right shift) operator      42
> (angle bracket, right), converting to HTML entity      81
> (angle bracket, right), greater than operator      40
? (question mark) in non-greedy quantifiers      106
? (question mark), ?: (conditional) operator      46 48
? (question mark), placeholder in database queries      198
? (question mark), replacing characters outside target encoding      270
@ (at sign), error suppression operator      46
ab (Apache benchmarking) utility      309—311
abs() function      377
Accented characters, converting to HTML entities      81
Accept headers      158
Access, PHP ODBC support for      371—373
Accessor macros for zval fields      333—335
acos() function      377
Active Server Pages (ASP), embedding PHP with ASP tags      58
Active_symbol_table global variable      344
AC_MSG_CHECKING() macro      329
addcslashes() function      85 378
addition (+) operator      38
Addition assignment (+=) operator      45
addslashes() function      85 164 378
Administrative files, managing with YP/NIS extension      469
Administrators (database), backend page for      205—207
affectedRows() method      200
AFM (Adobe Font Metric)      245
Aliases for EGPCS variables      160
Alignment, PDF text within box      240
Allocating color      218
Alpha channel      216
Alpha channel in GD      228
Alpha channel, enabling/disabling alpha blending      229
Alpha channel, ImageColorResolveAlpha() function      231
Alpha channel, PNG images in PDF files      246
Alternatives in regular expressions      98
Anchors in Perl-style regular expressions      105
Anchors in POSIX regular expressions      100
AND operator, & (bitwise AND)      41
AND operator, &= (bitwise AND assignment)      45
Annotations, in PDF files      259
anonymous functions      71
ANSI-compliant C compiler      7
Antialiasing in GD palette entries      229
Antialiasing in images      216
Antialiasing, TrueType fonts      224
Antialiasing, turning off      222
Apache web servers      7—9
Apache web servers for Windows      352
Apache web servers, configuring      8
Apache web servers, configuring for cached buttons      225
Apache web servers, configuring, PHP for      354
Apache web servers, configuring, to place session files in your directory      291
Apache web servers, download site      353
Apache web servers, downloading source distribution      7
Apache web servers, PHP functions for      356
Apache, benchmarking utility      309—311
Apache, library (PHP extension)      457
Applications, code libraries      297
Applications, database (example)      202—212
Applications, database (example), adding a business      207—211
Applications, database (example), administrator's page      205—207
Applications, database (example), database connection      204
Applications, database (example), database information, displaying      211
Applications, database (example), database tables      203
Applications, error handling      303—308
Applications, error handling, defining error handlers      305—308
Applications, error handling, reporting errors      303
Applications, error handling, suppressing errors      304
Applications, error handling, triggering errors      305
Applications, output, handling      301—303
Applications, output, handling, buffering output      301
Applications, output, handling, changing references in document      302
Applications, output, handling, compressing output      303
Applications, performance tuning      308—316
Applications, performance tuning, benchmarking      309—311
Applications, performance tuning, optimizing execution time      312
Applications, performance tuning, optimizing memory requirements      312
Applications, performance tuning, profiling      311
Applications, performance tuning, reverse proxies and replication      313—316
Applications, templating systems      298—301
Applications, WDDX standard for sharing information      468
arcs, drawing      220 250
Argument list (variable), processing      337
arithmetic operators      38
Arithmetic operators, implicit casting, rules for      37
array() function      27 118 378
array() function, casting operator      43
Arrays      27 116—139
arrays, $GLOBALS      32
arrays, casting to/from objects      44
arrays, checking whether element exists      122
arrays, color index for images      230
arrays, converting to/from variables      124
arrays, displaying with print_r()      78
arrays, extension functions returning      339
arrays, extracting multiple values from      120
arrays, form values      11
arrays, functions for      375
arrays, global variables, EGPCS      159
arrays, identifying elements of      117
arrays, implementing sets with      137
arrays, implementing stacks with      138
arrays, indexed vs. associative      116
arrays, iterating over elements with foreach loop      53
arrays, keys and values, returning      122
arrays, modifying or applying operation to all elements      135
arrays, multidimensional      120
arrays, removing and inserting elements      123
arrays, resetting internal pointer to first element      437
arrays, slicing      121
arrays, sorting      28 130—135
arrays, sorting in ascending order      442
arrays, sorting in natural order      133
arrays, sorting in random order      134 440
arrays, sorting in user-defined order      131—133
arrays, sorting with anonymous functions      71
arrays, sorting with user-defined functions      452
arrays, sorting with user-defined functions, by keys      453
arrays, sorting, adding values to end of array      118
arrays, sorting, assigning range of values      119
arrays, sorting, getting array size      119
arrays, sorting, multiple arrays at once      133
arrays, sorting, padding      119
arrays, sorting, PHP functions for      130
arrays, sorting, reversing element order      134
arrays, splitting into chunks      121
arrays, storing data in      117—120
arrays, symbol tables      33
arrays, traversing      125
arrays, traversing with for loop      127
arrays, traversing, calling function for each element      128
arrays, traversing, iterator functions      126
arrays, traversing, reducing an array      128
arrays, traversing, searching for values      129
array_chunk() function      121
array_count_values() function      378
array_diff() function      136 137 378
array_filter() function      136 378
array_flip() function      379
array_intersect() function      137 379
array_keys() function      122 379
array_key_exists() function      122
array_map() function      379
array_merge() function      135 380
array_merge() function, calculating union of two sets      137
array_merge_recursive() function      380
array_multisort() function      133 380
array_pad() function      119 380
array_pop() function      138 381
array_push() function      138 381
array_rand() function      381
array_reduce() function      128 381
array_reverse() function      134 381
array_search() function      130 382
array_shift() function      138 382
array_slice() function      121 382
array_splice() function      123 382
array_sum() function      135 382
array_unique() function      137 383
array_unshift() function      138 383
array_values() function      122 383
array_walk() function      128 383
arsort() function      130 131 383
Ascending order, sorting arrays in      130
ASCII order, natural order in strings vs.      87
ASCII order, value of first character in string      428
ASCII order, values for characters in string searches      93
ASCII, representation of an image      232
ASCII, US-ASCII character encoding      270
ASCII, UTF-8 encoding for printing high-bit characters      222
asin() function      62 383
asort() function      130 384
ASP (Active Server Pages), embedding PHP with ASP tags      58
Aspell PHP library      457
assert() function      384
assertion (+), arithmetic operator      38
assert_options() function      384
assignment operators      44—46
Assignment operators, = (basic assignment) operator      44
Assignment operators, assignment with operations      45
Assignment, initializing arrays with      117
associative arrays      116 118
Associative arrays, array_splice(), using on      124
Associative arrays, calculating sum of values      135
Associative arrays, creating with compactO      125
Associative arrays, padding      120
Associative arrays, rows in database query results      196
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! О проекте