Àâòîðèçàöèÿ
Ïîèñê ïî óêàçàòåëÿì
Stark J. — Web Publishing with PHP and FileMaker 9
Îáñóäèòå êíèãó íà íàó÷íîì ôîðóìå
Íàøëè îïå÷àòêó? Âûäåëèòå åå ìûøêîé è íàæìèòå Ctrl+Enter
Íàçâàíèå: Web Publishing with PHP and FileMaker 9
Àâòîð: Stark J.
Àííîòàöèÿ: Whether you are a FileMaker developer who is new to web publishing, a web developer who is new to FileMaker, or a complete beginner looking to put your data online, this book is for you.
In Part I, you learn the basics of how web publishing works and how to write your own HTML and PHP. In Part II, you learn how to build a FileMaker database and install and configure the FileMaker Server to host the database. In Part III, you learn how to put it all together to create web pages that talk to your database and allow people to view the data and, if you like, modify it. Throughout the book, publishing a FileMaker Product Catalog to the web is used as an example. Each chapter builds on the previous chapter. When you are done, you will have a working website!
Detailed information on how to…
*
Master web publishing
*
Read and write basic HTML
*
Read and write basic PHP
*
Build a FileMaker database
*
Install and configure FileMaker Server
*
Publish your FileMaker data to the web
*
Work with portals and container fields
*
Repurpose your FileMaker layouts on the web
ßçûê:
Ðóáðèêà: Òåõíîëîãèÿ /
Ñòàòóñ ïðåäìåòíîãî óêàçàòåëÿ: Ãîòîâ óêàçàòåëü ñ íîìåðàìè ñòðàíèö
ed2k: ed2k stats
Ãîä èçäàíèÿ: 2007
Êîëè÷åñòâî ñòðàíèö: 264
Äîáàâëåíà â êàòàëîã: 30.12.2007
Îïåðàöèè: Ïîëîæèòü íà ïîëêó |
Ñêîïèðîâàòü ññûëêó äëÿ ôîðóìà | Ñêîïèðîâàòü ID
Ïðåäìåòíûé óêàçàòåëü
Home Page (PHP Site Assistant) 83
Horizontal rules, HTML tags 21
Hosting database files 77—80
Href attribute (anchor tag) 22
Hrefs, plus sign (+) in 102
HTML (Hypertext Markup Language) 8
HTML (Hypertext Markup Language) in XSS (cross-site scripting attacks) 219—221
HTML (Hypertext Markup Language), attributes 20
HTML (Hypertext Markup Language), defined 8—9
HTML (Hypertext Markup Language), documents See also web pages
HTML (Hypertext Markup Language), documents, creating 8—9
HTML (Hypertext Markup Language), documents, uploading to web servers 12
HTML (Hypertext Markup Language), elements 19
HTML (Hypertext Markup Language), elements, block versus inline 23
HTML (Hypertext Markup Language), tags, <a> 22
HTML (Hypertext Markup Language), tags, <body> 20
HTML (Hypertext Markup Language), tags, <br> 23
HTML (Hypertext Markup Language), tags, <form> 28—29
HTML (Hypertext Markup Language), tags, <h#> 21
HTML (Hypertext Markup Language), tags, <head> 20
HTML (Hypertext Markup Language), tags, <hr> 21
HTML (Hypertext Markup Language), tags, <html> 19
HTML (Hypertext Markup Language), tags, <img> 20—21
HTML (Hypertext Markup Language), tags, <input> 28—29
HTML (Hypertext Markup Language), tags, <p> 22
HTML (Hypertext Markup Language), tags, <table> 25—26
HTML (Hypertext Markup Language), tags, <td> 26
HTML (Hypertext Markup Language), tags, <th> 25
HTML (Hypertext Markup Language), tags, <title> 19—20
HTML (Hypertext Markup Language), tags, <tr> 25
HTML (Hypertext Markup Language), tags, defined 9
HTML (Hypertext Markup Language), tags, overview of 18—29
HTML (Hypertext Markup Language), whitespace 23
HTML template method 100
Htmlentities( ) function 221
Htmlspecialchars( ) function 220
Html_entity_decode( ) function 221
HTTP, as stateless protocol 107
Hyperlinks, anchor tags for 22
HyperText Markup Language See HTML
ID fields, setting up 55—58
If statement 35—36
images, <img> tag 20—21
Images, embedding in container fields 167—175
Images, logins for, avoiding 173—174
Images, storing URLs in text fields 168 175—188
Images, uploading to web servers 178—188
include statement 97
Incoming data, filtering 217—221
Initializing variables 119
Ini_set( ) command 224
inline elements 23
Inserting data into container fields 170—171
Inserting Web Viewers 177—179
Installing FileMaker Server 69—70
Installing FileMaker Server, testing installation 77
Installing, PHP testing installation 32
Instant Web Publishing (IWP) 92—93
In_array( ) function 218
IP addresses See also URLs
IP addresses, domain names compared 9
IP addresses, linking to domain names 11
IsAutoEntered( ) method 237
isError( ) method 234
IsGlobal( ) method 237
Isset( ) language construct 102
IsValidationError( ) method 236
Iterative constructs in PHP 41—44
IWP (Instant Web Publishing) 92—93
Jnlp file, launching 71
Launching jnlp file 71
Launching PHP Site Assistant 80—81
Layout Group page (PHP Site Assistant) 82—83
Layout mode 60
Layout objects, portals as 207
layouts, creating 57 59
Layouts, fields on, minimizing 213—214
Layouts, portals, altering related records in 156—161
Layouts, portals, creating 141—144
Layouts, portals, creating related records in 150—155
Layouts, portals, viewing data 146—150
Layouts, result layouts, specifying 214
Layouts, stacking order of fields, setting 192
Layouts, status area 59
Layouts, updating websites via 189—190
Layouts, updating websites via, Detail view example 202—209
Layouts, updating websites via, List view example 190—202
Line breaks, HTML tags 23
Linking domain names and IP addresses 11
Links, creating drill down links 107—109
List view example (updating websites via lay-outs) 190—202
ListDatabases( ) method 234
ListFields( ) method 237—238
ListLayouts( ) method 234
ListRelatedSets( ) method 237
ListScript( ) method 234
ListValueLists( ) method 237
Locking records, error handling and 229—230
logical errors, handling 228
Logins for images, avoiding 173—174
Looping in PHP 41—44
Machine configuration options (FileMaker Server) 68—69
Manage Accounts & Privileges dialog box 61—64
Manage Database dialog box 50 55 57
Master machines 69
Maximum file size for uploaded files 218
Maximum length for incoming data 218
Methods, OOP 97—98
Methods, prototypes, reading 231—232
Methods, return values 232—233
Middleware See scripts
Minimizing database requests 215
Minimizing layout fields 213—214
Move_uploaded_file( ) function 184
Moving between records 59
Multidimensional arrays in PHP 39—41
Name attribute (<input> tag) 28
Naming conventions, PHP variables 34
Nested arrays in PHP 39—41
Nesting HTML elements 19
NewAddCommand( ) method 121 234
NewCompoundFindCommand( ) method 234
NewDeleteCommand( ) method 234
NewDuplicateCommand( ) method 234
NewEditCommand( ) method 134 163 185 234
NewFindAllCommand( ) method 98 234
NewFindAnyCommand( ) method 234
NewFindCommand( ) method 234
NewFindRequest( ) method 234
NewPerformScriptCommand( ) method 234
NewRelatedRecord( ) method 153 238
Non-equality operator (!=), PHP conditional structures 36
Number field type 52
Number fields, finds on 61
NumErrors( ) method 236
Objects (OOP) 97—98
ODBC (Open Database Connectivity) 93
OOP (object-oriented programming) 97
Opening PHP files, troubleshooting 32
opening tags 19 33
optimizing performance See performance tuning
OR operator 102
Output Settings page (PHP Site Assistant) 83
Page names, in URLs 13
Pages, creating drill down pages 110—112
Paragraphs, HTML tags 22
Passwords for Admin account, changing 62
Performance tuning, minimizing database requests 215
Performance tuning, minimizing layout fields 213—214
Performance tuning, specifying result layouts 214
Period (.), PHP concatenation operator 34
PHP 15
PHP arrays 36—38
PHP arrays, associative arrays 38—39
PHP arrays, looping through 41—44
PHP arrays, multidimensional arrays 39 41
PHP comments 33
PHP connection privileges, granting 63
PHP errors, handling 227—228
PHP form handling 44—46
PHP Hypertext Preprocessor See PHP
PHP Site Assistant 80
PHP Site Assistant, launching 80—81
PHP Site Assistant, search site, building 81—86
PHP syntax 32—33
PHP variables 33—34
PHP, comparison operators 36
PHP, conditional structures 35—36
PHP, defined 31
PHP, downloading 31—32
PHP, for XML transformations 94
PHP, looping in 41—44
PHP, string manipulation 34—35
PHP, testing installation 32
Php.ini configuration file 224
PHPSA See PHP Site Assistant
Plus sign (+), in hrefs 102
Portal Setup dialog box 142—143
Portals as layout objects 207
Portals, altering related records in 156—161
Portals, creating 141—144
Portals, creating related records in 150—155
Portals, viewing data 146—150
POST array 119—120
POST array, GET array versus 126—127
POST method 45
Preview Mode 60
Primary keys, foreign keys and 139
Primary keys, ID fields, setting up 55—58
Privilege sets, fmapp extended privilege 75
Privileges (FileMaker) 61—64
Protocols, in URLs 13
Prototypes, reading 231—232
Publishing web pages, steps for 8—12
query strings 29
question mark (?) 29
Read operations 95
Read operations, drill down links, creating 107—109
Read operations, drill down pages, creating 110—112
Read operations, records, finding 103—107
Read operations, records, retrieving all 95—100
Read operations, records, sorting 100—103
Read-Only Access privilege set 63
Record List Page (PHP Site Assistant) 83—84
Record locking, error handling and 229—230
Records 49
Records, creating 59 115—121
records, deleting 59 121—127
Records, drill down links, creating 107—109
Records, drill down pages, creating 110—112
records, editing 59 127—135
records, finding 59—61 103—107
Records, moving between 59
Records, related records, adding 144—146
Records, related records, altering in portals 156—161
Records, related records, creating 150—155
Records, related records, deleting 164—166
Records, related records, editing 161—164
Records, retrieving all 95—100
records, sorting 100—103
Reference, inserting data as 170
related records See also related tables
Related records, adding 144—146
Related records, altering in portals 156—161
related records, creating 150—155
Related records, deleting 164—166
related records, editing 161—164
Related tables, adding to databases 138—139
Related tables, portals, creating 141—144
Related tables, portals, viewing 146—150
Related tables, related records, adding 144—146
Related tables, related records, altering in portals 156—161
Related tables, related records, creating 150—155
Related tables, related records, deleting 164—166
Related tables, related records, editing 161—164
Related tables, relationships, creating 139—141
relationships, creating 139—141
relative paths 21—22
renaming tables 51
Renting web servers 67
REQUEST array 125
Result layouts, specifying 214
Retrieving all records 95—100
Return values for methods 232—233
running scripts 76
Scheduling automated tasks 75
Scripts 14—15. See also PHP
scripts, running 76
Search Page (PHP Site Assistant) 83—84
Search site, building with PHP Site Assistant 81—86
searches See find requests
Security 217
Security, connection information 221—223
security, error handling 223—224
Security, FileMaker accounts and privileges 61—64
Security, filtering incoming data 217—221
Self-closing tags 20
Semicolons (;), in PHP 33
server-side processing See scripts
Servers See FileMaker Server; web servers
SetField( ) method 121 135 153 163 185 235 238
SetFieldFromTimestamp( ) method 235 238
SetLogger( ) method 234
SetLogicalOperator( ) method 197 236
SetModificationId( ) method 235
SetOmit( ) method 236
SetPreCommandScript( ) method 235
SetPreSortScript( ) method 235
setProperty( ) method 234
SetRange( ) method 235—236
SetRecordClass( ) method 235
SetRecordId( ) method 235
SetRelatedSetsFilter( ) method 214
SetRelatedSetsFilters( ) method 235—236
SetResultLayout( ) method 235
SetScript( ) method 235
Single Machine configuration 68
Single quotes (‘ ’), PHP string manipulation 34
Site Profile page (PHP Site Assistant) 82
Smart web pages 14—15
sorting records 100—103
SQL injection 221
Square brackets ([ ]), PHP array operator 36
Stacking order of fields, setting 192
Stateless protocol, HTTP as 107
Static web publishing 91—92
Status area, in FileMaker layouts 59
Storing connection information 221—223
Storing image URLs in text fields 168 175—188
String manipulation, in PHP 34—35
Strip_tag( ) function 221
Strlen( ) function 218
Strtotime function 198
Substr( ) function 219
Syntax (PHP) 32—33
Table Occurrences (TOs) 139
Tables 49
Tables, fields 49
Tables, fields, Auto-enter options, setting 53—55
Tables, fields, creating 51—53
Ðåêëàìà