Skip to navigation Skip to content

DerEuroMark

A blog about Frameworks (CakePHP), MVC, Snippets, Tips and more

Primary Menu
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • About us
  • Home
  • Enums

Tag: Enums

CakePHP

Enums in CakePHP – reloaded

Mark
January 30, 2024
0

If you have been in the Cake ecosystem for a while, you might remember my 13+ year old blog post about how to work with enums in CakePHP the easy way. I have been using them heavily for all my…

Read More
CakePHP

Static Enums or “Semihardcoded Attributes”

Mark
June 24, 2010
12

There are many cases where an additional model + table + relation would be total overhead. Like those little "status", "level", "type", "color", "category" attributes. Often those attributes are implemented as "enums" in SQL – but cake doesn’t support them…

Read More
Search the site
Tags
ACL Auth Authentication Authorization Background tasks Bake Behavior Bootstrap CakePHP CakePHP1.3 CakePHP2 CakePHP3 Coding Standards Component Composer Console Custom Template Database Deployment ErrorHandler Framework Git Helper HTML5 IDE Lib Login Migration Model PHP PHP5 PHP5.4 PHPStan PHPUnit Plugin Queue redirect Roles Security Testing Tips Travis CI Upgrade Validation virtual fields
Categories
  • Common (7)
  • Fun (1)
  • VersionControl (7)
    • Git (2)
    • SVN (5)
  • WebDevelopment (172)
    • DevVM (1)
    • HTML (2)
    • JS (2)
      • jQuery (2)
    • MySQL (3)
    • PHP (164)
      • CakePHP (147)
    • Testing (6)
Recent Posts
  • eInvoicing in PHP
  • One time login links in CakePHP
  • TinyAuth and CakePHP authorization plugin
  • TinyAuth and CakePHP authentication plugin
  • CakePHP Static Analyzer updates
Recent Comments
  • Mark on Middleware and CakePHP
  • Mark on Middleware and CakePHP
  • Michael Schrading on Middleware and CakePHP
  • Mark on Middleware and CakePHP
  • Michael Schrading on Middleware and CakePHP
Calendar
May 2025
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Apr    
Archives
Pages
  • About us
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • Working with decimals in PHP apps 6 views
  • eInvoicing in PHP 6 views
  • TinyAuth and CakePHP authorization plugin 4 views
  • One time login links in CakePHP 4 views
  • TinyAuth and CakePHP authentication plugin 3 views
  • AJAX and CakePHP 2 views
  • Why CakePHP? 2 views
  • CakePHP and static analyzers 2 views
  • CakePHP Static Analyzer updates 2 views
  • Virtual query fields in CakePHP 1 view
Copyright © All rights reserved. Theme: Blog Elite by Themesaga