Главная    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
Предметный указатель
Tags, PHP code (<?php ?>)      10
tags, XML      262—264
Tags, XML, nesting      263
tan() function      451
Target encoding for XML parser      270
TCP protocol      194
Templates for PDF documents      253—255
Templating systems      298—301
Templating systems, HTML template for thank you page      299
Templating systems, template script (example)      299
Templating systems, user input form (example)      298
tempnam() function      451
Terminating PDF document      236
Ternary operator      36 46
Testing, C-language PHP extension      326
Testing, colors, program for      231
Testing, return value for failure      93
Text in images      220—223
Text in images, buttons      223
Text in images, fonts      221—223
text in PDF files      237—246
Text in PDF files, altering appearance of      241—243
Text in PDF files, coordinates      237—239
Text in PDF files, fonts      243—246
Text in PDF files, functions for      239—241
Text in PDF files, outputting basic      236
Text, languages other than English, working with      99
Text, representing image with      232
Textual (lexicographic) comparisons      39
This variable      144
Thread Safe Resource Manager (TSRM)      318
Thread safety, extensions      359
Thread safety, extensionwide global variables      344
Throwing errors      305
Thumbnails for bookmarks, PDF documents      256—258
Tick functions, registering      437
Tick functions, unregistering      454
Ticks directive      54
TIFF image format in PDF files      246
Time      see also "Dates" "Times"
time() function      451
Time, functions for      375
Time, gettimeofday() function      411
Timeouts for current script      439
Timeouts, setting for sockets      441
tmpfile() functions      452
tokenizing strings      92 449
touch() function      452
Track_errors option (php.ini file)      304
Trailing options, Perl-style regular expressions      107
Transactions      202
Transforming XML with XSLT      277—280
Transforming XML with XSLT, creating XSLT processor      278
Transitions for PDF pages      261
Translation tables for HTML entities      83 406
transparency of images      216 228 see
Transparency of images in PDF files      246
Traversing arrays      125
Traversing arrays in random order, using shuffle() function      134
Traversing arrays with for loop      127
Traversing arrays, calling function for each element      128
Traversing arrays, iterator functions      126
Traversing arrays, reducing an array      128
Traversing arrays, searching for values      129
trigger_error() function      305 452
trim() function      80 452
trimming strings      438
True and false keywords      27
True color images      216
True color images, background colors for      229
True color images, converting to paletted image      229
True color images, true color color indexes      231
TrueType fonts in PDF files      244
TrueType fonts, antialiased, troubleshooting      224
TrueType fonts, using with GD      221
Truncating files      404
Truth values      see "Boolean data type"
TSRM (Thread Safe Resource Manager)      318
Type juggling      37
Type_spec strings      335
Type_spec strings, specification characters      336
Type_spec strings, specification characters, modifiers      336
uasort() function      130 452
ucfirst() function      81 452
ucwords() function      81 453
uksort() function      130 453
umask() function      291 453
unary operators      36
Unary operators, - (arithmetic negation) operator      38
Unary operators, autoincrement and autodecrement      39
Uncompressing and extracting PHP and Apache distributions      8
Underlining text in PDF files      241
Unicode, character encodings supported by XML parser      270
Unicode, FriBiDi extension, reordering strings for encoded character set      461
union of two sets      137
uniqid() function      453
Unix, installing PHP      7—9
Unix, locale system in POSIX-style regular expressions      99
Unix, protocol for databases      194
Unix, shell scripting languages, comments m      19
Unix, writing portable PHP code for      355—359
Unix, writing portable PHP code for, determining the platform      355
Unix, writing portable PHP code for, end-of-file handling      358
Unix, writing portable PHP code for, end-of-line handling      358
Unix, writing portable PHP code for, environment information      356
Unix, writing portable PHP code for, extensions      359
Unix, writing portable PHP code for, paths, handling      356
Unix, writing portable PHP code for, remote files      357
Unix, writing portable PHP code for, sending mail      356
Unix, writing portable PHP code for, server-specific functions      356
Unix, writing portable PHP code for, shell commands      359
unlink() function      62 453
unpack() function      453
Unpacking Apache and PHP source distributions      8
Unparsed XML entities      268
Unregister_tick_function() function      454
unserialize() function      454
unset() function      34 454
Uploaded files, information about      160
Uploaded files, moving      424
uploading files      172
Uploading files, security and      289
Uploading files, security and, distrusting browser-supplied filenames      289
URL rewriting, storing state information      178
urldecode() function      85
urlencode() function      85 224 454
URLs, decomposing (parse_url() function)      95
URLs, encoding/decoding      435
URLs, encoding/decoding strings as      84
URLs, encoding/decoding strings as, button strings      224
URLs, extracting from HTML page      111
URLs, functions for      377
URLs, GET and POST requests      162
URLs, https://      188
URLs, opening remotely with PHP functions, security risks of      288
URLs, parse_url() function      430
URLs, session IDS, passing via      184
US-ASCII      see "ASCII"
User-Agent headers      158
User-defined functions      61
User-defined functions, sorting arrays with      452 455
User-defined order, sorting arrays in      130 131—133
Usernames, authenticating      177
Usernames, current, for PHP script executing      406
Usernames, security problems with      287
user_error() function      454
usleep() function      455
usort() function      130 455
usort() function, anonymous function, using with      71
UTF-8 character encoding      270
UTF-8 character encoding, printing high-bit ASCII characters      222
Validating, credit-card numbers, with Luhn checksum      101
Validating, forms      173—175
Variable argument list, processing      337
variable functions      70
Variables      30—33 see
Variables, $PHP_SELF      160
variables, assigning values to      44
Variables, case-sensitivity in names      17
Variables, checking values with isset() function      34 418
Variables, configuration, getting      405
Variables, converting HTML field names to      163
Variables, converting to/from arrays      124
Variables, creating for extensions      345—347
Variables, defined, getting      406
Variables, EGPCS (environment, GET, POST, cookie and server)      159 287
Variables, expanding in double-quoted strings      25
Variables, function parameters      33
Variables, functions for      377
Variables, global, form data and, security issues      285—287
Variables, global, internal PHP, accessing from extension functions      343—345
Variables, global, SAPI (Server Abstraction API)      343
Variables, interpolating into strings      72
Variables, mapping names to value positions in memory      33
Variables, names, $ (dollar sign) in      22
Variables, NULL value      29
Variables, number of function parameters      68
Variables, object references      142
Variables, outputting information about      455
variables, passing by reference      66
variables, passing by value      66
Variables, property names, using with      143
Variables, references to variables stored in another variable      30
Variables, removing values with unset() function      34
Variables, requests, importing into global scope      414
variables, scope of      31 64—66
Variables, session, registering      182 183
Variables, setting values of      30
variables, static      32 65
Variables, syslog, defining      393
variables, this      144
Variables, variable, using with objects      142
Variables_order directive in php.ini      287
Variant type      360
var_dump() function      455
var_dump() function, displaying PHP values in human-readable form      79
VBScript, converting to PHP COM function calls      361
Verisign Payflow Pro extension      466
Version of PHP parser      432
Version of XML in processing instruction      263
version_compare() function      455
Vpopmail extension      468
vprintf() function      455
vsprintf() function      455
Warnings      303
Warnings, public visibility of, disabling for security purposes      286
WBMP image format      216
WBMP image format, output function for      218
WDDX extension      185 468
Web applications      see also "Applications"
Web applications, Secure Sockets Layer (SSL)      188
web applications, security      285—296
Web applications, techniques      158—188
Web applications, techniques, HTTP basics      158
Web applications, techniques, HTTP response headers, setting      175—178
Web applications, techniques, maintaining state      178—188
Web applications, techniques, processing forms      162—175
Web applications, techniques, server information      160—162
Web applications, techniques, variables, EGPCS      159
Web pages, embedding PHP in      56—60
Web pages, embedding PHP in, ASP tags, using      58
Web pages, embedding PHP in, echoing content directly      59
Web pages, embedding PHP in, script style      59
Web pages, embedding PHP in, SGML tags, using      58
Web pages, embedding PHP in, XML-compliant tags, using      57—58
Web pages, PDF files in      233
Web servers      see also "Servers"
Web servers, configuring PHP with      352—354
Web servers, configuring PHP with, manually configuring Apache      354
Web servers, configuring PHP with, manually configuring PWS      353
Web servers, configuring PHP with, prepackaged distributions      354
Web servers, configuring PHP with, using PHP installer      353
Web servers, supporting PHP      1
Web Services      280—284
Web services, clients, XML-RPC (example)      283
Web services, servers, XML-RPC (example)      281
well-formed XML      263
while loops      50—52
While loops, continue statements in      51
Whitespace in heredocs      75
Whitespace in PHP code      18
Whitespace in URLs      224
whitespace, removing from strings      80
whitespace, trimming from strings      452
Windows systems, PHP on      351—373
Windows systems, PHP on, configuring PHP with web server      352—354
Windows systems, PHP on, configuring PHP with web server, manually configuring Apache      354
Windows systems, PHP on, configuring PHP with web server, manually configuring PWS      353
Windows systems, PHP on, configuring PHP with web server, prepackaged distributions      354
Windows systems, PHP on, configuring PHP with web server, using PHP installer      353
Windows systems, PHP on, extensions      354
Windows systems, PHP on, installing PHP      351
Windows systems, PHP on, interfacing with COM      359
Windows systems, PHP on, interfacing with COM, API, determining      361—363
Windows systems, PHP on, interfacing with COM, Excel files, reading and writing      366
Windows systems, PHP on, interfacing with COM, ODBC data sources      367—373
Windows systems, PHP on, interfacing with COM, PHP functions      360
Windows systems, PHP on, interfacing with COM, Word document, completing      363—366
Windows systems, PHP on, writing portable code for Windows and Unix      355—359
Windows systems, PHP on, writing portable code for Windows and Unix, determining the platform      355
Windows systems, PHP on, writing portable code for Windows and Unix, end-of-file handling      358
Windows systems, PHP on, writing portable code for Windows and Unix, end-of-line handling      358
Windows systems, PHP on, writing portable code for Windows and Unix, environment information      356
Windows systems, PHP on, writing portable code for Windows and Unix, extensions, platform-specific      359
Windows systems, PHP on, writing portable code for Windows and Unix, paths, handling across platforms      356
Windows systems, PHP on, writing portable code for Windows and Unix, remote files      357
Windows systems, PHP on, writing portable code for Windows and Unix, sending mail      356
Windows systems, PHP on, writing portable code for Windows and Unix, server-specific functions      356
Windows systems, PHP on, writing portable code for Windows and Unix, shell commands      359
Word boundaries in POSIX regular expressions      101
Word boundaries, \b and \B, in Perl-style regular expressions      105
Word pronunciations in English, comparing to Soundex and Metaphone algorithms      88
Word, completing a document with PHP      363—366
Word, macro language, using to expose OLE COM objects and parameters      361—363
Word, starting and adding "Hello, World" to document with COM      360
Words in string, changing case of first character      81
wordwrap() function      456
Write handlers for sessions      186
WWW-Authenticate header      177
XML      262—284
XML, DOM XML library      460
XML, embedding PHP with XML-compliant tags      57—58
XML, generating      264
XML, Overview      262—264
XML, overview, close tags      263
XML, overview, DTD and Schema      263
XML, overview, nesting documents      263
XML, parsing      265—277
XML, parsing, character data handler      267
XML, parsing, creating a parser      271
XML, parsing, default handler      270
XML, parsing, element handlers      266
XML, parsing, entity handlers      268
XML, parsing, errors      272
XML, parsing, methods as handlers      273
XML, parsing, options      270
XML, parsing, PHP's XML parser      266
XML, parsing, processing instructions      267
XML, parsing, sample application      273—277
XML, parsing, XML parser extension      468
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! О проекте