V-TEK Weblog about webdevelopment and linux

21Sep/090

Unauthorized Cake PHP Guide

Today I found a tweet of an unauthorized cakephp guide, which turnred out to be a wiki with usefull cakephp information.

Site : Unauthorized cake guide

The official CakePHP ( aka the cakephp book ) can be found over here

10Sep/090

Cakephp and ACL – how to work with users and groups

Today my webdevelopment collegue Eelco pointed me at an interesting article at the site komunitasweb. The tutorial explains how to work with ACL and how ACL is implemented in CakePHP.

Definitely a must read if you write webapplications in cakephp which need user or group based restrictions

http://komunitasweb.com/2009/03/cakephp-acl-tutorial-what-and-how/

Tagged as: , , No Comments
18Dec/081

A call for cakephp favourite links

Hi Y'all.

I want to make a special part on my blog, containing your favourite and best links regarding cakephp.
If you feel, you got that perfect, ideal link to a blog, pdf or site please feel free to use the comments form!

I'll start of with a few...

3Jun/075

Cakephp : JsController could not be found

Today I was figuring out how to build an ajax login, but got this very strange error "JsController could not be found". After a couple of hours searching I noticed that I did not had copied all the javascript files that I needed to the webroot/js folder.

4Dec/061

No rss feed for cakephp changelog?

This morning I searched for a possibility for a rss feed that shows the changelog of cakephp.

Unfortunately, untill now I haven't found anything...

To be continued...

Yes people actually there is (thanks to Max Westen) :

https://trac.cakephp.org/timeline?changeset=on&max=50&daysback=90&format=rss

Tagged as: , 1 Comment
2Dec/0621

Undefined variable: javascript in cakePHP with scriptaculous

This weekend I was trying to get scriptaculous work with cakephp. Unfortunately I did always end up with the same error:

[code]Undefined variable: Javascript[/code]

After a couple of hours searching I found the following things can cause this problem:

  1. You do not have the html, javascript and ajax helper defined in your own controller (eg. user_controller.php)[php]var $helpers = array('Html','Javascript','Ajax'); [/php]
  2. Your render action points to a view where no view file is existing for. ( so the view file HAS to be created![php]$this->render('the_method','ajax'); [/php]

Hope it helps somebody who is experiencing the same problem I had.

31Oct/061

PHP Syntax highlighting for cakePHP files

Als je gebruik maakt van PHPEclipse voor het editen van je cakephp bestanden, zul je vast wel opgemerkt hebben dat deze niet om kan gaan met de cakePHP template ( thtml ) bestanden. Omdat het misschien wel zo handig is om een beetje syntax highlighting te krijgen kun je daarom het volgende doen:

  1. Start Eclipse (duh ;) )
  2. ga naar 'Window' en kies voor 'Preferences'
  3. Kies onder 'General' voor 'Content Types'
  4. Klik op het pijltje voor 'Text'
  5. Klik op 'PHP Source File'
  6. Aan de rechterkant staat een knop 'Add', klik hier op.
  7. en voer in het invoervak *.thtml in en klik op 'Ok'

Mocht dit nog niet lukken dan kun je ook de thtml extenise toevoegen aan de optie 'General' > 'Editors' > 'File Association'

Tagged as: , 1 Comment
16Sep/060

Ruby on Rails or PHP?

Rails LogoDe hype van Ruby on Rails begint ook in Nederland op te komen. Met het MVC model wordt volgens menigeen verwacht dat Ruby on Rails een geduchte concurrent van PHP gaat worden. Nu is er echter in de vorm van CakePHP ook een PHP implementatie van het RAD ( Rapid Application Development ) aanwezig (voor php dus).

Wil je hier meer over weten/lezen dan moet je vooral de huidige editie ( issue 07.2006 ) van Internation PHP Magazine kopen via : http://www.php-mag.net

Voor een link naar CakePHP klik hier

Tip: Volg vooral even de screencasts welke beschikbaar zijn op de site van CakePHP.

   

Recent Comments

Tags

Apache cakephp cpanel dav dd-wrt DNS Ext3 Framework GIT GNU grub javascript Kernel lilo Linux LPI LVM MVC MySQL Netbeans Netfilter PHP piping ps3 redirection regex Ruby on Rails Samba Sendmail Shell Skype SNMP Squid Symfony ubuntu upnp vim windows X Xorg X Window System