Results 1 to 4 of 4

Thread: Launching ExtJS apps from another ExtJS app

  1. #1
    Sencha Premium User
    Join Date
    Apr 2011
    Posts
    108
    Answers
    1

    Default Launching ExtJS apps from another ExtJS app

    Hi All,

    I am tasked with the creation of a portal type app where the user would log in and be presented with other applications to launch (we have 8 apps). Each of our apps has it's own login screen. This would bypass that and launch into the main view. I have been trying to figure out how this would be done. Possibly through params on the URL? Looking for ideas if you have one to share.

    Thank you
    Rudy

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450
    Answers
    3997

    Default

    Are these other apps going to be opened in a new browser window/tab? If so, then it depends on your authentication method. For example, if the server(s) the other apps run on check user login to properly route you, then it may just work if your auth is cookie based (and things like URI set on the cookies allow it). Other than that, you will need to setup the other servers to handle URL parameters for login authentication so when the request for login.html (for example) the server would look for the URL parameter to handle login.

    Basically, without knowing your architecture, all that can be talked about is high level ways to do this. Ext JS has no means to handle cross-application authentication sharing and nor should it. This is largely a backend/database architecture problem than an Ext JS problem.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450
    Answers
    3997

    Default

    Are these other apps going to be opened in a new browser window/tab? If so, then it depends on your authentication method. For example, if the server(s) the other apps run on check user login to properly route you, then it may just work if your auth is cookie based (and things like URI set on the cookies allow it). Other than that, you will need to setup the other servers to handle URL parameters for login authentication so when the request for login.html (for example) the server would look for the URL parameter to handle login.

    Basically, without knowing your architecture, all that can be talked about is high level ways to do this. Ext JS has no means to handle cross-application authentication sharing and nor should it. This is largely a backend/database architecture problem than an Ext JS problem.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #4
    Sencha Premium User
    Join Date
    Nov 2010
    Posts
    13

    Default

    do like this

    var anatherApp=yourApp.getApplication().getYourController().getYourControllerReference().getReferences().yourWhatYouWhant,

Similar Threads

  1. Replies: 1
    Last Post: 10 Jan 2013, 9:47 AM
  2. Extjs and air apps
    By Mirux in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 9 Nov 2008, 9:20 AM
  3. ExtJS and mobile apps
    By rvillane in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Nov 2008, 2:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •