1. #1
    Sencha Premium Member
    Join Date
    Feb 2009
    Posts
    317
    Vote Rating
    3
    azuroff will become famous soon enough

      1  

    Default Ext.onReady() vs Ext.app.Application.launch()

    Now that both of these functions are available and seem to do the same thing (execute code once the page has loaded), is there a recommended best practice as to when we would use one over the other?

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    590
    Vote Rating
    30
    estesbubba has a spectacular aura about estesbubba has a spectacular aura about

      0  

    Default

    Use Application.launch() if you're using the MVC architecture, otherwise Ext.onReady().

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Location
    Tehran
    Posts
    46
    Vote Rating
    1
    salarmehr is on a distinguished road

      0  

    Default

    In 4.2.1 I could use both in MVC setting . But in ext 4.2.2 I could only use the launch method. It's odd.

Similar Threads

  1. Another new Sencha App Launch from MadMobile :)
    By Bucs in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 4
    Last Post: 25 Jul 2012, 10:14 AM
  2. Card layout when using Ext.Application.launch
    By mjohnson in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 17 Jan 2011, 3:42 PM
  3. Launch external app
    By mitchellsimoens in forum Ext.air for Adobe AIR
    Replies: 3
    Last Post: 29 Jul 2009, 8:31 AM
  4. Launch a .Net app from Ext JS.
    By ydoc in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 21 Oct 2008, 10:15 AM

Thread Participants: 2