Skip to content
Joshua Romero edited this page Jan 28, 2019 · 4 revisions

As of right now this page just holds some notes from the group Saturday 1/26/19, where the group ended at section 1.4 in the Swift Otter Study Guide.

The following topics were noted as areas where participants would like to learn more.

  • cron – Cron/, crontab.xml, cron_groups.xml
  • web_api – web_api.xml, resources, authentication
  • i18n – Translation via __()
  • Custom configuration reader – 
  • extension_attributesextension_attributes.xml, Api/, Api/Data/, Setup scripts, Plugins
  • admin grids – xml configuration, data providers
  • router – example of custom routing

Mediotype Employees Module

Setup Scripts

  • Install Schema
  • Install Data
  • Upgrade Schema
  • Upgrade Data

Table

  • First Name
  • Last Name
  • Position (reads from another db table)
  • Hire Date
  • Termination Date
  • Picture
  • Certifications (reads from code array)

Backend

  • Service Contracts for models
  • Model/Resource Mode/Collection classes
  • di.xml config for interfaces and classes

Adminhtml

  • Create ACL Rules
  • Add Menu Item
  • Admin List View (UI Component)
  • Determine what columns to show
  • Populate actions column
  • Admin Form View (UI Component)
  • Create, Read, Update, and Delete

Extension Attributes

  • Attach to existing customer via extension attribute

Frontend

  • Create frontend view
  • Frontend route
  • Blocks (and ViewModel blocks)
  • Phtml files
  • Modify checkout to include Were You Helped By An Employee field and pull in a list of employees from the db

REST API

  • Build WebAPI to handle crud operations

Tests

  • Write unit tests to cover functionality
Clone this wiki locally