Skip to content

ochenk/code_samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ochen K.

Code Samples

  • DEA Museum Sitewide Alert (live site pending) - Drupal 9 custom module

    • Client: U.S. Drug Enforcement Agency Museum and Visitors Cente
    • Project Description: The DEA Museum site needed a site-wide alert that would show on the top of every page when needed. This is a common request, but none of the Drupal contrib modules were able to do what was needed here, so I built a custom version. Via an admin interface, a content admin can add an alert, set the type, and add relevant content. It is shown to the user until the user dismisses it. A cookie is set to remember the dismissed state. Custom cache rules are set so that this can dynamically coexist with highly-cached pages. The cache is busted if any content in the alert is edited.
    • My role: Sole developer. Backend.
    • Code Sample
      • Things of mild interest:
        • Backend: Caching and busting, admin forms.
        • Frontend: Cookie management.
  • SCCA Pricing (live site) - Drupal 8 custom module

    • Client: Seattle Cancer Care Alliance
    • Project Description: The U.S. government requires hospitals to publish pricing data on all their products and services. It must be in a "machine readable" format. Usually hospitals just dump CSV or PDF docs on hidden pages and leave it at that. We found that patients often wanted to look up items that they see on their bills, so we built a search interface for pricing items, and the ability to download search results. Because there can be hundreds of thousands of pricing items, I created a custom entity type, to avoid the unnecessary overhead of nodes. To see this in action, go to the (live site), scroll down to "Search pricing" and try entering terms, such as "blood" or "87015".
    • My role: Sole developer. Backend and frontend.
    • Code Sample
      • Things of mild interest:
        • Backend: Custom entity with full crud integrations, custom search api queries, entity mass edit.
        • Frontend: Custom jQuery HTML-to-CSV function.
  • ASH Micro-site (live site) - Drupal 8 custom module

    • Client: Seattle Cancer Care Alliance
    • Project Description: The American Society of Hematology (ASH) hosts an annual conference in Seattle, Washington. The Seattle Cancer Care Alliance (SCCA) has significant representation at the ASH conference. To highlight and promote its offerings at the conference, SCCA created a micro-site presenting all SCCA speakers, abstracts, and trials, as well as regular news stories and blog posts during the event.
    • My role: Sole developer. Backend and frontend.
    • Code Sample
      • One of the technical requirements of the ASH micro-site project was to keep the development work separate enough that it could be disabled or replicated easily once the conference was over, so all the backend code is contained within this one module and all the frontend work is within a corresponding custom theme.
      • Things of mild interest:
        • Backend: Theme switching.
        • Frontend (as seen on the live site): Page-level dynamic searching, contextual sticky headers.
  • State Firearm Laws (live site) - Drupal 8 custom module

    • Client: Boston University School of Public Health
    • Project Description: A small Drupal 8 site that collects and displays current and historical state firearm laws. The maps are created using the D3.js data visualization library.
    • My role: Senior back-end developer. Map creation. Data migration.
    • Code Sample
      • This module manages the map on the home page and on the national data page of the State Firearm Laws site. Includes the map itself and the corresponding api, forms, display, and config.
      • Things of mild interest:
        • Backend: json api, config via admin forms, custom form ajax (non-native form ajax methods).
        • Frontend: D3.js. Merging and cross-mapping data sources.
  • Healthy People 2020 (live site) - Drupal 7 custom module

    • Client: The Office of Disease Prevention and Health Promotion - a division of the U.S. Department of Health and Human Services.
    • Project Description: The Office of Disease Prevention and Health Promotion (ODPHP) sets the metrics and benchmarks to measure the health of the country. The Healthy People site is the warehouse for the collected data and related material.
    • My role: Senior Developer and Architect.
    • Code Sample
      • This manages the entire Data Search section of the Health People site. (It's a Drupal 7 site, in case that's of any maintenance value.)
      • Things of mild interest:
        • Backend: custom cache bin, static and dynamic queries.
        • Front: behavior and non-behavior triggers, dynamic hashes, nested ajax.

Other Projects

  • Peace First - Drupal 8 site

    • Description: A platform that supports young peacemakers by providing tools, resources, and funding for peacemaking projects.
    • My role: Senior Developer.
  • The Southern Theater - Laravel site

    • Description: A custom Laravel application that includes:
      • A public-facing website with online ticket sales
      • A backend ticketing administration system
      • A point-of-sale/box office system
      • Custom reporting of shows, performances, sales, and donations
      • Integrations with Stripe, MailChimp, and AWS
    • My role: Sole developer. Frontend and backend. Project manager.
  • @TCStreetFood - Twitter bot

    • Description: A Twitter bot that tracks all food trucks in the Minneapolis/St.Paul metro area and posts daily tweets and maps on truck locations. Includes Google Maps integration for dynamic maps. This Twitter account has come to be considered the canonical source for food truck locations in the area, and is regularly referenced in local media and the community. Originally a vanilla PHP application. Rebuilt in Laravel in 2017.
    • (Note: Because this is in Minnesota, the feed gets pretty quiet in the winter.)
    • My role: Owner, creator, maintainer, spokesperson.
  • ochenk.com

    • My personal, mostly-non-dev, project site.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published