When developing a website using Priority's new tools, in which cases would I be better served accessing Priority using the Web SDK than by using the REST API?
How about vice-versa?
It depends on you needs.
REST API is mostly used to integrate with other applications while WEB SDK is used for building stand-alone applications.
You may of course use them both in the same app.
There are some technical differences:
REST API executes triggers at a row level while WEB SDK executes
triggers at a field level.
REST API has no support for procedures and choose/search
lists while the WEB SDK does.
I would recommend using the REST API for large data retrievals and the WEB SDK for smaller request.
Related
I am trying to develop a dAPP using the Flow Blockchain in Flutter. I cannot find any library or package that I can use to do so. Is this even possible in Flutter?
You could use flutters HTTP library to make requests to Flows REST API
I started to work on a Flow Dart SDK quite a long time ago.
The REST API was not available at that time, but you could still do calls via GRPC requests. Check it out - maybe it's something you would be interested in collaborating and we can bring it to finished state.
We are using azure mobile services node backend for our android and iOS clients. Initially we started with one android and one iOS app and we released one version of android app to play store.
As time passes we have implemented some new features and added few breaking changes which may cause crash to existing users.
Now we want to support both the client versions with the single existing azure mobile service.We don't want to give force update to existing app users. We want to do something like versioning of our scripts and custom apis.
We searched a lot for the option to do versioning of azure mobile scripts and custom Apis. But we did not get anything relevant.
Can somebody guide me to the right direction? Is it possible to do versioning in azure mobile services node backend?
We don't have a recommended way for doing API versioning for Mobile Services, though it's something we've thought more about recently.
One means of doing this is keeping each version of your API under a specific route, i.e. \api\1.0.6\myAPI. In this way, your API version ships with each client. You can use shared code behind the API to avoid any too much rework.
There's no built-in versioning for the tables endpoints--you'd have to use a service like Azure API Management, or have two mobile service backends to handle the two client versions.
Q1: Can a native cross-platform mobile app (Android/iOS/Windows) developed in Xamarin call a web service via a secure REST API (https) ?
Q2: If yes, are such calls (when compiled by Xamarin) made 'natively' or made through a webview? In other words, would there be any difference in the app's capability - can the app work as a background service etc as well as a native app?
Note #1: I've searched & found Xamarin documentation for web services: http://docs.xamarin.com/guides/cross-platform/application_fundamentals/web_services/
but there is no specific mention of https. May be the answer is there in the docs, but I'm unable to find/understand.
Note #2: One example of a secure REST-ful service would be Firebase.
You can use Firebase which saves your app data in the cloud
you can find more here and then use Firesharp to access your data in c# code.
Q1: Yes, you can.
Q2: No, no need to use webview. You can use HttpClient class for example or RestSharp library (you can found it in Xamarin components - RestSharp)
How can i make a lotus application an iPhone native apps?
For e.g: eLeave.
The submit or approve action button in the form was created using lotusscript. So how can it work in iOS ? I have no idea how can i extend my lotus application to an iPhone Native Apps. Someone had suggested to use either SOAP or REST via HTTP to communicate between iOS and domino. But i don't even know what can i do with SOAP in my apps.
Pls help.
The suggestions along the lines of SOAP or other HTTP-based access to the data are correct. Since you can't just port a Notes app to the iPhone (for a variety of reasons) or use the Notes Java API classes (since the iPhone doesn't have Java), some form of HTTP access is your best bet. Either traditional Domino web access via forms or XPages are most likely the best way to go, since then you can write your UI in Designer. If you don't want to or can't do that for whatever reason, you're on the hook for writing the UI for your iOS app separately and then connecting to Domino via Web Services or REST functionality.
SOAP Web Services are probably what you want. They have the advantage of being supported directly in Designer - you can create a Web Service Provider in LotusScript or Java in much the same way you would write an Agent or Script Library. You would have to write methods to access and update the data you want, but it would also mean you have full control over what happens. You could re-implement your form-submission code as a web service call that takes the changed data as parameters and then does whatever manipulation you want and creates/saves the document.
It does depend on the version of Lotus/Domino you are running. This could be a start XPages Mobile Controls I am not sure about the "native"here. This is XPages, web based.
Based on your comment, I know of one native application TSAzr. This application uses XPages as web-services on the domino server. A bit more info can be found here dominoGuru
Your follow-up suggests that a mobile-optimised web application will not cut it, and that you want a native application. This means writing a new iOS application, end of story. There are different ways to go about this of course—e.g. you could build a web app and then wrapper it using something like Appcelerator Titanium, or PhoneGap—but ultimately, you need to write something.
As #Jesse Gallagher has already stated, Notes applications can't be ported directly to an iOS device. Apart from anything else, a Lotus Notes client application is a proprietary data store (NSF) sitting within a C and C++-based client built and compiled for the relevant underlying platform (Win or OS X). There is no direct analogue for iOS other than re-coding your app (of course, you could re-use the existing Lotusscript business logic via web service calls, as detailed in earlier answers).
I'm searching for a forum software which offers REST like API. It should be able to respond to simple calls like retrieve-post, add-new-post etc. and return the result set in JSON or XML format.
Those that immediately come to mind are phpBB, Vanilla, and/or vBulletin. But I don't know if they have REST API. Also I don't intend to deploy the forum for a website. I intend to integrate a forum like feature inside the Android and iPhone apps.
Edit: I don't intend to host the server on mobile. Just access it from the mobile app.
thanks