Discover how the public and staff contexts are different and how this impacts writing code which can be reused for both contexts.
- [Instructor] In this movie, we're going to discuss…how the public facing version of our website…is fundamentally different from the staff area…and what it means for us to be working…in this public context, so we can do it appropriately.…We've already seen one key difference…between the public side and the staff side,…which is that the staff can edit content, right?…They have access to all of that content management system…we created, which does CRUD,…Create, Read, Update, and Delete records.…The public side, on the other hand, can only read content.…They can't actually edit it,…it's just there for them to view.…
In addition to that, there's some other,…more subtle differences.…If you remember, we have a boolean on both our subjects…and pages table for visible.…This is a common feature because it allows the staff…to be able to create new content that's not yet visible…to the public, they can get it staged, review it,…get it all just like they like it,…and then when it's ready to launch to the public,…they can flip that boolean from not visible to visible.…
- Creating a content management system
- Building dynamic content navigation
- Using context and function options for conditional behavior
- Hiding content from the public view
- Insecure direct object reference
- Allowing HTML in dynamic content
- Previewing content in the public context
- Working with cookies and sessions
- Storing status messages in the session
- Secure user authentication (login/logout)
- Regulating page access
- Nesting related resources
- Managing an ordered list automatically
Skill Level Beginner
1. Create a Content Management System
2. Build Dynamic Content Navigation
3. Use Context and Options
4. Cookies and Sessions
5. Regulate Page Access
6. Nesting Related Resources
Next steps1m 15s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.