Hey Daniel and Korvin, First off thank you for responding, I appreciate all the feedback! I'm looking for good resources to hone my PHP. Korvin, I'll have to go back and take another look at those PSR's; hopefully, it will add some clarity to the code. Daniel, I understand that singleton 'Patterns' can be considered an anti-pattern as already addressed in the readme. However, I still saw significant use in the design with databases and has potential application in multi-level caching, routing, requests, etc... I attempted to look at common PHP frameworks such as Larval and Zend to examine some common practices. I figured due to Wikipedias disclaimer, most developers would steer away from it; however, I am not fully aware of why? I also don't understand why this would affect the surrounding libraries? If you could help clarify that would be awesome :)
Note: by using a skeleton pattern you keep the objects initiated in the heap and reference them statically when needed. With clearly defined routes and a well-thought error reporting, it can be powerful. The trait uses magic methods to work with data so developers should enjoy only having to define the trait. Using multi-level containment (abstraction or whatever) systems only increase the total number of jumps the application will need to initiate objects. Jumping send the process to the end of the processor's queue thus increasing runtime. This may not be a big deal for 90% of web applications, but for large traffic, and 'big data' problems this must be considered. Thanks for your time, Richard Miles -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/3a5dff68-de4f-4567-b3d2-e0796e799ee3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
