Skip Navigation

Archive for the ‘CakePHP’ Category

MailingBaker: a cakePHP newsletter manager plugin

Thursday, June 28th, 2007

Not news for those who track new projects at cakeforge but I’ve started a new plugin for cakePHP, it’s called MailingBaker and as the name says, it’s a newsletter manager plugin.
MailingBaker has multi-lists, WYSIWYG newsletter editing (html/plain), layouts, opt-in, opt-out and more. Mailing Baker doesn’t aim to be a standalone application, rather, be hooked in your applications..well a plugin duh.
there is already working code in the svn repo
Currently MB is not setup as a plugin in code, it’s just a normal app, when the functionality is stable we’ll package it as a plugin and make a release.

MailingBaker uses a new version of my SwiftMailer Component (compatible with version 3 yes).

If you are interested in joining the project, please don’t hesitate, as it’s for the benefit of everyone. Whenever you will need a newsletter/mailing list functionality in your cake applications you can plug-in MB and get done.

Cake!

Introducing TohDoh Yet Another CakePHP AJAX Todo-List Demo

Saturday, April 14th, 2007

TohDoh is YET ANOTHER CAKEPHP AJAX TODO LIST DEMO or YACATLD, a 100% ajax threaded todo list. It’s both a showcase and an opportunity for new bakers to learn from.
TohDoh has some features like:

  • Threaded, so you have tasks and sub tasks.
  • You can add, edit in-place and delete tasks
  • Drag & Drop to sort tasks
  • And of course you can done & and undone tasks :)

You can see the demo running here. The code is available at cakeforge

(more…)

Update to the Conf Component

Thursday, April 5th, 2007

Not so long ago I’ve created a component to handle DB based configuration and settings. It was pretty clean and slim. Some features however were needed ( requested ), so the component got some updates.
(more…)

CakePHP: Update a select box using ajax

Wednesday, April 4th, 2007

I noticed a lot of new comers asking this question: I want a select box to be updated using ajax when I change the current item in another select box .

So this is a quick tutorial on how to do exactly that.

(more…)

a tinymce element for cakePHP

Thursday, March 29th, 2007

To demonstrate the power of Elements in cakePHP, I’m going to use as an example TinyMCE. TinyMCE is basically a LGPLed web based Javascript HTML WYSIWYG editor. It has many features but it’s not the aim of this post to introduce it, rather to demonstrate how we can use it as an element. TinyMCE can be used on textareas ( and probably some other tags ) .
(more…)

othAuth 0.5.4

Thursday, March 29th, 2007

This is mainly a bug fix release.

  • fixed a bug related to Y-m-d H:i:s
  • Fixed a bug in loginAttempts reported by PatDaMilla
  • Added support for parameters sent via url in a traditional way, mainly for redirects, thanks to Ritesh.

What else I’m not sure but we’re going towards a more stable system.
the nao mode is broken at the moment, I’ll fix it when I’ll have time to write docs for it.

Updated Component
Docs

ConfComponent db Based configuration

Friday, February 16th, 2007

Hello, it has been some time now. My apologies for that, I’ve been kinda very busy lately ( whine whine..). But anyway I’ve found sometime to release something, and oh Ma! it is something! heh well, not really. This time I have a configuration component for you. I hear you saying, but cake already has a configuration system. Yes it has, and it’s very nice. really neat. But it’s not db based, meaning the configuration files are stored in files in app/config/. it’s no big deal but in some cases you have to use the db.

So anyway the component is in bakery along with a tutorial. check it out.

PS: If the links say the article doesn’t exist, you gotta wait until a moderator validates them..or write a comment with your email so I can send it to you.

CakePourTous - Voulez vous Caker avec moi ?

Thursday, December 28th, 2006

Some of you might already know, but I don’t write about anything until it’s official.. :P
So what was I saying, oh frenchy, yeh..so I started this blog about cakePHP in french.

It was really needed because the community is growing and some people ( they are quite many ) still can’t cross the language border.

It’s called CakePourTous and translates to Cake For Everyone.

The aim of this new Blog is to provide material about cakePHP. Be it news, articles or Tutorials. Maybe a glossary, or even screencasts! anything that can encourage curious minds, help new comers, or clarify advanced stuff for the experienced bakers.
So if you’re looking to refresh your french skills as cakebaker or if you’re straightforwardly a french speaker, I give you a rendez-vous there.

Last but not least, there is the official french cakephp google group jump there if you need some help or want to join the community by helping others.

Cake!

SwiftMailer Component

Thursday, December 21st, 2006

Based on the really cool SwiftMailer library by Chris Corbyn, a serious alternative to PHPMailer. This Component makes it easy to send views, or wrap a body message with a layout, suitable for newsletter for example, in addition, it embeds the images in the view on the fly, so you don’t have to change your Cake habits ( you use $html->image as you would normally ). you just need to add an attribute to the images you want to send with a embed=”swift”
Hmm what else, oh yea there are some utility functions that make life a bit easier, read it cake-ish.

a note though, this Component doesn’t intend to hide the functionalities of Swift, its syntax is alreay clean, inventing another one is just pointless.

You can download the Swift Mailer Component from bakery. oh yeah the tutorial is there too.

Cake!

othAuth 0.5.2

Thursday, December 21st, 2006

This is just a minor-bugs-fixing version + support for the newly introduced lazy model loading, as always you can find the component and the helper here. I updated the docs too.

  • Fixed a bug in getData ( both in the component and the helper)
  • Fixed a bug related to the ‘/’ route
  • Added lazy model loading support

The latter affects othAuth because it creates the models within the component.