Development
CFDUMP equivalent in Flex?
I’ve made the leap into the world of Flex in the last day or so, and so am going through the process of “Flexing” concepts I know from other languages. I’m going to make a note of all of them because I think they’re handy to know.
Tonight while trying to workout some functionality related to web services [...]
fb.connect.logout doesn’t work (doesn’t log user out of facebook)
I’ve been doing a Facebook Connect implementation using CakePHP and was having no luck using the fb.connect.logout function. I’m not sure whether this qualifies as a bug (dodgy code) or just a case of RTFM (or look at the examples closely) but I simply couldn’t get the fb.connect.logout function to log me out of Facebook [...]
Variable is “undefined” even with cfparam Coldfusion 9
Going through some testing as part of our upgrade to Coldfusion 9 I encountered a compatibility issue that is worth knowing about. In Coldfusion 9 there is now a variable status “undefined”, that is the variable can exist (and appear in cfdump for example) but is not usable, it is explicitly undefined. This [...]
How to retrieve the Facebook session key using php client api
Working through an implementation of the Facebook Connect I got caught up in the tangle of documentation that surrounds it and couldn’t work out how to get the session key information so here it is a note to self about how to retrieve the Facebook session key using php client api:
$fbsessionid = $this->facebook->api_client->session_key;
PHP new line not showing in text
Note to self whenever you are experiencing problems with rendering new lines in php e.g. using \n you must wrap these in double quotes not single e.g.
This will NOT work
echo =’My line with a line feed \n’;
This WILL work
echo =”My line with a line feed \n”;
Free coldfusion Diff comparison of HTML – CFX_CompareHTML
The Coldfusion open source community just keeps getting stronger. Whenever I talk to other cf programmers who are thinking of moving to another platform (there still seems to be a deep seated belief that CF is not a “real” programming language) I point them to great projects like RIAForge or a host of open [...]
Error: The requested address “/” was not found on this server – CakePHP Error
This morning when I uploaded my site to live I came across one of those cryptic CakePHP messages Error: The requested address “/” was not found on this serverwhich I thought I’d blog about just as a note to self. I knew I had access to everything and my Auth setup was copied from DEV where it was [...]
What is the difference between the Auth component and the ACL component in CakePHP?
This is a part of my series.
One of the things that I found most confusing about implementing the Auth component and ACL was their precise relationship, how they hung together, what one was and the other wasn’t or more specifically what one did and the other didn’t.
While conceptually not complicated – the Auth Component [...]
Cake PHP Auth Component Frequently Asked Questions (FAQ)
This is a part of my series.
User password is “double hashed on edit when using the Cakephp Auth component
This is a part of my series.
I found a good basis for a resolution to this issue here . It wasn’t perfect for me but did a nice job of explaining a problem I had with hashed values. I have provided a modified solution below that meets my requirements more specifically (that is [...]
