Following my previous example, here is another version of the “grab a part of an external site’s page and save on my site with links to the original & page title” bookmarklet. Updated to: use an anonymous function to wrap it up select and submit the underlying html, not only simple text Most of the [ Read More ]
Archive for the ‘CakePhp’ Category
Ah, those nice javascript snippets that let some external site interact with our applications. Being a bridge for complex features or some simple functions, i was surprised how easy it is to make one. I am almost always looking for new ways to give admins and writers easier and faster way to do their job, [ Read More ]
Win a copy of “CakePHP 1.3 Application Development Cookbook” (ebook) by Mariano Iglesias
11 CommentsAs you can see from my review, I bought this book early, as soon as the raw version was available – and liked it. Now, 2 e-copies of the book (epub/pdf format) are kindly offered by Packt publishing. Love cake? Be the lucky winner! The rules are simple: just read the product page on Packt’s [ Read More ]
Cakephp 1.3 Application Development Cookbook by Mariano Iglesias. The book many cakers were waiting for
1 CommentI’m almost a cakephp books addict. I believe I bought every available book (well, at least those written in languages i could understand). Luckily, there are not that much to be a problem for my bank account. This is one of the reasons why I immediately got the ebook raw version. Now, after receiving the [ Read More ]
Altering values of hidden fields, and dinamically altering forms (adding / changing / removing fields) using javascript and ajax, is a common task in today’s web development. Cakephp’s Security component is evry useful for protecting our applications from some Cross Site Request Forgery – amd stopping malicious users froma altering our forms fields and hidden [ Read More ]
Looking for a shortcut to insert contents in a cake based cms, i found Kevin van Zonnerveld’s email datasource. Originally taken from infinitas cms, although not 100% finished, it seems a great piece of code, and easy to use. Just follow the instructions on github to grab – install – configure and implement it, create [ Read More ]
No. Not at first glance – not for me at least. What am I talking about? Of one of those ahah! moments – after minutes of cursing against the unknown. Context: a cakephp application prototype. Test on production, with debug = 0. It’s all ok and then.. I try to edit a record of some [ Read More ]
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 hardware limitations, the constructor of [ Read More ]
No jQuery? No problem. It’s a great chanche to explore stand-alone scripts or other ajax libraries. As an example, let me introduce Prototype Carousel. Light and easy, but probably powerful enough to suit your needs. It is done to manage every type of content(not only images: html, flash..). Thus, it was a perfect fit for [ Read More ]
Single query cache and pagination cache (until a future post) and ad hoc joins. An over-override of appModel::find
0 CommentIn 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 cache. I needed ad hoc [ Read More ]







