May
9
Disclaimer: These are primarily notes for myself as I get accustomed to CakePHP's (v1.2) authentication and ACL. I've been building a website and wanted to finally make use of CakePHP before I start using it for the library's CMS. A CMS is a large undertaking and I don't want to go into it "cold-turkey", so I came up with some side-project to help me understand the framework a bit better. All in all, it truly is an
extremely rapid development tool.
I decided not to go with ExpressionEngine or Drupal simply because I'd still have to take time to learn those systems and make modules or extensions within those languages - and there's no guarantee I'd be able to do what I'd need to do with them. If I build it myself, it would take just about the same amount of time with Cake. Anyway, to continue...
Continue reading "CakePHP Auth Component"
Posted by Brendon Kozlowski
Apr
21
So here I was trying to do some work on my domains this weekend and into today, thinking that my host had problems with the server on the weekend... "Oh, it's up again today," I thought...so I proceeded to try to login again today. Well, apparently I forgot my password somehow and so I locked myself out from my own websites from two separate IP ranges. Awesome! At least my own place isn't blacklisted (visited my parents this weekend and was at work earlier today during my lunch break).
Ha! Oops... I still don't know what my password is for cPanel, but the regular account login still works.
Posted by Brendon Kozlowski
Apr
18
So, in attempting to figure out this rather obnoxiously generically defined protocol, I've found that our vendor's implementation of the protocol is not what I would have expected from first attempts. Properly formatted XML
with line breaks to denote a new tag in the structure is apparently not desired as the query fails. If I remove all newlines (and I did remove all leading whitespace, though I'd imagine it was
possibly unnecessary?) the query was successful. ...not to mention that a test was given where we would access it using Telnet under Microsoft's DOS. Well... MS-DOS prompt's telnet seems to be quite finicky and doesn't work as expected. Using PuTTy seemed to work OK though. Go figure. I'm glad I have that for SSH to our host otherwise I wouldn't have thought of it.
Without an RFC to describe
exactly how communication is to be sent, received, and expected...bug testing has become a chore
and a bore...not to mention that in trying to get a PHP socket client working just does
not seem to be working. I can read information sent from my test server, but I cannot send data to the test server; though it works with PuTTy. If only it were a webservice with SOAP or something similar instead...which is probably what I'd extend this to do anyway, eventually...for use by the consortia.
Oh yes, NCIP v2 should be coming along within the year as well since I believe it's now been passed. Yay. Give me more technical specifications or an actual library example to work from! ARGH!
Posted by Brendon Kozlowski
Mar
21
I've updated the plugin version to the most recent core files (from somewhere of like August 2007...oops). If you don't wish to download the files using Spartacus, you can manually install the files by
downloading them here
Posted by Brendon Kozlowski
Mar
18
Those of you looking towards "widgets" and cross-platform application development, but are primarily web developers with some background (or none) of programming with a desktop application, perhaps you should take a look at Adobe AIR (formerly known as Apollo). It allows you to create rich, cross-platform applications using just
HTML, CSS, and JavaScript! ...and, technically, I suppose you could leave out the CSS and JS part of that and it would still run...but what's the fun in that? It can be integrated into a Flash application, or a Flex application - but it
does not have to be.
If you're seemingly interested in the technology, I went through and found some interesting links on the subject (read: tutorials) that will hopefully help to get you (me) started. Okay...so I did it because I'm interested and this blog can serve as an access point for me rather than using my Bookmarks as a temporary storage medium. Whatever.

I was looking for
simple tutorials, so I ignored anything with an "adobe.com" or "ibm.com" (developer works) domain, so if you'd like more when you dive head first, you might want to look to
those resources instead of the ones I've provided below.
- Pete Freitag - newest one (by published date) that I could find
- NOT A TUTORIAL - Get the AIR SDK here
- Jonothan Snook on 2007's 24 Ways: Christmas is in the AIR - a simple to-do list tutorial
- AOL Developer Network - Part 1 of a Series - Simple "Hello World" type page with a self-signed certificate
- Jonathan Snook (again) releases Snoto Foto source code to help you learn! - No tutorial, but I'd imagine it's commented well
Enjoy! I hope I will!
Update: Make sure you've updated to the latest Sun Java JRE package or you might get some really, really odd and weird undocumented errors when trying to compile!
Posted by Brendon Kozlowski