I'm happy to report that BFTP has entered the test phase. It is already stable and usable, but a few bugs still need working out. The initial feature set is also more robust than I had intended, making the imminent release of version 1 that much more exciting!
Thursday, December 3, 2009
Tuesday, December 1, 2009
Moving the Cursor to the End of a TextField in REALBasic
You will now learn in three seconds what took me 15 minutes to discover.
1. Double-click on the TextField.
2. Select GotFocus.
3. Add this to the method:
me.selStart = me.text.len() + 1
Monday, November 30, 2009
Forcing a 404 Error with Zend Framework
There are many things I like about Zend Framework. And there are times when using it is like searching for a black cat in a dark room. Seemingly simple tasks end up frittering away time looking through the documentation and source code.
Inducing a 404 response is one of these things. I didn't want to simply redirect the page, but rather, I wanted the ErrorController to handle the error just like usual.
In your action controller:
// Some "not found" condition occurs.
throw new Zend_Controller_Action_Exception('Page not found.',404);
And in views/scripts/error/error.phtml:
<? if (404 == $this->exception->getCode()): ?> // Put your 404 message here. <? endif ?>
Thursday, November 19, 2009
Been There: The Long and Winding Road
We started our geographic note taking iPhone application, Been There, back in April. Principal development was done by July. Then the process of test, report, fix, test lasted through September. At which point we started the process of preparing for submission. It's been one thing after another, but Lord Willing, I will submit the app to Apple's approval process tomorrow.
I could do it tonight, but I don't think I'm up to it.
Thursday, November 5, 2009
When Flexigrid Columns Don't Line Up
If find it really aggravating to fix a problem only to encounter it again -- after I've long forgotten how I fixed it. This happened to me when I was creating a new PHP wrapper class around the Flexigrid plugin for jQuery.
And the reason was ... the stylesheet had:
table { width: 100%; }
Remove this or add a class or inline style to your table to allow Flexigrid to do its thing.
Of course, I don't actually remember if this is the problem I encountered last time, but I'm posting this for the benefit of all -- including myself.
Monday, November 2, 2009
Update: Bogeymin is Ready for Testing
Although there are a few plugins left to create, I'll be starting the test phase of Bogeymin this week. I am also lining up beta testers for some initial installs of the software. This is a private test and the participants have already been lined up. But if you'd like to know when the product is ready for release, sign up here.
Thursday, October 29, 2009
BFTP Update
I reviewed the initial build of BFTP today -- sorry, still no screenshots -- and am pleased with our progress so far. One feature that was cool to see in action was the directory masking. Essentially this allows the service provider to create human-friendly aliases for a directory on the server. So, for example, a directory at galleries/wedding would appear as "Wedding Gallery" to the end user.
We are behind on my original schedule, but should have a beta version soon. The management website is another story, though. Guess I better get to work.