Category: CakePhp

0

CakePHP, from intermediate to Uber in 24 days

Greatest. CakePHP. Series. Ever. Just in case you haven’t noticed yet, on CakepPHP’s Core Developer Jose Diaz Gonzales’ Blog, there is the CakeAdvent: from December 1st, one post each day, a great collection of advanced topics and tips.  At the moment of this writing, I suppose there are still 11 posts to go. If you use CakePHP, it’s a must read. If...

1

Books, books, books. And PHP frameworks

The world of php frameworks never stops. New frameworks arise, as well as new and (sometimes radically) different version of popular frameworks. I’ve always found good books a great asset when starting a project using a new framework; or improving the knowledge of a familiar one. While old school manuals are somewhat less needed today (as the pace of development...

1

Cakephp 2 simple bookmarklet helper

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 the bookmarklet, to send that...

2

Cakephp 2.0 Address Finder Helper

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. Well, in human terms it’s...

Bookmarklets, a quick follow up 1

Bookmarklets, a quick follow up

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 js code is from Tim...

2

Bookmarklets for everyone

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, and give common users a...

13

Win a copy of “CakePHP 1.3 Application Development Cookbook” (ebook) by Mariano Iglesias

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 site, and leave a comment...

1

Cakephp 1.3 Application Development Cookbook by Mariano Iglesias. The book many cakers were waiting for

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 final print version, i can...

Something I should have known about Security->disabledFields 0

Something I should have known about Security->disabledFields

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 values. If the fields or...

1

This IS useful: email datasource by Kevin van Zonnerveld

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 your model, and use the...