Looking for examples of using Dancer with javascript frameworks
I'm looking for examples of using Dancer with javascript frameworks like angular or ember but doing a web search I did not turn up much anyone have any suggestions or pointers Mark Wood-Patrick ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------
On Sat, 27 Apr 2013 07:32:43 -0700 Mark Wood-Patrick <mwoodpatrick@nvidia.com> wrote:
I'm looking for examples of using Dancer with javascript frameworks like angular or ember but doing a web search I did not turn up much anyone have any suggestions or pointers
I'm not quite sure what you're looking for, but I'm going to guess you're after AJAX stuff - Dancer's serialisation support makes life easy for you (look at Dancer::Serializer::JSON, or Dancer::Serializer::Mutable). There's also Dancer::Plugin::Ajax which adds an 'ajax' keyword for defining routes which should only be called via AJAX. -- David Precious ("bigpresh") <davidp@preshweb.co.uk> http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook www.preshweb.co.uk/cpan www.preshweb.co.uk/github
I was able to get some small test cases working using Dancer::Serializer::JSON and they work fine. I'm now putting together some more complex cases using slickgrid (https://github.com/mleibman/SlickGrid/wiki) and angular/ember for my own education and to see what issues I will run into in a larger project and see if I run into any issues with JSONP or CORS Mark -----Original Message----- From: dancer-users-bounces@dancer.pm [mailto:dancer-users-bounces@dancer.pm] On Behalf Of David Precious Sent: Monday, April 29, 2013 1:54 AM To: dancer-users@dancer.pm Subject: Re: [dancer-users] Looking for examples of using Dancer with javascript frameworks On Sat, 27 Apr 2013 07:32:43 -0700 Mark Wood-Patrick <mwoodpatrick@nvidia.com> wrote:
I'm looking for examples of using Dancer with javascript frameworks like angular or ember but doing a web search I did not turn up much anyone have any suggestions or pointers
I'm not quite sure what you're looking for, but I'm going to guess you're after AJAX stuff - Dancer's serialisation support makes life easy for you (look at Dancer::Serializer::JSON, or Dancer::Serializer::Mutable). There's also Dancer::Plugin::Ajax which adds an 'ajax' keyword for defining routes which should only be called via AJAX. -- David Precious ("bigpresh") <davidp@preshweb.co.uk> http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook www.preshweb.co.uk/cpan www.preshweb.co.uk/github _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
participants (3)
-
David Precious -
Mark Wood-Patrick -
Mark Wood-Patrick