Just a basic helper that renders a “post it!” bookmarklet. (in brief, it’s the content of an old post, -well, two old posts- packaged as an helper) Let your users submit content from webpages – tell them to save the rendered link to their bookmars bar. And select some content on a webpage, then click [ Read More ]
Archive for the ‘CakePhp’ Category
I’m publishing as open source a simple -but hopefully useful- helper. It is based on http://tech.cibul.net/geocode-with-google-maps-api-v3/, most of the credit goes to this script. The Helper encapsulates the client side functionality as an easy to use widget, allowing a cakephp developer to easily enhance a cakephp form with address autocomplete, geocoding, drag and drop reverse geocoding. [ Read More ]
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 ]
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
12 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 ]










