Posts made in July, 2009

  • Ok, so you are preparing your application to start coding, you are probably going to work on the users and the authentication system first of all and you want to limit different users to different parts of the site.
    Sounds simple enough – cakePHP provides something called ACL as part of its core. However you find [...]

    Share with your friends and help out this site:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • E-mail this story to a friend!
    • LinkedIn
    • Live
    • Reddit
    • StumbleUpon
    • Twitter
    • Yahoo! Bookmarks
    Read More...
  • Just wanted to update everyone as to what we are currently up to in the world of Nu Order Webs.
    Dan (Me) is currently still working on a huge project for http://www.singtotheworld.com which is the redevelopment of a site called http://www.yoosing.com. It is being built from scratch in cakePHP. So far it has taken 4 months [...]

    Share with your friends and help out this site:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • E-mail this story to a friend!
    • LinkedIn
    • Live
    • Reddit
    • StumbleUpon
    • Twitter
    • Yahoo! Bookmarks
    Read More...
  • Just a quick one today, if you find you are having to use nested Set::Extracts or nested foreach loops in your code to extract data then it is possible you have some incorrect associations.
    For instance if you array looks like this:
    Array ( [0] => Array [...]

    Share with your friends and help out this site:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • E-mail this story to a friend!
    • LinkedIn
    • Live
    • Reddit
    • StumbleUpon
    • Twitter
    • Yahoo! Bookmarks
    Read More...
  • I recently had a bit of a brain block how to do a certain thing in cakePHP – I basically wanted to update a model from a view but not using a GET method (as that would have allowed URL manipulation – and potentially created problems).
    The simple answer (again thanks to Darren at zeen.co.uk) is [...]

    Share with your friends and help out this site:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • E-mail this story to a friend!
    • LinkedIn
    • Live
    • Reddit
    • StumbleUpon
    • Twitter
    • Yahoo! Bookmarks
    Read More...
  • I googled this for an hour trying to find the solution, in the end the very helpful people at irc.freenode.net (#cakePHP) helped me out.
    I thought that when creating a custom component and extending the Object Class that certain methods were inherited – this isnt the case at all.
    In order to use Set to pass stuff [...]

    Share with your friends and help out this site:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • E-mail this story to a friend!
    • LinkedIn
    • Live
    • Reddit
    • StumbleUpon
    • Twitter
    • Yahoo! Bookmarks
    Read More...

Ad