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
  • 2010
  • June
  • 24

Day: June 24, 2010

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 Annotations Auth Authentication Authorization Background tasks Bake Behavior Bootstrap CakePHP CakePHP1.3 CakePHP2 CakePHP3 Component Composer Console Custom Template Database ErrorHandler Framework Git Helper HTML5 IDE IdeHelper 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 (175)
    • DevVM (1)
    • HTML (2)
    • JS (2)
      • jQuery (2)
    • MySQL (3)
    • PHP (167)
      • CakePHP (150)
    • Testing (6)
Recent Posts
  • Improved Session authenticator for CakePHP
  • CakePHP Tips Spring 2025
  • IdeHelper plugin on steroids
  • eInvoicing in PHP
  • One time login links in CakePHP
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
June 2010
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  
    Jul »
Archives
Pages
  • About us
  • Contact
  • Hire a Freelancer Expert
  • Resources and links
    • Coding Standards
  • Virtual query fields in CakePHP 4 views
  • CakePHP 5 upgrade guide 3 views
  • Generating PDFs with CakePHP 3 views
  • Improved Session authenticator for CakePHP 2 views
  • Virtual entity fields in CakePHP 2 views
  • Development vs. Productive Setup 2 views
  • Working with decimals in PHP apps 2 views
  • UTF8 can be tricky – especially with PHP 2 views
  • What REALLY speeds up your cakephp app 1 view
  • HTML, Markdown or BBCode? 1 view
Copyright © All rights reserved. Theme: Blog Elite by Themesaga