user-pic

Brian Medley

  • Posted REST API with Mojolicious to Brian Medley

    Buidling an API with Mojolicious is fun. Below is an attempt at a very small REST API that outpus the time in JSON. There are several pieces:

    • Mojolicious::LIte App
    • App instructions route
    • Authentication
    • API routes
  • Posted Using Minion with a REST API to Brian Medley

    Minion is a job queue for the Mojolicious real-time web framework. Below is handed off to minion and then minion processes the task. Everything is in a self-contained file as a Mojolicious::Lite app.

    In addition, a…

  • Commented on Running a non-blocking command in Mojolicious
    I tested in prefork and daemon....
  • Posted Running a non-blocking command in Mojolicious to Brian Medley

    Mojolicious is an awesome framework designed from the ground up to be non-blocking. During web development it is sometimes desirable to run a command and do something with the results. However, with methods such as "system" and "open" the command will block concurrent requests.

    A non-blo…

  • Commented on Fetch me a cloud
    I hope our conversation on irc was fruitful, it was for me. Any other concerns, let me know....
  • Commented on Fetch me a cloud
    Sure! It's ActiveState - Perl Dev Kit - PerlApp....
  • Posted Fetch me a cloud to Brian Medley

    At times, it is desirable to access any file on your box. Forgot to put it on dropbox? Then what do you do? Enter FileBeagle. It is your own personal cloud and written in Perl and Mojolicious. The install is copying one file onto your box and running the…

  • Commented on Real-Time Web Apps
    WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple Javascript APIs. For example, RTCDataChannel allows for Browser-to-Browser message passing (e.g. chat or file transfer). http://www.html5rocks.com/en/tutorials/webrtc/basics/ https://gist.github.com/brianmed/6927400...
  • Commented on Real-Time Web Apps
    Nice slides. Why no WebRTC?...
  • Posted Announce CloseBargains.com to Brian Medley

    It has been said that we need more Perl startups. I agree and have written CloseBargains.com - what better way to get a heapin helpin of local coupons than Perl, Mojolicious,…

  • Commented on Headless Selenium testing with PhantomJS
    Here's a couple URLs that denote how much of the Selenium wire protocol has been implemented: http://blog.ivandemarino.me/2012/10/05/GhostDriver-90-and-priorities https://docs.google.com/spreadsheet/ccc?key=0Am63grtxc7bDdGNqX1ZPX2VoZlE2ZHZhd09lNDkzbkE#gid=0...
  • Posted Headless Selenium testing with PhantomJS to Brian Medley

    As you know, Selenium is a marvelous library for automating a browser. It can be combined with Test::More and PhantomJS to provide a headless test suite.

    An example script looks like:

    
    #!/opt/perl
    
    use Selenium::Remote::Driver;
    use Selenium::Remote::WDK…
  • Commented on Selenium WebDriver with automated Basic Auth credentials
    Thanks for the comment. I should have mentioned that an alternative approach is to have the credentials embedded in the url. However, that does not work in every scenario because some proxies require manual authentication. In addition, I believe the...
  • Posted Selenium WebDriver with automated Basic Auth credentials to Brian Medley

    Selenium is a marvelous library for automating browsers. Perl has an interface via Selenium::Remote::Driver. A short script looks like:

    
    use Selenium::Remote::Driver;
    
    my $driver = new Selenium::Remote::Driver;
    $driver->get(‘http://www.google.com’);
    pri…
Subscribe to feed Recent Actions from Brian Medley

  • JT Smith commented on Real-Time Web Apps

    No idea what that is.

  • JT Smith commented on Real-Time Web Apps

    That's interesting, but it doesn't have anything to do with the real-time web apps that I was talking about in my slides. At least according to the video, it appears that WebRTC is for peer to peer web apps primarily, and only works in Chrome and Firefox. Caniuse.com confirms this: http://caniuse.com/#feat=rtcpeerconnection

    Anyway, back to your original question, I didn't include it because I didn't know about it.

  • Timm Murray commented on Real-Time Web Apps

    I'm thinking that WebRTC might replace the cloud hosting services that don't have any server-side storage, provided that peers have a way to discover each other.

  • Mithaldu commented on Fetch me a cloud

    The templates seem to act a bit oddly:

    c:\Users\Mithaldu\AppData\Local\Temp\ttr0\C\Users\Mithaldu\AppData\Local\Temp\pdk-Mithaldu-331184\includes\templates\index\

    It also reacts quite badly to accessing unknown urls:

    Sun Oct 20 22:32:06 2013] [debug] GET "/add/".
    Sun Oct 20 22:32:06 2013] [debug] Template "not_found.development.html.ep" not found.
    Sun Oct 20 22:32:06 2013] [debug] Template "not_found.development.html.ep" not found.
    Sun Oct 20 22:32:06 2013] [debug] Template "not_found.html.ep" not found.
    Sun Oct 20 22:32:06 2013] [debug] Templa…

  • Perl User commented on Selenium WebDriver with automated Basic Auth credentials

    Hi,

    I am working on an application which requires Windows authentication. But I am unable to enter the credentials using any method in perl.
    I am using perl + Selenium Webdriver.
    Further, http://user1:user1@testwebsite.com , this method is also not working in my case.

    I am trying the code mentioned in the blog, can you please let me know what will be the values for WshArgs , WScript. what are these variables and from where the value is coming.

    Thanks in advance!!!

Subscribe to feed Responses to Comments from Brian Medley

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.