1. #1
    Sencha User
    Join Date
    Dec 2010
    Location
    SC - Brazil
    Posts
    27
    Vote Rating
    4
    Renan Cunha is on a distinguished road

      0  

    Default Large scale application (ERP) customizable with Ext JS

    Large scale application (ERP) customizable with Ext JS


    Hello for everyone,


    Our company here in Brazil is migrating our desktop apps (written in Delphi/PowerBuilder) to web.
    We already tried to make our own front-end framework (layouts, components, js behaviors etc) but with the experience that our team have we will spend a lot of time and the results almost ever aren't solid and stable.


    The current apps have many modules and each module has complex processes and simple records.


    We are very excited about Ext JS because it have alot of components, an mvc structure, data resources, an layout customization with sass and so many others features.


    But we have a feature in our systems that aren't common in the market. This feature is the hability of customer customize the system. We sell the system to the clients and many of them asks for a lot of modifications that aren't viable to make in the main source code.


    We have a team specialized in make customizations specifics to the clients. Currently the desktop apps have some points where is possible to "inject" codes that are the customizations. It is not the best approach but works, we can inject code for UI and for business logic.


    When we talk about UI customizations we are talking about the creation of new fields in a existing form, a new tab in a form or some validations too (a validation before the form submission etc). Another customization is the creation of a new form or a new window for example.


    If we decide to use Ext JS as our front-end base framework, with what approach can we implement the customizations in the UI? Remembering that the customizations can be stored in the database or, if possible, in physical files.


    Any sugestion is welcome.


    Thank you.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,997
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Your question is too app specific to give any real answer. The scope is just too broad.

    You can certainly construct things dynamically, based on metadata.

    Code:
    // Server returns
    {
        fieldType: 'number',
        required: true
    }
    
    // Later, in your code
    var items = [];
    var item = {};
    if (config.fieldType == 'number') {
        item.xtype = 'numberfield';
    }
    
    if (config.required) {
        item.allowBlank = false;
    }
    items.push(item);
    So, other than saying you can achieve it, you'd really need to get into the whole app architecture. Perhaps you might want to get in contact with Sencha Services if that's a route your looking to go down: http://www.sencha.com/support/services/
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Tags for this Thread