Index
A
Administration module
deleting comments
code implementation
foreign key constraints
editor usability
image manager
creation (see Image manager creation)
deleting images
DirectoryIterator object
error codes
$_FILES superglobal array
unlink() file
Uploader class
uploading images
TinyMCE image dialog
updateEditorMessage() function
WYSIWYG (see WYSIWYG)
Administrative links
code change
communicating changes
lastInsertId() method
saveEntry() method
update controller
update model
update view
controllers
delete entries
Blog_Entry_Table object
editor form
$_GET[‘id’]
$_POST[‘id’]
URL variable, action
demonstration purposes
entry editor form
getEntry() method
hidden input
getAllEntries() method
href values
JavaScript console
checkTitle() function
client-side validation
console message
DOMContentLoaded event
empty title
testing editor
PDOStatement object
required attribute
StdClass representation
$testOutput variable
title creation
updateEntry() method
usability flaws
Apache server. See also XAMPP
B
Blog entries
Blog_Entry_Table class
fetchObject() method
print_r() object
SQL alias
SUBSTRING() clause
testing
controller
Curly laws
don’t repeat yourself
refactoring process
duplicate code
entry_id
execute() method
prepare() method
front controller
hook up model
private access modifier
searching (see Search entries)
URL variables
user comments (see User comments)
user interactions
view creation
Blog entry manager
blog_entry database
date_created attribute
entry_text
Scaling
title attribute
unique ID
blog_entry Database
Blog site creation (see Blog site creation)
PHP scripts
administration module
MVC approach
Blog site creation
admin module controller
$buttonClicked
name attribute
value attributes
CSS editor
database connection
design patterns
active record pattern
table data gateway pattern
entry manager navigation
dynamic gallery
static view
entry_table class
maxlength attribute
$pageData object
prepared statements
quote characters
C
Client-side vs. server-side programming
Collation
Constructor method
Curly’s law
attentive reader
function and variable names
$quizIsSubmitted
D
Database-driven site poll
coding
hard-coded poll data
MVC design pattern
playing the blues
poll controller
poll model
poll project structure
poll view
constructor arguments
database creation
auto-increment
primary key
SQL tab
table structure
database table
updatePoll() method
insert statement
PDOstatement
PDOStatement objects
retrieving data
PHP data objects
try-catch statement
poll form
error message
poll view code
select statement
update statement
Don’t Repeat Yourself (DRY)
Dynamic image gallery
displaying images
DirectoryIterator
iteration
showImages()
while loop
form view creation
accept attribute
$_FILES
index file
multiple style sheets
function
href attribute
Page_Data class
Page_Data object
$this keyword
navigation creation
page view
prerequisites
time to test
uploading files
__construct/magic method
$destination property
$filename property
move_uploaded_file() function
UML class diagram
uploader class
Uploader object
E
Embedding scripts
delimiters
echo/language construct
error messages
.php extension
string
variables
placeholder
storing values
valid variable names
F, G
errors
print_r() function
tmp_name
File transfer protocol (FTP)
Foreign key
H
HTML forms
echo statement
function argument
function declarations vs. function calls
return statement
test-functions.php
login form
project creation
classes/Page_Data.class.php
dynamic navigation
expected output
index.php
Page views
templates/page.php
quiz form
creation
identical comparison operator
if-else statements
<option> elements
POST method
$_POST superglobal
<select> element
showQuizResponse()
test-assoc-array.php
views/quiz.php
search form
star rating form
URL variable, encoded
action attribute
GET variables
input type attribute
views/search.php
HTML formssearch form
HTML formsstyling form
HTML pages creation
avoid naming conflicts
block and single line comments
object operator
stdClass object
CSS
include_once
Page_Data.class
classes
CSS attribute selector
dynamic styles
page views
access URL variables
concatenation operator
default page
isset() function
navigation
passing data
strict naming convention
superglobal array/$_GET
templates
validation
I, J, K
Image manager creation
configuration
detection
folder permissions, restrictive
further improvements
save() method
L
Lightbox gallery, JavaScript
arrays
pets array
variable declaration
big image
class attribute
getAttribute() method
hidden
MouseEvent object
toggle() function
CSS animation
document object
event listeners
init() function
overlay
page template file
querySelector()method
setAttribute() method
src attribute
thumbnails
hidden image
prepareThumbs()function
querySelectorAll() method
window.console.log()
writing and running
M, N, O
MySQL
database-driven site poll (see Database-driven site poll)
data manipulation
phpMyAdmin control panel
SQL statements
XAMPP control panel
data storage
album table(name)
artist table(ID)
installation (see XAMPP)
P
Password protection
add administrators
authorized users
logged out users
login form creation
unauthorized users
user logging
admin_table creation
HTML form
base table class
checkEmail() method
create () method
navigation controller
one-way encryption
security settings
PHP
advantages
dynamic web pages
editors
auto-complete features
auto-indent
built-in ftp
built-in function references
code folding
syntax highlighting
file creation
integrated development environments
Eclipse PDT
NetBeans
overview
running Script
server-side scripting language
working principles
PHP data objects (PDO)
Q
Quiz form
<option> element
$_POST array
R
Refactoring process
makeStatement() method
S
Search entries
LIKE condition
results
searchEntry() method
search model
search view
user search
T
Test-driven development
U, V
User comments
combined view
blog controller
construction
Comment_Table class
commet entry form
commet form
name attributes
post method
saveComment() method
foreign key
inheritance, DRY
parent class
table data gateway
practices
protected access modifier
relationships
retrieving comments
displaying comments
getAllById() method
listing view comments
table creation
database design
simple_blog database
User logging
PHP session
session variable
stateless HTTPs
W
Web host
exporting database
importing database
requirements
FileZila FTP
PHP files
What You See Is What You Get (WYSIWYG), 185–187
X, Y, Z
XAMPP
Apache server
running
verification
control panel
installation
BitNami
components selection
directory path
welcome wizard
18.191.237.194