Ext


Go Back   Ext JS Forums > Ext General Forums > Ext: Examples and Extras

Reply
 
Thread Tools
  #1  
Old 10-26-2007, 05:26 PM
kubens's Avatar
kubens kubens is offline
Ext User
 
Join Date: Mar 2007
Posts: 126
kubens is on a distinguished road
Default First Prototype which will run on an AS400 web server

Durring last weeks I developed a little prototype which will replace a running intranet application in near future. This application will run on an AS400 web server and all backoffice applications are developed in RPG. I needed much time to explain the AS400 developer what I exactly expect from him and his programs. After some time the resistance was broken or better said, I think he resignated and he enjoyed to be a part of this little success story... I think that this little prototype is just the beginning of a long list of applications which will either replaced or new developed in near future.

Unfortunatelly I can just upload this application on my personal web server which just contains a small set of test data without the complexity of the business logic of the RPG programs. However feel free to play with this little prototype.

Prototype

I tried to encapsulate as much as possible in separate classes and I would invite everybody to look in details and to discuss concept or ideas:


Ext.BLANK_IMAGE_URL '/site.img/spacer.gif';

var 
App = function(){
  return {
    
DATA: { 
      
SERVER'backoffice.kaffill.de',
      
ROOT'',
      
SESSIONID'102315623.384613891905.55667',
      
URL:
      {
        
REPORTS'/as400/www300r.php',
        
REPORTSREQUEST'/login.php'
        
STATISTICS'/as400/www300r.php'
      
}
    },

    
init: function()
    {
      
Ext.QuickTips.init();    
      
      
this.progressBar = new Ext.ux.wak.ProgressBar();
      
Ext.apply(this, new Ext.util.Observable());
      
this.addEvents
      
({
        
'initprogress'true,
        
'updateprogress'true
      
});
      
this.on('initprogress'this.progressBar.initthis.progressBar);
      
this.on('updateprogress'this.progressBar.updatethis.progressBar);

      
this.panelReports = new Ext.app.wak.Reports({scopethisfilterLoadedtrueregion'center'margins'0 5 0 5'});

      
// viewport what else
      
this.viewport = new Ext.Viewport({
        
scopethis,
        
layout:'border',
        
items
        [
          new 
Ext.BoxComponent // just raw
          
({ 
            
region'north',
            
el'panelHeader',
            
height37
          
}),
          new 
Ext.BoxComponent // just raw
          
({ 
            
region'south',
            
el'panelFooter',
            
height20
          
}),
          
this.panelReports
        
]
      });

      
Ext.get('page').fadeOut
      
({
        
duration0.5,
        
scopethis,
        
callback: function()
        {
          
this.panelReports.loadFilter();
        }
      });
    }
  }

}();

Ext.onReady(App.initApp); 
Application:
/site.js/ext-app-wak-reports.js

Components:
/site.js/ext-ux-wak-combobox.js
/site.js/ext-ux-wak-navigation.js
/site.js/ext-ux-wak-portletstatistic.js
/site.js/ext-ux-wak-progressbar.js
/site.js/ext-ux-wak-store.js

Br
Wolfgang

Last edited by kubens; 11-03-2007 at 05:21 AM.. Reason: Application is now available in English
Reply With Quote
  #2  
Old 10-26-2007, 08:08 PM
genius551v's Avatar
genius551v genius551v is offline
Ext User
 
Join Date: Mar 2007
Posts: 276
genius551v is on a distinguished road
Default Wow...!

WOw!....

you have tell us how you do that!

looks great!

Reply With Quote
  #3  
Old 10-29-2007, 11:19 AM
Luc Luc is offline
Ext User
 
Join Date: Mar 2007
Posts: 36
Luc is on a distinguished road
Default

Thanks for sharing! Looks great and nice to see the Fusion Charts (I assume that is what you use?) in action in an EXT app.
Reply With Quote
  #4  
Old 11-01-2007, 10:32 AM
jakehawk jakehawk is offline
Ext User
 
Join Date: May 2007
Posts: 11
jakehawk is on a distinguished road
Default

wow, that looks great! Nice job.
Reply With Quote
  #5  
Old 11-01-2007, 10:43 AM
BernardChhun's Avatar
BernardChhun BernardChhun is offline
Ext Premium Member
 
Join Date: Mar 2007
Location: Quebec, Canada
Posts: 831
BernardChhun is on a distinguished road
Send a message via MSN to BernardChhun
Default

awesome dude!
Reply With Quote
  #6  
Old 11-02-2007, 10:50 AM
ReyBango's Avatar
ReyBango ReyBango is offline
Ext Evangelist
 
Join Date: Mar 2007
Posts: 177
ReyBango is on a distinguished road
Send a message via AIM to ReyBango
Default

Great job on this Wolfgang!

http://extjs.com/blog/2007/11/02/ext...00-web-server/

Rey...
Reply With Quote
  #7  
Old 11-02-2007, 03:42 PM
ReyBango's Avatar
ReyBango ReyBango is offline
Ext Evangelist
 
Join Date: Mar 2007
Posts: 177
ReyBango is on a distinguished road
Send a message via AIM to ReyBango
Default

Looks like Ajaxian liked your app as well!!

http://ajaxian.com/archives/new-ajax-for-old-iron
Reply With Quote
  #8  
Old 11-02-2007, 03:46 PM
lvanderree's Avatar
lvanderree lvanderree is offline
Ext User
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 180
lvanderree is on a distinguished road
Default

Hi Kubens, looks great again!

Is this all also created in symfony? Have you seen the progress on the symfony generator plugin which is based on your work?
Reply With Quote
  #9  
Old 11-02-2007, 04:15 PM
kubens's Avatar
kubens kubens is offline
Ext User
 
Join Date: Mar 2007
Posts: 126
kubens is on a distinguished road
Default

I was very surprised as I saw this at Ajaxian. But honour to whom honour is due. Without Ext
such little fancy apps were not possible

Br
Wolfgang
Reply With Quote
  #10  
Old 11-02-2007, 04:27 PM
aconran's Avatar
aconran aconran is offline
Ext JS - Development Team
 
Join Date: Mar 2007
Location: FL, USA
Posts: 3,635
aconran is on a distinguished road
Default

Wow Kubens, you've done an incredible job with this Dashboard type application. I love the ability to maximize and refresh charts.
__________________
Aaron Conran
Ext JS - Core Development Team
Reply With Quote
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 04:55 AM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.