• Working with Tree data (MPTT)

    By Andy, filed under CakePHP, Tools, MPTT

    In the past week, a lot happened to this site, and not all of it was good :). Where to begin... the development machine died (hopefully get it back today); I moved all the code from a backup onto my aging laptop, my previous host account expired; I changed hosts to Dreamhost, the update from my laptop to the live version included some code that doesn't work/isn't finished; I...

    read more11 comments

  • Mini Controllers - modular page design

    By Andy, filed under CakePHP, Tools, requestAction

    The MVC pattern adds some clarity to what should go where when it comes to designing a page which requires some data from a data source. The model gets the data from the data source; the controller might do something with that data and then the view will display what the controller passes to it. If the page handles only a single function that's rather easy to both ...

    read more11 comments

  • Site Update: Version 3

    By Andy, filed under CakePHP, NoswaD

    After a while in development, I have updated the site to a new look and some leaner code. The things I've been working on for the past few weeks are:

    • Implement full version control for the source.
    • Make the site valid XHTML.
    • Replace the use of external libraries with Cake functions where possible.
    • Redesign the look for the site.
    • Make it...

    read more0 comments

  • Colour Contrast

    By Andy, filed under uncategorized

    As some may know, I'm in the process of redesigning this site, triggered in part because of the totally inaccessible manner in which it is displayed in IE7 (I would usually ignore that but it's one thing to not look too good, it's quite another to put the buttons in places that are unreachable). So, IE7 isn't all bad, it gave me something to investigate :). As part of the ...

    read more3 comments

  • Anti Spam tactics

    By Andy, filed under uncategorized

    Isn't spam great? every day I get new inspiration in my email for Spamusement (which seems a bit neglected lately), and lately attempts to inspire me via comments on my site have been getting through. Trouble is, I've already got a big willy, my breasts are ample, the cupboard is stocked with Viagra, my insurance isn't up for renewal, and I don't trust stock tips from anyone...

    read more6 comments

  • Access Control for all (Part 3)

    By Andy, filed under CakePHP, ACL

    You could be forgiven for thinking that I've not been up to much lately, after all it's a month or so since I wrote something on my blog. However that's not the case, and I have in fact been quite busy making changes here and there.

    New Cakeforge Project

    One of the things I have been looking at is how to better manage the content of this site, as the cost of...

    read more4 comments

  • Access Control for all (Part 2)

    By Andy, filed under uncategorized

    If you have followed the advice of the previous post on ACL then you should have some code that permits you to put in place ACL checks for your site with very little effort. There is however still the other side of ACL to do and that is the (potentially) significant effort of setting up your ACL rules.

    As I mentioned in that post I was going to provide a live demo as ...

    read more5 comments

  • Access Control for all (Part 1)

    By Andy, filed under uncategorized

    So, you read the manual but how to put in place access control for the sensitive content of your site still eludes you. Have no fear, this post is for you. A while ago I wrote a descriptive blog on the difference between authentication and access control, it didn't go into code details but in it I mentioned that i would write a tutorial on ACL if the question was still...

    read more18 comments

 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8