Jump to content

Recommended Posts

Posted

There are some impressive UDFs emerging or being re-written recently surrounding REST services. At the same time, the explosion of useful web services and use-cases to tie them together shows no signs of slowing. I suggest a project to tie together the existing UDFs into a more comprehensive UDF which abstracts the four major functions of working with REST services: 

  • Authentication (OAuth1/2, OpenID/Connect, Etc)
  • The HTTP Calls (Flexibility with URL, HTTP Methods, Header, Body)
  • Manipulating the Data (XML and JSON)
  • Local Storage/Caching (A new file-based NoSQL Strategy combined with SQLite)

Some of these are pretty tall orders, however the overall notion seems so universally useful with the present technologies, I wanted to suggest it for community feedback to measure support. 

Full disclosure, I don't have time or skill level to contribute to these UDF's in a meaningful way. I thought maybe I shouldn't even post this for that reason, but I went ahead anyway. 

The UDFs that I find exciting and think would be good candidates for inclusion are listed below: 

 

 

 

Posted

Intgeresting, but first this each udf must be finished - I'm talking about XML :) 

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I don't get it. Why have an all-in-one UDF?

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

It came to me in a different way.
After deliberation you're right @guinness.

But it will be interesting to show some example on how to tie together, in a specific project, I mean UDF for a particular WebService (it must be open to public).

Then, interested parties may jointly develop something new, at the same time showing to other AutoIt Forum Members the progress, and also looking for help and ideas directly on this forum.

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 9/27/2015 at 10:19 AM, guinness said:

I don't get it. Why have an all-in-one UDF?

You are right of course, an all-in-one UDF would be a bad idea.

Instead, as mLipok suggested: a handful of demo scripts that include the "Suite" and show the execution of popular use cases would be very helpful for the average scripter.

However, to enable that to happen, there are a few more API related UDFs that have not yet been written.  Specifically, one for OAuth/OAuth2/OpenIDConnect, a NoSQL UDF that handles both XML and JSON, a converter for XML <to/from> JSON,  and even a UDF that abstracts the calling of API's (Rest vs RPC vs Hybrid... JSON vs XML).  I Suppose SOAP should be on the menu, but I don't have any of those to deal with at the moment. 

So really, I guess the idea boils down to just creating these extra "Web API related" UDFs.

Posted
  On 9/27/2015 at 2:37 PM, redrider81 said:

 

So really, I guess the idea boils down to just creating these extra "Web API related" UDFs.

Great, be my guest. It would be a good learning curve for you.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 9/27/2015 at 2:37 PM, redrider81 said:

So really, I guess the idea boils down to just creating these extra "Web API related" UDFs.

First select one, which would be best for entire community.

 

And I think exactly the same as guinness said:

  On 9/27/2015 at 2:41 PM, guinness said:

Great, be my guest. It would be a good learning curve for you.

+++ when you come in trouble with my XMLWrapper... then do not hold back and you can ask me.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...