I trying to make a back office using laravel 5.2 for my mobile application. Where authentication user could be access of my webservice to fetch information.
I had research on that , I also use JWT plugins but its not fit for me. This plugins can't accept post request.
If you have any idea please share with me.
My development stack is angular -> django rest framework -> django. I am developing a website which is not a single page application. I have different angular app for different pages with shared components and services. With factors like browser caching in mind, when a page is requested which is a better model:
Compute data on backend first with available information and use angular on the client to take care of further actions on the page like voting/commenting etc.
Load only template from backend and let angular populate it with content.
Please let me know if my approach is altogether wrong.
I'm starting an application which will have an API server and a UI server. The API server will use django rest framework, while the UI server will use Sencha Touch. The API server will accept http requests and send JSONs, while the UI server should accept JSONs and send http requests. I'm just wondering if Sencha Touch has the functionality to accept JSONs, and to send http requests. If it doesn't, then I'm assuming I'll need to run it behind a http server. Please let me know if Sencha touch can do what I need it to do, and if not, what my best alternative is.
p.s. let me know if you need any more info
Thanks
Yes, you can do this with sencha touch, jquery-mobile or a custom configuration of HTML, JS and CSS (e.g. bootstrap, jquery and backbone.js). You could use Django for both the API server and UI server. For the API, please take django-tastypie in consideration as you'll get JSON api's for free. The UI server will be very simple, as you'll be doing most things in the browser. Therefore, you could pick any implementation....
Yes, you are on the right track. See the following help article http://docs.sencha.com/touch/2-0/#!/guide/stores
You basically use Django to serve JSON and sencha on the mobile platform to consume it.
Cheers,
_M
is there a way for mobile app developers to add FB functionality that allows you to “like” something without actually leaving the page/ app from which you are doing it in?
Yes. The Like Button is currently Facebook's only Social Plugin that is available for Mobile web apps.
How to implement it is described in Facebook's Mobile Web Tutorial.
Here is a simple example app with a Like Button.
I am creating a Facebook application that will integrate into a mobile version of a site. My question is - are the Canvas URL and Post-Authorize URL's publicly visible? Will the user ever see these URLs or are they just for Facebook to my app's authentication purposes?
The reason is that the mobile app is run through a mobile application that uses a webview and I do not wish to advertise this URL publicly. I am aware of the Android/iPhone SDK's, but am looking for the answers to the above questions.
Facebook uses those URLs for security, and there is zero attempt to "hide" them (because it isn't possible to do so). It's up to your app to decide what happens when the user is on one of those URLs.