Mocking jQuery Ajax Calls with Random Templated Data using mockjax & m

added by elijahmanor
2/15/2011 8:23:50 AM

138 Views

Another useful library that you may consider when building quick prototypes is $.mockJSON, written by Menno van Slooten. This library has some of the same features as $.mockjax, but the piece I'd like to focus on is the random data tempting feature. This can be very handy when you want to mock a JSON response from a AJAX call, but instead of manually building the response you can build a template to do it for you.


0 comments