- Overview
- Transcript
10.2 Passing and Validating Data
Our index page displays all our posts, but we also need a way to display individual posts. In this lesson, we'll create a new page that accepts a post id as a query parameter, validates it, and uses it to retrieve the corresponding post.
1.Introduction2 lessons, 06:25
2 lessons, 06:25
1.1Introduction01:51
1.1
Introduction
01:51
1.2What You Need04:34
1.2
What You Need
04:34
2.How the Web Works2 lessons, 16:03
2 lessons, 16:03
2.1Networks and DNS09:20
2.1
Networks and DNS
09:20
2.2HTTP and the Web Server06:43
2.2
HTTP and the Web Server
06:43
3.Creating Documents3 lessons, 27:13
3 lessons, 27:13
3.1Marking Up a Document09:38
3.1
Marking Up a Document
09:38
3.2Making Our Document Valid06:22
3.2
Making Our Document Valid
06:22
3.3Semantic and Generic Elements11:13
3.3
Semantic and Generic Elements
11:13
4.Styling Documents3 lessons, 34:07
3 lessons, 34:07
4.1Adding Style08:17
4.1
Adding Style
08:17
4.2CSS Selectors16:15
4.2
CSS Selectors
16:15
4.3Modifying Layout09:35
4.3
Modifying Layout
09:35
5.Scripting Documents3 lessons, 22:36
3 lessons, 22:36
5.1Variables and Functions09:06
5.1
Variables and Functions
09:06
5.2Writing Your Own Functions05:34
5.2
Writing Your Own Functions
05:34
5.3Objects07:56
5.3
Objects
07:56
6.The Document Object Model6 lessons, 42:45
6 lessons, 42:45
6.1DOM Basics08:58
6.1
DOM Basics
08:58
6.2Finding Elements07:40
6.2
Finding Elements
07:40
6.3Working With `NodeLists`04:30
6.3
Working With `NodeLists`
04:30
6.4Manipulating an Element's CSS Classes04:29
6.4
Manipulating an Element's CSS Classes
04:29
6.5Listening for Events08:42
6.5
Listening for Events
08:42
6.6Practicing the Concepts08:26
6.6
Practicing the Concepts
08:26
7.HTTP Requests With JavaScript1 lesson, 09:16
1 lesson, 09:16
7.1The fetch() API09:16
7.1
The fetch() API
09:16
8.Introduction to Server-Side Development5 lessons, 43:24
5 lessons, 43:24
8.1Introduction to Server-Side Development10:31
8.1
Introduction to Server-Side Development
10:31
8.2Your First Line of PHP Code06:57
8.2
Your First Line of PHP Code
06:57
8.3Functions and Variables08:00
8.3
Functions and Variables
08:00
8.4Parameters and Decisions08:13
8.4
Parameters and Decisions
08:13
8.5Getting Data From the User09:43
8.5
Getting Data From the User
09:43
9.Getting Started With Databases3 lessons, 31:01
3 lessons, 31:01
9.1Create a Users Table12:00
9.1
Create a Users Table
12:00
9.2Create a Posts Table10:20
9.2
Create a Posts Table
10:20
9.3Inserting Data08:41
9.3
Inserting Data
08:41
10.Using PHP to Interact With MySQL4 lessons, 51:59
4 lessons, 51:59
10.1Reading and Displaying Data12:34
10.1
Reading and Displaying Data
12:34
10.2Passing and Validating Data11:58
10.2
Passing and Validating Data
11:58
10.3Updating Data14:52
10.3
Updating Data
14:52
10.4Joining Data (And Deleting Posts)12:35
10.4
Joining Data (And Deleting Posts)
12:35
11.Conclusion1 lesson, 01:47
1 lesson, 01:47
11.1Conclusion01:47
11.1
Conclusion
01:47
I started my development career on the client-side writing JavaScript and DHTML components in my spare time. In 2005, Nicholas C. Zakas asked me to join him in writing the first edition of Professional Ajax for Wiley Publishing. Since Professional Ajax, 1st Edition, I've been blessed to take part in other book projects: Professional Ajax 2nd Edition, and Beginning JavaScript 3rd and 4th editions.