Posts Tagged ‘cakephp’

Dutch Borrel: Show-Your-Code Meetup

Finally! The dutch CakePHP meetup number 1 also know as Dutch Borrel.

It will be on Tuesday Jan 12th. 2010 in Amsterdam. To get to know eachother we’re not only talk and drink. We are gonna really meet eachother… through code.

Dutch Borrel #1:   Show-your-Code Meetup Amsterdam

(more…)

Amazon eCommerce datasource

Amazon eCommerce APII just pushed the Amazon eCommerce API datasource to gitHub: http://github.com/primeminister/CakePHP-Amazon-eCommerce-datasource

With this datasource you can easily get listings and items from Amzon in the books, music, etc categories.

You need an access key and secret key from http://aws.amazon.com. Please see the README file in the repository and check the Amazon API at http://docs.amazonwebservices.com/AWSECommerceService/2009-10-01/DG/

Please fork the code if you have optimizations, suggestions, etc. or leave a comment.

Koffie met cake (Coffee with cake)?

Dutch Cake Update 15 Dec 2009: (NL) De volgende data zijn beschikbaar:
Di 12 Jan 2010, Di 19 Jan 2010 of Do 21 Jan 2010.

’s middags vanaf 16:00u, Locatie nog onbekend…


Update 09 Dec 2009: It is going to be a ‘Borrel’ in Utrecht. I’m planning dates now…


I have seen many dutch guys (and girls?) in the IRC lately and thought of organizing a Dutch CakePHP get together. So we could do it in two ways: We could make it like a ‘borrel’ starting from like 5pm or we could make it more like a small event with speakers, code and of course cake.

Maybe some belgium and german guys want to be there to?

And of course the first question is: Are you interested in this kind of event/get-together?

“…Gesellig hè!…”

Charlie (aka primeminister)

Cache duration and configuration tips

320gb-werstern-digital-hard-drive-7200-rpm-cache-8mb-hd-w3200jbAs you know you can cache several elements in you application. When I wrote a value to the cache I did it by setting the duration in the third parameter of write:

Cache::write('cache_key', 'value to cache',array(
    'config'=>'default',
    'duration'=>'+1 day')
);

But today I learned a lesson from Mark Story that this was a bug and it is fixed and doens’t work anymore. It is ignored.

So how do I set the duration before read/write for specific data in my code? (more…)

Yii and CakePHP

what-do-you-look-for-in-a-php-framework-graphI like working with CakePHP because it saved me a lot of time when it comes to roll-out new features for an existing app. Now I’m working on new features in markt.nl and it saves me like days to get going again and change some search results look and feel.

I also sometimes think CakePHP framework is a little bit bloated and I miss the lazy loading a lot. In some apps I use the (un)bindModel methods and containable behaviour a lot and often have to read the whole method again and wonder how I did it. (/em is asheamed of writing code without comments) ;)

So I stumbled against a blog post by Jonah while writing about the Yii framework in comparisment to CakePHP. I liked what I read but always have to try it out myself. So I will do that in the future. Maybe on Christmass because I hate such holidays (sorry all…)

Speaking of frameworks… Chris Hartjes made a shop with a nice t-shirt. I like the drawing but not gonna buy the shirt. The collar of those things always kill me ;)