How to use laravel as backend on Intel xdk? - laravel

I'm very noob on programming and using xdk. Do you how to use it?. I know you need to create rest web service for your laravel and then you call it using xdk, but how? do I need to have a web hosting service for this? Please help me. Thank you.

Intel XDK was the technology, similar to Cordova, used to develop cross platform applications. To develop native mobile apps you should look at Cordova or nativescript
To host any kind of application which is based on php backend, needs a web server like nginx, apache etc.

Yes you need a web hosting service.Put all your laravel code on server and interact with app using rest web service via XHR or Ajax Requests.

Related

Connect Xamarin application to local ADFS

I'm trying to create a simple Xamarin application that would need to use a local ADFS to identity the user. Indeed, I wrote an internal web application in ASP.NET Core but the client would like to have a light version as a mobile app, therefore, I need to authenticate the user the same way I do it for the web application: using ADFS 2019 + OAuth/OpenIdConnect.
However, I did some researches on Google and I find nothing talking about that specific case. Most articles concern Azure but I don't want to use Azure, I want to use a local ADFS.
Can anyone provide me with a link or some idea about the way to achieve this?
There's a set of good articles here that cover ADFS and OIDC.
The libraries are the same as the Azure ones - just the parameters are different.

Best way to develop and test an ASP.NET Core web api locally

I am looking at developing a web api for my business rules/database access.
I can use Postman to test the api locally but I also need to develop the client web site.
Is it just a case of running the web api locally and then developing the client site to use the local web api urls?
e.g. http://localhost/api/getcustomer/1
Also when it eventually goes live what do I need to look into in order to secure it all?
Regards

Phonegap Web Server Configuration - Durandal App

I can't find any documentation on what type of internal server PhoneGap is running on mobile devices, whether it's Apache, IIS, or some other minified web server. I'd like to know what type of server it is and whether it can be configured to allow external communication to a server, which is rejecting the incoming requests because it doesn't have the CORS support added to it.
We have 3 options
1) Add CORS support to allow AJAX from PhoneGap device to the web servers
2) Configure the PhoneGap web server to act as a proxy
3) Add a plugin, or write a plugin, which allows a native Android function call to allow communication to the web server
If you have any experience with these or advice on which way to go, your help would be much appreciated. Thanks in advance!
There is no internal server. PhoneGap/Cordova creates a base native application with the default view as a webview. A webview is a blank version of a web browser window. There is no web server component to PhoneGap.

what is the requirments to run my own web server?

what is the requirments to run my own web server, if i bought for instance Dell PowerEdge T110 II compact tower server, what is the requirments and what do i need to host my own web application on my server?
Is this something your planning to use for your own web app? If so I would definitely recommend not going this route and instead using a service like RackSpace or GoDaddy. Especially if you're doing this out of your home as you probably would be paying a small fortune in extra bandwidth usage.
Also, what are you developing the web app in? If PHP then you'll need a LAMP (Linux, Apache, MySQL, PHP) server. If you're doing a .net application using Microsoft's Visual Web Developer then you would need a Windows Server.
I hope this helps you.

PJSIP server development

When using pjsip technology to develop a server, the official web site is a bit difficult to use when looking for a way to develop a server.
It has an introduction on how to develop a client application with the library, but not how to implement a server.
Any one direct me to some reference documentation or blob posts or other web site that can help show me how to create a pjsip based server?
You can find a sample SIP proxy implementation inside the PJSIP source code: http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/samples/stateful_proxy.c and http://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/samples/stateless_proxy.c
Asterisk SCF module uses pjsip. Maybe that will shed some light
More information, visit
https://wiki.asterisk.org/wiki/display/TOP/How+to+add+a+PJSIP+module+to+Asterisk+SCF
https://wiki.asterisk.org/wiki/display/AST/SIP+Stack+Research
I think I found it. PJSUA utility in pjproject tree acts as SIP server, Zoiper Softphone successfully connects and makes calls.

Resources