Essemme

if ($this->is_interesting) { $post = new Blog; $post->write ( $something_about_it ); }

Archive for the ‘CakePhp’ Category

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 ]

Categories: (almost) English, CakePhp

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 ]

Categories: (almost) English, CakePhp

Bookmarklets for everyone

Posted by stefano_ma 2 Comments

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 ]

As 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 ]

Categories: (almost) English, CakePhp

I’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 ]

Categories: (almost) English, CakePhp

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 ]

Wasn’t it obvious?

Posted by stefano_ma 0 Comment

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 ]

Categories: (almost) English, CakePhp

Php baby class

Posted by stefano_ma 2 Comments

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 ]

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Popular Posts

Win a copy of "CakeP

As you can see from my review, I bought this ...

Quale IDE per cakeph

L'eterno dilemma. L'argomento ha consumato miliardi di bit nel gruppo ...

Cakephp, code insigh

Il contesto Una buona IDE è molto utile. Tra le varie preziose ...

Finalmente un libro

Ecco uno di quei momenti "oh, si!" che raramente capitano, ...

Your own cakephp fil

Here we are. The basics are still the same of ...

Check this!

  • logo cakephp community italiana
  • Cakephp logo
  • La pasticceriaPhp!
  • github screenshot portion

Switch to our mobile site