I ended the live tutorial a bit earlier than I had planned, but it’s been a fast-paced hour and I think there is tons of information there for the beginner to soak up:
- MVC Concepts (minus the M)
- Basic User Validation
- Form Validation
- Active Record (get, getwhere, and insert)
- Passing Data from Controller to View
- Using Sessions
My Challenge to You:
Finish up the blog controller by writing the article() method, which should display a blog post in it’s entirety.
Add the ability for non-logged in users to post comments. The basic concepts are already there with the posting ability, just modify it for commenting (don’t forget the post_id field).
Closing Thoughts
I’m not sure if blogging is the right format for a Live Tutorial. It was an interesting test, but in the end I was focused on going as quickly as possible to keep new content hitting the page often.
I would definitely be willing to perform some live video tutorials via Kyte.tv, Skype, etc - is anyone interested in this?