August 1, 2007

anonymous checkout

Filed under: ZenMagick — DerManoMann @ 5:26 am

I’ve been looking at implementing anonymous checkout recently again. There is some decent code in subversion now, but in order to release sometime soon I might have to disable that for the next release and hope to get it all done after that.

Basically, the code is working. It’s just that there are so many checks and other things to keep an eye on that make it hard to complete. I also feel like I should review and reconsider the current URL mapping.

The mapping works fine, but there are some severe limitations. For example, I’d like to add a ZMForwardView that forwards to another controller internally without a redirect. This would require another flag just for perhaps one or two occasions.

Also there is need for additional parameters to handle down into the view instance. Doing this without knowing theĀ  actual implementation class needs some better planing and structuring of the mapping.

I might finally think about a XML configuration - perhaps in combination with caching the loaded mapping in an easier to access format (serialized array, for example).

The whole exercise has it’s good sides, though, as I found and fixed a few smaller bugs on the way!

All in all it feels like I am finally getting the hang of implementing POST request handling. It’s nice to see all the pieces fall into their places and everything working together. So I’ll try to implement the remaining account forms in ZenMagick and then it’s really release time again :)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.