ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MVC for geeks

June 04, 2008 5:34pm

Subscribe [3]
  • #1 / Jun 04, 2008 5:34pm

    xwero

    4145 posts

  • #2 / Jun 04, 2008 6:45pm

    Hi hi hi, lol !
    My favorite is the V guy!

  • #3 / Jun 05, 2008 4:05pm

    Bramme

    574 posts

    Hmm, can anyone explain to me what that soap and restful thing was about? I vaguely remember reading about SOAP in a OO PHP book somewhere. Might dig that up again.

  • #4 / Jun 05, 2008 5:00pm

    xwero

    4145 posts

    The SOAP vs REST comes down to REST request are using the HTTP protocol more directly than SOAP requests. If i get it right. The xml-rpc library is to make RESTful requests. NuSoap is a known library to make SOAP requests.
    But I think other people could explain it better i don’t have much experience in that field.

  • #5 / Jun 05, 2008 10:21pm

    Lone

    350 posts

    From what I could gather (and please correct me if I am wrong!) is that SOAP was becoming all popular as a way of communication between servers (we had to use it for working with some freight API) but now people are going BACK to REST principles as you generally dont always need the complexity of SOAP. SOAP from what I know works on top of the HTTP protocol where as REST is more native and therefore ‘more reliable’.

  • #6 / Jun 06, 2008 2:26am

    xwero

    4145 posts

    Yes that is what i understand aswell. I want to correct a mistake i make: xml-rpc is the base for SOAP as it uses xml marked up data. So basically if you send your requests marked up with xml you are making SOAP(y) requests. If you use any other format they are RESTful requests.

  • #7 / Jun 06, 2008 4:52am

    Bramme

    574 posts

    So stuff like JSON etc is REST, but loading xml files is SOAP (I’m talking Ajax atm.)

    Anybody know what they stand for?

  • #8 / Jun 06, 2008 5:33am

    xwero

    4145 posts

    I said basically because that is not entirely true. RPC and SOAP are message protocols that use xml as metadata. But the xml should be valid as defined in the the SOAP/RPC schema/doctype. So to nuance it; SOAP requests have to send/recieve valid SOAP xml data, most of the other requests are RESTful requests.

    For the question of what they stand for, there is a little thing called search engines that can do miracle things 😉

  • #9 / Jun 06, 2008 6:03am

    Bramme

    574 posts

    I said basically because that is not entirely true. RPC and SOAP are message protocols that use xml as metadata. But the xml should be valid as defined in the the SOAP/RPC schema/doctype. So to nuance it; SOAP requests have to send/recieve valid SOAP xml data, most of the other requests are RESTful requests.

    For the question of what they stand for, there is a little thing called search engines that can do miracle things 😉

    Lol true. I don’t completely get it, but as long as I don’t need it, I guess I’m good for now :p

  • #10 / Jun 06, 2008 11:10am

    Lone

    350 posts

    Dont really need to know the underlying principles that much - like how you can send emails and know how to and not need to know how smtp etc. works 😉

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases