1. #11
    Sencha User
    Join Date
    Dec 2010
    Posts
    64
    Vote Rating
    2
    Felicitus is on a distinguished road

      0  

    Default


    Quote Originally Posted by edspencer View Post
    Awesome stuff, congratulations on such a fast build

    4.1 should help with your grid issues
    Thanks, but I'm definitely not done yet PartKeepr Mobile is definitely coming soon, as well as a new theme and some usability fixes.

    Ed, could you edit the topic title? PartDB2 is the old project name, PartKeepr is the current one.

    Too bad that there's no hotfix for the scrollbar issue - I might need to workaround that by restricting the number of results per page (which is a very dirty approach). Additionally, there seem to be some issues regarding Ext.draw.* stuff (either real bugs or documentation issues, I'm not sure - I have given up after several hours and moved on to other parts).

    I'm looking forward to create a 1.0 release including an installer as soon as possible, but I don't think it'll be possible prior SenchaCon (which I'd love to attend and/or give a talk about PartKeepr, but Open Source developers are poor )

  2. #12
    Sencha User
    Join Date
    Dec 2010
    Posts
    64
    Vote Rating
    2
    Felicitus is on a distinguished road

      0  

    Default


    Thank you very much! No, I'm not using the MVC structure yet, but planning to do so.

    Although PartKeepr is already pretty solid OO, there is still much potential for improvements. I try to avoid as much duplicate code as I can, so there might be more cleanups in the future.

    Things that might be interesting for others:
    * I'm using a tabbed editor model, which means that a Ext.data.Model record (may it be flat or with relations) can be edited in its own tab - there's already some basic support for things like "You have unsaved changes in <model> - do you really wish to close this tab?", but unfortunately there is some bug with the dirty flag which I need to address.
    * A model can be serialized including relations - so you actually can build up a whole tree of objects and push them to the server. A good example for this is the Part model, which contains references to manufacturers, distributors, attachments and parameters. Nothing of those are transmitted to the server unless the user clicks "save" (except images, which are stored in a temporary table on the server) - and the "save" process transmits a nested object to the server, no individual requests. Multiple requests are troubling when dealing with database transactions (which PartKeepr actually uses in some places).

  3. #13
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    449
    Vote Rating
    9
    wemerson.januario will become famous soon enough

      0  

    Default


    nice theme! Good job
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  4. #14
    Sencha User
    Join Date
    Dec 2010
    Posts
    64
    Vote Rating
    2
    Felicitus is on a distinguished road

      0  

    Default


    Just a quick update: PartKeepr unfortunately didn't made it into the Top10 of the app contest

    Also I'm in rehab right now, so I can't work on PartKeepr regularly. If you wish to help PartKeepr out (might be a good chance to get into ExtJS4/PHP/Doctrine2 development), go ahead! I am idling in #partkeepr on Freenode often, so if you have any questions, just ask! (replies might take a while because of the rehab).

    I am back from rehab at beginning of december, so I expect to re-start development then. Also read my post regarding this on http://partkeepr.org/2011/11/08/octobernovember-2011-progress/

    T
    hanks,
    Felicitus

  5. #15
    Sencha User
    Join Date
    Mar 2007
    Posts
    218
    Vote Rating
    0
    alien3d is on a distinguished road

      0  

    Default too simple business logic..

    too simple business logic..


    1. You should have From Purchasing to Good Receive Note to Inventory Item..So the flow is understable.
    2. There's a lot more complexity in asset or inventory control.

  6. #16
    Sencha User
    Join Date
    Dec 2010
    Posts
    64
    Vote Rating
    2
    Felicitus is on a distinguished road

      0  

    Default


    @allen3d feel free to participate. PartKeepr wasn't designed for that purpose, but I am flexible if you want to implement it.

  7. #17
    Sencha User
    Join Date
    Dec 2010
    Posts
    64
    Vote Rating
    2
    Felicitus is on a distinguished road

      0  

    Default


    We've just released version 0.1. With this release, we go into alpha status. This release also includes an installer and support for PostgreSQL and MySQL databases.

    I haven't had time to test against Oracle, MSSQL or SQLite yet, but if you like, you can try it out.

  8. #18
    Sencha User
    Join Date
    Mar 2008
    Posts
    5
    Vote Rating
    0
    herry is on a distinguished road

      0  

    Default Change 3rdparty named Ext.ux.Wizard.js

    Change 3rdparty named Ext.ux.Wizard.js


    well,We can change 3rdparty named Ext.ux.Wizard 's file.
    1.Ext.ux.Wizard.js line from 381 to 387:
    org:
    Code:
     
    for (var i = 0, len = cards.length; i < len; i++) {
                cards[i].on('show', this.onCardShow, this);
                cards[i].on('hide', this.onCardHide, this);
                cards[i].on('clientvalidation', this.onClientValidation, this);
            }
    
            this.cardPanel = Ext.create('Ext.panel.Panel', cardPanelConfig);
    after change:
    Code:
     
    this.cardPanel = Ext.create('Ext.panel.Panel', cardPanelConfig);
            var layoutItems = this.cardPanel.layout.getLayoutItems();
             for (var i = 0, len = layoutItems.length; i < len; i++) {
                layoutItems[i].on('show', this.onCardShow, this);
                layoutItems[i].on('hide', this.onCardHide, this);
                layoutItems[i].on('clientvalidation', this.onClientValidation, this);
    }
    2.method getWizardData
    org:
    Code:
    getWizardData: function () {
            var formValues = {};
            var cards = this.cards;
            for (var i = 0, len = cards.length; i < len; i++) {
                if (cards[i].form) {
                    formValues[cards[i].id] = cards[i].form.getValues(false);
                } else {
                    formValues[cards[i].id] = {};
                }
            }
    
            return formValues;
        }
    after change:
    Code:
    getWizardData: function () {
            var formValues = {};
            var layoutItems = this.cardPanel.layout.getLayoutItems();
            for (var i = 0, len = layoutItems.length; i < len; i++) {
                 if (layoutItems[i].form) {
                    formValues[layoutItems[i].id] = layoutItems[i].form.getValues(false);
                } else {
                    formValues[layoutItems[i].id] = {};
                }
            }
    
            return formValues;
        }
    then we can support create cards using xtype

  9. #19
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    638
    Vote Rating
    18
    lorezyra will become famous soon enough lorezyra will become famous soon enough

      0  

    Default Nice Job

    Nice Job


    Keep up the good work.

    Let us know when you have migrated to Ext 4.1 and use the MVC pattern.
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!
    ================================================
    And here are my terms...
    1. I don't care if you use my source code. (Known as "Code.")
    2. I don't care if I get any monetary compensation.
    3. I do care to receive credit for Code provided. So, please keep my name in the comments for Code provided.
    4. Code is provided without warranty "AS-IS" and I claim absolutely no warranty nor liability to the quality, security, and run-ability on any platform.
    5. By using Code, you accept all risk inherit with Code regardless if Code has known and yet to be discovered bugs.
    6. You are welcome to change and improve the Code to best meet your needs.
    7. I don't care if you use the Code in a commercial or open-source project.
    8. You are not required to contact me prior to using the Code.
    ================================================
    Simple. Enjoy.

  10. #20
    Sencha User
    Join Date
    Dec 2010
    Posts
    64
    Vote Rating
    2
    Felicitus is on a distinguished road

      0  

    Default


    Quote Originally Posted by herry View Post
    well,We can change 3rdparty named Ext.ux.Wizard 's file.
    1.Ext.ux.Wizard.js line from 381 to 387:
    org:

    then we can support create cards using xtype
    It would be helpful if you could fork the project at https://github.com/partkeepr/Ext.ux.Wizard and create a pull request for it.