I am wondering if its possible to work with oAuth 2 / JSON-RPC. I want to write an API for a project, which should be accessable from a mobile App or any other client. I am fairly new to ext js, I searched the web and here in forums but could not find any suggestion how to deal with oAuth and/or json-rpc.
Also if someone has more experience on API writing & security I would appreciate any feedback how you are implementing web services especially the security thing.
It seems that for complicated stuff there is a lack of documentation, I have seen nice examples for charts,etc.
But not for models with associations that makes intensive use of those in a grid or window, or basic tutorial for authentication and managing roles in a Sencha ExtJS 4 MVC application using a JSON backend (other than a basic PHP for testing).
As the same as you learning Extjs4 from the beginning is complicated since there is no documentation for real applications only small tests of components. And the tutorials that are more interesting doesn't usually cover complicated stuff.
We can always code ourselves this kind of things, the thing is that is pretty much common if you plan to use MVVC with a JSON backend separating the layers between user and your API.
I mean, there is no point in using this technology authenticating like in any other web framework. Sessions, cookies, that will always work, but OAuth is the way to go for integration, etc. If you have advanced requirements.
Would be nice to have a technical explanation on the topic with real scenarios and examples.
Well, I think its not supported because oAuth2 is not final yet. However I have own backend oAuth2 implementation and thus it probably requires unique proxy. I agree with you, it would be nice to have this all from one hand but SOA is another topic than ExtJS is.