I don't do much web programming at all, but when I have, I really like creating REST interfaces with Dancer2. It's exceptionally easy to get started with their documentation, and build from there.

You create one app that crunches your back-end data, and serves it up within normal subroutines, but those calls are available as HTTP URLs.

Then, you can use pretty well any language to access the data over the web. Most all languages have a REST client API. In Perl and Python it's trivial, as is with C#, C++ etc. You can even use plain HTML/jQuery if you so chose.

The learning curve is a bit high, but once you are familiar with the basics and start playing around with some of the more popular plugins, you'll be glad you went down the road because now your application/data is available to any and pretty well all consumer types.

An application which I built (which still isn't completely finished) that may serve as an initial example is App::RPi::EnvUI. It's a REST API for a grow room environment control. All client code is in the public/js files. The main module is the front end, which uses a separate internal API module that actually manages data and does the real work.


In reply to Re: Retrieve changes in remote dataset by stevieb
in thread Retrieve changes in remote dataset by hippo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.