Skip to content

Latest commit

 

History

History
111 lines (82 loc) · 2.67 KB

README.rst

File metadata and controls

111 lines (82 loc) · 2.67 KB

Archive of whiteboard topics, mostly about Magento, PHP, OOP, design patterns, etc.

  • Create select source model with data from di.xml
  • Create categorized select source model with data from di.xml
  • Generate token for user authentication
  • Generate nonce for reset link
  • Update an entry timestamp via DateTime factory
  • Deduplicate redirect logic between inheritance-based controllers
  • Implement CSRF-aware request validation in controllers
  • Dispatch before, after events while saving an entity
  • Modify metadata/data via data modifiers in an entity DataProvider class
  • Improve frontend load time via cache-driven SQL queries