1. #11
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Vote Rating
    61
    Answers
    42
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Theoretically, I can't think of any reason why it shouldn't work with Aptana Studio 2, but since I don't use Aptana myself, I've never actually tried it.

  2. #12
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Vote Rating
    0
    Answers
    2
    bee is on a distinguished road

      0  

    Default


    Basically I have Eclipse IDE for javascript developers and Spket Text editor plugin (1.6.18),xerces for Spket IDE (2.8.0), when i was doing with extjs 2.0 initially it didnt work at all. so I left thinking about it, but this thread made to me to think about it again .
    I have aptana studio3.0 installed. let me know which should I use for above steps eclipse or aptana. topic title says aptana ide , but later in steps it is mention that eclipse ide. which one

  3. #13
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Vote Rating
    61
    Answers
    42
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    It should work for any of them really - if you have one you prefer, go with that. The reason Eclipse is mentioned is because Eclipse IDE, Spket IDE, and Aptana Studio are all build off of the Eclipse Rich Client Platform. What this means is that (barring any weird dependency issues) the same plugin can be used in any of them. I already have Eclipse for Java development, and didn't want to have to switch between editors all the time, so I chose to install the Spket plugin to Eclipse. Maybe you'd prefer to have it in Aptana if you already use Aptana a lot, or maybe you'd prefer to have a separate ExtJS-dedicated IDE. The choice is one of personal preference - whatever will make you happiest and most productive!

  4. #14
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Vote Rating
    0
    Answers
    2
    bee is on a distinguished road

      0  

    Default


    U r rocking man,.,!! Its working.. .. thx a mill. it is working for eclipse I will try this for aptana later.

  5. #15
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Vote Rating
    61
    Answers
    42
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Excellent - I'm glad to hear it! It's always nice to add another person to the Spket club.

  6. #16
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    davout is on a distinguished road

      0  

    Default


    As a complete beginner to Aptana and extj4 can somebody help me with some level instructions on how to build a hello world extjs4 app.

    I have the following hello world app...
    Code:
    Ext.application({
        name: 'HelloExt',
        launch: function() {
            Ext.create('Ext.container.Viewport', {
                layout: 'fit',
                items: [
                    {
                        title: 'Hello Ext',
                        html : 'Hello! Welcome to Ext JS.'
                    }
                ]
            });
        }
    });
    In Aptana after creating a new web app...
    • How do I link/associate the project to ext js4? Do I have to copy the ext js and resources files into the Aptana project?
    • How do I execute the index.html to show the hello world app running?
    TIA

  7. #17
    Sencha User
    Join Date
    Sep 2010
    Location
    Netherlands
    Posts
    120
    Vote Rating
    4
    Answers
    3
    aacoro is on a distinguished road

      0  

    Default


    I have corrected the steps... and an update works for me :-)
    although I have switched from a PC to Mac and now i use Sublime Text 2! Its just amazing!

  8. #18
    Sencha User
    Join Date
    Sep 2010
    Location
    Netherlands
    Posts
    120
    Vote Rating
    4
    Answers
    3
    aacoro is on a distinguished road

      0  

    Default


    Quote Originally Posted by davout View Post
    As a complete beginner to Aptana and extj4 can somebody help me with some level instructions on how to build a hello world extjs4 app.

    I have the following hello world app...
    Code:
    Ext.application({
        name: 'HelloExt',
        launch: function() {
            Ext.create('Ext.container.Viewport', {
                layout: 'fit',
                items: [
                    {
                        title: 'Hello Ext',
                        html : 'Hello! Welcome to Ext JS.'
                    }
                ]
            });
        }
    });
    In Aptana after creating a new web app...
    How do I link/associate the project to ext js4? Do I have to copy the ext js and resources files into the Aptana project?
    How do I execute the index.html to show the hello world app running?
    TIA
    Hi davout,

    Did you following the getting started stuff? Link: http://www.sencha.com/learn/getting-...with-ext-js-4/

    How do I link/associate the project to ext js4?
    Do I have to copy the ext js and resources files into the Aptana project?

    When you create an project you create js, css, images folders? The js folder could contain your Ext JS app code. And in the root you place your index.html

    How do I execute the index.html to show the hello world app running?
    In the index you reference to you app like this:
    <script type="text/javascript" src="js/app.js"></script>
    Jozef did also a tutorial but this one is shortened: http://www.sencha.com/learn/basic-page-setup/

    Good luck!

  9. #19
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    davout is on a distinguished road

      0  

    Default


    Can I run this stuff under Tomcat?

  10. #20
    Sencha User
    Join Date
    Sep 2010
    Location
    Netherlands
    Posts
    120
    Vote Rating
    4
    Answers
    3
    aacoro is on a distinguished road

      0  

    Default


    Quote Originally Posted by davout View Post
    Can I run this stuff under Tomcat?
    I run it also under tomcat :-)

Thread Participants: 3

Tags for this Thread