RORO May Lightning Preso Madness

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    RORO May Lightning Preso Madness - Presentation Transcript

    1. Cufon Fast text replacement with canvas and VML - no Flash or images required.
    2. <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> <html> <head> <script src=\"cufon.js\" type=\"text/javascript\"></script> <script src=\"fontin.font.js\" type=\"text/javascript\"></script> <script type=\"text/javascript\"> Cufon.replace(\"h1\"); </script> </head> <body> <h1>Look mah, it's Fontin!</h1> </body> </html>
    3. VIEW-FIRST Validations
    4. SIMPLIFYING Cucumber Stories
    5. Feature: Administering school subscriptions In order to manage a school's textbook subscriptions As a super user I want to be add and remove textbooks from a school's subscriptions Scenario: index Given I am logged in as a super-user And a school \"Gymea Tech\" exists When I go to the school admin book subscriptions for \"Gymea Tech\" Then I see the page
    6. Feature: Administering school subscriptions In order to manage a school's textbook subscriptions As a super user I want to be add and remove textbooks from a school's subscriptions Scenario: index Given I am logged in as a super-user And a school \"Gymea Tech\" exists When I go to the school admin book subscriptions for \"Gymea Tech\" Then I see the page
    7. def path_to(page_name) when /^new school admin$/ case page_name new_admin_school_path when /^the homepage$/ when /^the school admin for \"(.*)\"$/ root_path admin_school_path(school_with_name($1)) when /^the books page$/ when /^the school admin book subscriptions for \"(.*)\"$/ books_path admin_school_book_subscriptions_path(school_with_name($1)) when /^the login page$/ when /^the admin school admins path for \"(.*)\"$/ login_path admin_school_admins_path(school_with_name($1)) when /^logout$/ when /^the book homepage for \"(.*)\"$$/ logout_path book_path(book_with_title($1)) when /^the forgot password page$/ when /^the first article in \"(.*)\"$/ new_forgot_password_path book = book_with_title($1) book_article_path(book, book.articles.first) when /^the register page$/ register_path when /^the text version of the first article in \"(.*)\"$/ book = book_with_title($1) when /^the admin$/ book_article_path(book, book.articles.first, \"text\") admin_path when /^the image path \"(.*)\" for \"(.*)\"$/ when /^the super\\-users admin$/ book_image_path(book_with_title($2), $1.split(\"/\")) admin_super_users_path else when /^the schools admin$/ raise \"Mapping from \\\"#{page_name}\\\" to a path not defined\" admin_schools_path end end
    8. Feature: Feedback form Scenario: submitting feedback w/ an email address Given logged in When post /feedback with {:email => \"bob@bob.com\"} Then response 302 to /feedback/thanks?reply=true And contact@agencyrainford.com receives an email
    9. When /^post ([^\\s]+) with (\\{.*\\})$/ do |path, params| post path, eval(params) end
    10. TIM LUCAS TWITTER.COM/TOOLMANTIM TOOLMANTIM.COM

    + Tim LucasTim Lucas, 6 months ago

    custom

    480 views, 0 favs, 0 embeds more stats

    My 4 preso mixed bag from the May RORO Sydney meetu more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 480
      • 480 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories