No time to wait Just code Twist 0.1 Stash, Registry and DI container It turns out that all web frameworks require some kind of a sharing mechanism for passing variables to templates, holding configuration, database connection etc. This common data should be accessed from everywhere: controllers, models, templates, api endpoints, utility scripts and so on. Designing this "everything in one" class can dramatically affect web framework flexibility, extensibility, readability, maintainability and global warming.

Keep reading ]]>
Perl design patterns Wed, 20 Jul 2011 00:00:00 GMT