March 11, 2010

ZenMagick Ajax

Tags: , , , ,
Filed under: ZenMagick — DerManoMann @ 11:39 pm

With the number of sites using Ajax growing it might be a good time to review some of the Ajax code in ZenMagick.

In particular I’d like to review the returned JSON structures. Right now, all of the demo code just assumes that the data returned is good, as long as there is a successful response. Obviously, that is not always the case.

So, I think it would be good to have some global structure that allows for things like a overall status flag, 1-n messages, plus the actual data (if any).

I do not know if there are established patterns for things like this, but if so I’d like to hear about those – obviously, all other suggestions are welcome too!

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.