The stupid question is the question not asked | |
PerlMonks |
Re^3: What is your Javascript-workflow?by Corion (Patriarch) |
on Apr 22, 2013 at 05:04 UTC ( [id://1029799]=note: print w/replies, xml ) | Need Help?? |
I would look at not generating Javascript at all. Consider having all JS code static and just sending JSON data from the server. That way you can decouple JS and the server. Personally, I write the tests for the Javascript parts in perl as well, as I can conveniently supply static JSON data to the JS handler with WWW::Mechanize::Firefox.
In Section
Seekers of Perl Wisdom
|
|