Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Here you have it, you aren't really sure of what you're being asked for... silly marketroid "web services" expression... sigh

I'd start defining very well what the thing is exactly going to do and to provide. Then I would ask the boss/customer/whomever if that meets their definition of web services. If so, then go ahead with some precise user requests or some requisites and some design. Then full to code. Do not worry too much about the low level design, you'll change it some 100 times, anyway. Just be sure to follow the "simple" rule of design: 1 thunk, 1 responsibility (for whatever definition of thunk may fit your preferred development paradigm, be it function, object, whichever). Working in layers (like the internet protocol tower works) that provide an API for the next one and connect to another one usually provides a clean, easy to maintain, scalable and plugable design. It, however, makes the program flow more complicated.

Have a good test suite handy (nothing bad if you write it first, la Extreme Programming) just be sure to keep it updated (my last/current big project in Perl started with very detailed and helpful tests, but as things started to move faster, and the system is extremely decoupled between 3 different machines and 9 processes of which I can only control 5, I preferred the code to be the test itself in the end. Most tests do still work, however, even despite the fact that the interfaces have changed a bit since then...)

CMS certainly fits my definition of web services, but have you considered something more "ooh-aah!" and service looking like making a multi-display web to offer stocks or searches or such things you can gather around from google or yahoo! using their XML APIs? That should impress anyone and it will give you lots of fun with a lot of CPAN modules as well :-) Be sure to offer a WAP interface, nobody uses it anymore, or maybe they do, but it's a standard and each phone kinda solves the presentation problem by itself (usually not displaying anything but an error, or anything at all); very instructive as well... Oh, whichever it is, a SMS module to send in SMS queries and to get an SMS with a reply back would certainly gain you loads of adepts. It may not look like a web service, but what's that thing, after all?

good luck,

--
our $Perl6 is Fantastic;


In reply to Re: Re: Re: Perl and Web Services by Excalibor
in thread Perl and Web Services by Tanalis

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (11)
    As of 2020-02-28 16:50 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      What numbers are you going to focus on primarily in 2020?










      Results (125 votes). Check out past polls.

      Notices?