Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    33
    Answers
    4
    Vote Rating
    4
    Alexander Bauer is on a distinguished road

      0  

    Default Unanswered: oAuth 2 / JSON-RPC

    Unanswered: oAuth 2 / JSON-RPC


    Hi,

    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.

    My primary client is supposed to be Ext JS.

    Best regards

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    33
    Answers
    4
    Vote Rating
    4
    Alexander Bauer is on a distinguished road

      0  

    Default


    Seems nobody has a suggestion. However, had to write own solution.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Location
    Dublin
    Posts
    72
    Vote Rating
    11
    iplanit will become famous soon enough

      0  

    Default


    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.

    Javascript MVC is very different to a regular <MVC framework> with controllers and models in the server.

    Which was the solution you came with ?

    Regards

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    33
    Answers
    4
    Vote Rating
    4
    Alexander Bauer is on a distinguished road

      0  

    Default


    I wrote my own classes: reader, writer, Proxy and Ext.data.Connection. They manage my JSON-RPC & oauth2 implementation. All possible because extjs has a nice core API / inheritance System.

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Location
    Dublin
    Posts
    72
    Vote Rating
    11
    iplanit will become famous soon enough

      0  

    Default Should be built-in in the framework

    Should be built-in in the framework


    I see, so it is not supported out of the box.

    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.

    Regards

  6. #6
    Sencha User
    Join Date
    Jul 2012
    Posts
    33
    Answers
    4
    Vote Rating
    4
    Alexander Bauer is on a distinguished road

      0  

    Default


    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.

Thread Participants: 2

Tags for this Thread