Please Excuse our mess

I upgraded from my own home brewed wordpress mu to 3.0 RC3 with multi. They implement multi in fundamentally differenent ways than I did, and I needed to also move some other non blog projects on the dorkage domain around. Needless to say, there will be a few glitches and I don’t have . . . → Read More: Please Excuse our mess

How my jQuery Drag’n'Drop Jigsaw works

AU-bg I had a kind of implied request to talk about the code in this jquery jigsaw puzzle. I sort of figured you can grab a copy if you like, but maybe a little expository prose will enable you to focus on the salient parts of the script.
Continue reading How my jQuery Drag’n’Drop Jigsaw works

ACH Fraud becoming ever more clever

Last week I saw Hal Pomeranz of the SANS institute give a talk on how ACH (Automated Clearing House)  fraud has become increasingly more sophisticated. It is a serious problem and it’s beginning to have a non negligible economic impact on business here in the USA. In this blog post I will summarize the takeaway points and suggest some counter strategies for people who are likely targets.

Continue reading ACH Fraud becoming ever more clever

Random Fiber Arts Dorkage

It’s funny how things confluence. A while back I did a post spreading the word about 2-D bar codes. Just recently I attended Beaver Bar Camp and went to an un-session titled Nerdlepoint by a woman from Portland OR named Julia (sorry, bar camps are so anarchistic that I couldn’t find . . . → Read More: Random Fiber Arts Dorkage

Adventures in Resource Mining

In my previous post in this series, I described some ancient software that I wrote years ago that I would like to recycle for the web. This post focuses on massaging the existing resources so that they are web-ready. Boring, but critical, and not so easy, as it turned out!

AU-bg
Preparing the graphical assets:
The most obvious way that suggests itself to implement the puzzles on the web is to create a JQuery UI draggable div with a background graphic. We have a conversion to do. In Hypercard, assets are resources embedded in the runnable file (which was always a huge source of problems.)

To make things worse, my resources were embedded in a proprietary format created by a third party extension. The backdrops are split out separately, in the old fashioned PICT format. Everything is exactly the right size to sync up but nothing is the correct format. Redrawing all this stuff is not an option; however, there are plenty format converters. Getting the resources ready to move to the web is a two-part process:

  • Extracting the resources
  • Converting the resources to an up to date format.

Continue reading Adventures in Resource Mining

Hypercard What has thou wrought?

This series of posts is planned to document of some my adventures trying to leverage an abandoned Hypercard opus I did a long time ago. It’s more of a narrative than a how to. A lot of different realms come into play here. So if you aren’t up for reading a long multi-part techno-novela, scamper along now and go look for clips of Megan Fox or something.

HyperCardTop

Continue reading Hypercard What has thou wrought?

Embed.ly: One API to rule them all

Something very very cool fell into my inbox today.

The back story
I had been researching OEmbed kind of as a background project to see if I could use it in my own stuff. Now what is OEmbed, you ask? It is a specification by which a simple link transforms itself into rich content. If . . . → Read More: Embed.ly: One API to rule them all

Dynamic CSS files

I had always wished CSS files weren’t so static so you could do different things at runtime. It turns out you can do it, but exercise common sense. The exact plan you take depends on how often the CSS “variables” change value. If it’s not too often you might want to “precompile” the . . . → Read More: Dynamic CSS files

Zend Framework and Doctrine

doctrine_iconWell it’s looking like Doctrine is the heavy weight data mapping solution of the lot. Zend Framework was often criticized for having no serious Model methods. Models was just sort of where you put your nuts and bolts database code. Some folks like the structure of the Active Record model that you see in Rails some other PHP frameworks. Sure it makes it dead easy when your tables map pretty straightforwardly onto your objects but makes it harder to have complex objects involving many tables. Zend was working on their own Zend_Entity package to remedy this, but they have abandoned it in favor of integrating Doctrine. The Zend Roadmap for the future calls for tight integration of Doctrine with the framework, so there will probably be some additional automatic linkage, with the view to the framework user’s code being smaller. But both ZF 2.0 and Doctrine 2.? are for PHP5.3, which is some time down the pike for ordinary folks. On the ZF Wiki there is a proposal to integrate current versions, at least to some extent. The symfony camp are hollering that Doctrine automatically “just works” in symfony, and that’s great. But for now you do have to do a little work to integrate it with ZF.
Continue reading Zend Framework and Doctrine

How to integrate a jQuery plugin into Yii Framework

I have been studying up on Yii framework as a potential alternative to Zend. It has its pluses and minuses. Yii framework comes with jQuery included at the core. It was ridiculously easy to download a jQuery plugin, drop it in as a black box, follow the instructions for the front end, and it just works. I used the star-rating plugin. If you have a rating for a piece of content represented as a number such as 3.642/4 on a scale of 0-4, it is much more Web 2.0 friendly if you represent that graphically. Star-rating uses pimped up radio buttons to represent this number as five fractional stars. It also does the front end of dynamic interactive ratings, and as soon as I get my ajax back-end working on that I’ll post that too. Since the actual code being typed in is illegible in the video, I have included it in this article.

Continue reading How to integrate a jQuery plugin into Yii Framework