Karmen Blake
Agile Developer and Instructor
Categories
- Courses (15)
Archives
- June 2008 (2)
- May 2008 (10)
- April 2008 (16)
- March 2008 (8)
- February 2008 (10)
- January 2008 (14)
- December 2007 (4)
- November 2007 (7)
- October 2007 (25)
Tags
- 206 (10)
- 234 (7)
- 282 (10)
- 283 (29)
- 284 (29)
- agile (1)
- announcements (10)
- articles (2)
- assignments (10)
- contest (1)
- employment (1)
- humor (5)
- linux (5)
- location (1)
- microsoft (1)
- office (1)
- preregistration (1)
- rails (4)
- ruby (14)
- scc (2)
- scripting (4)
- syllabi (3)
- syllabus (1)
- tips (1)
- unix (2)
- video (1)
- videos (7)
- web (2)
- windows (3)
Welcome!
You'll find my course content and collaborative discussion about technology.
I teach as an adjunct faculty in the Computer Information Systems department at Spokane Community College
Presentations/Interviews
RubyLearning.com interviewCourse Technology - Ruby on Rails Presentation
Final Assignment coming soon
May 29th, 2008 | 0 comments »
I’ll be creating another screencast showing how to do nested resources. This will be accompanied by an assignment. It should be coming out in a few days.
Model Associations Lecture
May 28th, 2008 | 3 comments »
Download App
Ok, remind me not to create screencasts after 10:00 p.m. I have another 5 minute spot towards the end where I’m off in lala land. You can fast forward through it or use it as ammunition for our next conversation. :)
RESTFul Authentication Lecture
May 22nd, 2008 | 9 comments »
Download App
I apologize for some delayed times in the screencast (plugin download starting at 1:48 to 2:50) and my space-out, air-head moment (starting at 18:30 to 22:10) on the login and logout routes. Feel free to fast forward through those sections.
Outline for next set of lectures
May 19th, 2008 | 0 comments »
RESTful Authentication- http://railscasts.com/episodes/67
- Chapter 14 of The Rails Way (NOTE: use as a reference for use not for setup because the plugin setup is different. Some code is the same and the explanations are pretty good.)
ActiveRecord Associations
- The Rails Way, Chapter 7
- http://en.wikibooks.org/wiki/Ruby_on_Rails/ActiveRecord/Associations
- http://www.patchedsoftware.com/RailsEnvy-ActiveRecord.mov (good section right on the middle of the talk)
- http://www.slash7.com/cheats/activerecord_cheatsheet.pdf
- http://biodegradablegeek.com/2007/12/26/understanding-basic-database-relationships-in-rails/ (the migration syntax is outdated, but the concepts are the same)
Nested Routes
- The Rails Way – Chapter 4
- http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial
Sorting a collection and will_paginate
May 12th, 2008 |
Download appView in full screen
Assignment 2
May 12th, 2008 |
CIS 284
Assignment 2
Due by Sunday, May 18th by midnight
- zip up rails app named lastname_app, thus, lastname_app.zip
- email and attach zipped file (do not rename zip, send as is) to kblake.scc@gmail.com
- subject line: full name, cis 284, assignment name
- You’ll be updating your KraigsList application
- Update your website to have meaningful titles
- use the
hhelper where appropriate - use the
cyclehelper to prettify your listing - clean up controllers and views using techniques shown in lectures: before_filters, helpers, and partials, skinny-contoller/fat model
- paginate your listing
- Add Web 2.0 graphic(s) to your site (Have fun but don’t go overboard (remember blink and marquee))
- http://www.simplehelp.net/2007/06/20/30-resources-to-create-your-own-web-20-site/
- Create your own: http://creatr.cc/creatr/
- Extra Credit:
- Add a select list with these options title, price, email. The select list will be used to allow a user to sort by a given field. The default will be ascending. Add a checkbox where a user can select to have the list sorted in descending order.
- Add a submit, so that when clicked does a form submission and returns a collection sorted in the user selected order.
- Use Rails helpers to generate the form elements.
will_paginate plugin
May 11th, 2008 |
For those who could not install the will_paginate plugin as shown in my lecture and book, I’ve provided a downloadable zip you can use. Download the file and unzip into your RAILS_ROOT/vendor/plugins directory. I’ve never done it this way but theoretically should work. Let me know.
Download zipped will_paginate
Assignment...
May 9th, 2008 |
coming soon…
Lecture: cycle, h, refactored partials, before_filter
May 5th, 2008 |
Download appPlease view in full screen
Outline for next set of lectures
April 30th, 2008 |
- dynamic titles (http://railscasts.com/episodes/30)
- helper methods:
- cycle (pg. 394 – The Rails Way)
- h (pgs. 319-320 – The Rails Way)
- custom helpers (chapter 11 pgs. 407+ (The Rails Way) controller-specific, application-level)
- filters (Chapter 2 – The Rails Way)
- before_filter to find a record
- Fat models, skinny controller (jamis buck, http://weblog.jamisbuck.org/2006/10/18/skinny-controller-fat-model)
- partials of collections instead of iteration (Chapter 10 – The Rails Way, http://railscasts.com/episodes/80)
- will_paginate (Chapter 11 – The Rails Way, http://errtheblog.com/posts/56-im-paginating-again, http://railscasts.com/episodes/51)