Php baby class

After months of insightful observation and analysis, I’ve come up with this php baby simulator. //Beware the loop while($parents->still_love_each_other_enough()) { $newborn = new Baby; } (maybe I should refactor it using cakephp or at least the MVC pattern: I’d really love to have a BabiesController) Be careful: due to inherent …

Single query cache and pagination cache (until a future post) and ad hoc joins. An over-override of appModel::find

In a project i’m working on, being unaware of super behaviours or plugins that may appear on github, i made some search to find fast and effective solutions (or ideas) for the needs at hand. Namely, performance -> caching. Needs stacked over time. I liked the idea of single query …

Your own cakephp file-browser for ckeditor: part 4 – flickr photos and slideshow

As we have seen in the previous post (Your own cakephp file-browser for ckeditor: part 3 – youtube videos), it’s not hard to implement a search/browser of external data sources, with the ability to embed the desired formatted media in ckeditor. Here’s a similar approach, interacting with Flickr’s API, with …