1. #1
    Ext User marcus.schiesser's Avatar
    Join Date
    Dec 2008
    Posts
    11
    Vote Rating
    0
    marcus.schiesser is on a distinguished road

      0  

    Default Extensive - a widget framework for Ext

    Extensive - a widget framework for Ext


    Hi folks,

    i had a larger project using ExtJS that was finished a few weeks ago. Big question was how to structure a pure Ext application. My ideas and experiences went into a project called Extensive. The goal of Extensive is to provide a Rails-like framework to build Ext applications. So basically it's about generators that ensure a certain application structure.
    What are your thoughts? Take a look at Extensive. And let me know.

    Have fun,

    Marcus

  2. #2
    Sencha User bt_bruno's Avatar
    Join Date
    Mar 2008
    Location
    Redwood City, CA
    Posts
    154
    Vote Rating
    10
    bt_bruno will become famous soon enough

      0  

    Default


    The scripts are written in Javascript themself and invoked using the shell of Mozilla Rhino
    I think I missed the point. Any examples would be appreciate (:

  3. #3
    Ext User marcus.schiesser's Avatar
    Join Date
    Dec 2008
    Posts
    11
    Vote Rating
    0
    marcus.schiesser is on a distinguished road

      0  

    Default


    The Rhino interpreter is used to generate Javascript files. As Rhino interprets Javascript the generator scripts are written in Javascript itself (that way we only have to know Javascript).
    The generated Javascript uses ExtJS then and is supposed to run in the browser like any other Javascript. That way we can ensure the same MVC-archicture for all projects.
    In my point of view a good thing.

  4. #4
    Sencha User Ronaldo's Avatar
    Join Date
    Jul 2007
    Location
    Enschede, The Netherlands
    Posts
    290
    Vote Rating
    0
    Ronaldo is on a distinguished road

      0  

    Default


    Hi Marcus,

    Nice initiative. However, everytime I find that solutions that use only generated source need manual modifications here and there. My approach would be to model the UI, and then generate the pure javascript code. After that, you can either subclass/override a class or method, or edit the file manually.
    For java, I use an EMF based solution that offers code re-generation and that allows mixing generated code and manually typed code in the same class. I wish I had time to apply the same technique for javascript files.
    Ronald van Raaphorst aka Ronaldo
    I'm a freelance software developer in Java, PHP, and ExtJs.


    Skyperonald_twensoc
    Mailinfo@twensoc.nl

  5. #5
    Ext User marcus.schiesser's Avatar
    Join Date
    Dec 2008
    Posts
    11
    Vote Rating
    0
    marcus.schiesser is on a distinguished road

      0  

    Default


    Hi Ronald,

    yes time is always a problem (as you can see from me late reply, but i have an excuse as I was on vacation...).
    The idea of extensive is not to use a MDSD approach like with EMF where the code is generated based on some kind of model. Instead the generators should be used to scaffold an application and ensure a certain kind of architecture (the same reason generation is used in Rails), so modifying the generated code it fully intented in that case.
    In the Javascript world we have something like this in Sproutcore, but it's still missing for ExtJS. So I think it's about time to change that.
    Before the generators are written, we should in the first step commit on a sustainable architecture - in extensive you can find a suggestion of me that was used in a larger project.
    So whoever is interested in a building larger projects in ExtJS, just give it a try and let me know your thoughts.

    Have fun,

    Marcus

  6. #6
    Sencha User Ronaldo's Avatar
    Join Date
    Jul 2007
    Location
    Enschede, The Netherlands
    Posts
    290
    Vote Rating
    0
    Ronaldo is on a distinguished road

      0  

    Default


    Hi Marcus,

    The purpose of the SproutCore 1.0 project is to create the first official stable and generally usable release of the SproutCore platform. This means an average-level developer with no prior experience with SproutCore should be able to easily create and deploy a basic Cloud Application that runs on all modern browser platforms. Additionally, changes after the 1.0 release will be carefully controlled so that core written for the 1.0 API will continue to function with few changes on future releases.

    This is a complex project with several sub-components to it that must be completed. This page tracks the overall progress for SproutCore 1.0 along with its sub-component.
    Nice text but still doesn't tell me why I should want to 'easily create and deploy a basic Cloud Application that runs on all modern browser platforms' because it doesn't tell me what the heck SproutCore is.

    Apart from that, I doubt if the scaffolding way of thinking allows you to regenerate the code over and over again. The biggest drawback I've seen (in my humble experience) while working with generators is that you either have to inherit, or you can't regenerate your code. EMF proves it's possible to mix generated and manually altered code, and therefore I'd still prefer full Model Driven Development.
    I've used Clarion (From softvelocity) and basically they're using a model too. Works like charm once you get the hang of it.

    Anyway, I'm interested in anything that has anything to do with code generation, so I'm certainly interested in your experiences.

    Best regards,
    Ronaldo
    Ronald van Raaphorst aka Ronaldo
    I'm a freelance software developer in Java, PHP, and ExtJs.


    Skyperonald_twensoc
    Mailinfo@twensoc.nl

  7. #7
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    Anyway, I'm interested in anything that has anything to do with code generation
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  8. #8
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    1
    Arno.Nyhm is on a distinguished road

      0  

    Default


    i would like to see a howto and get startet document or a screencast

    maybe how to setup the environment and generate a small blog system (like the first rails screencasts)