Essemme

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

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 ]

Cakephp e jQuery: come?

Posted by stefano_ma 1 Comment

Usare l’helper o direttamente codice javascript/jQuery nelle viste? Sto iniziando ad usare regolarmente jquery nelle mie applicazioni cakephp, oltre ad essere passato da poco alla versione 1.3 del framework. Cassato (seppur ancora utilizzabile) il vecchio Ajax helper,  il nuovo Js helper sembra molto interessante. Finalmente svincola da proptotype e mette jQuery tra gli engine utilizzabili.  [ Read More ]

Categories: CakePhp, Italiano, Sviluppo web

Non sapevo neanche che l’avessero pubblicato! Mi riferisco al mio primo (ed unico, per ora) contributo sulla bakery di cakephp: YAGMH – Yet another Google Map Helper – The Bakery, Everything Cakephp In effetti è vecchiotto ed utilizza la versione 2 delle API di Google Maps (ora c’è la 3 – ho letto alcuni commenti  [ Read More ]

Categories: CakePhp, Italiano, Sviluppo web

..è un carosello. Contesto: un’applicazione iniziata con cakephp 1.2 e prototype (sempre quella). Aggiornata a cake 1.3, ma mantenendo i vecchi helper (come AjaxHelper invece del nuovo Js). Quindi, niente jQuery. Una limitazione? un po’, ma anche un’ottima opportunità per provare un po’ di codice lato client o ajax basato su prototype/scriptaculous o indipendente dalle  [ Read More ]

Categories: CakePhp, Italiano, top story

In the previous post we have seen the magic of the CKEDITR.insertHtml method, and how we can use it to avoid the whole file manager thing. The first popup was used to insert files with links to download. Embedding images (thumbnails with link to full version) is easy too. The controller action is even simpler:  [ Read More ]

Who hasn’t faced this issue at least once? There are a lot of great online html editors out there (I really like CKEditor), each one with his solution for file and image upload and management. Often, it’s not free. Sometime you don’t need a full-blown file manager. Sometime it’s simply better to give the user  [ 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