adrien.lauer@mpsa.com / PSA Peugeot Citroën
Software engineer at PSA Peugeot Citroën
9 years of experience
Designed and developed W20 during the last 2 years
Currently working server-side (again!) on the PSA Java stack
Well known car manufacturer
A lot of Web applications
Various server technologies: Java, PHP, .NET, Perl, ...
concepts
contents
demo
An existing framework made in 2005 to address industrial applications UI needs.
It was very useful during 7 years but today it's...
Still an UI framework but a better one !
W20 is a modular software stack which provides:
overview
contents
demo
        {
    "id": "w20-core",
    "name": "W20 core",
    "build": "{w20-core}/w20-core.min",
    "modules": {
        "application": {
            "path": "{w20-core}/modules/application",
            "configSchema": { ... }
        },
        ...
    },
    "i18n": {
        "en": [ "{w20-core}/i18n/messages-en.json" ],
        "fr": [ "{w20-core}/i18n/messages-fr.json" ]
    },
    "requireConfig": {
        "shim": {
            "{w20-core}/libext/angular/angular": {
                "deps": [ "jquery" ],
                "exports": "angular"
            },
            ...
        }
    }
}
        
        {
    "../../../w20/w20-core/w20-core.w20.json" : {
        "modules" : {
            "application":{
                "id":"w20-basic-sample",
                "home": "/basic/content"
            },
            "culture":{
                "available":["en-US", "fr-FR"],
                "default":"en-US"
            }
        }
    },
    "../../../w20/w20-ui/w20-ui.w20.json" : {
        "modules" : {
            "grid":{},
            "datetime":{}
        }
    },
    "../../../w20/w20-simple-theme/w20-simple-theme.w20.json" : {},
    ...
}
        
<!doctype html>
<html data-w20-app>
<head>
    <script
        type="text/javascript"
        data-main="../../../w20/w20-core/w20"
        src="../../../w20/w20-core/libext/requirejs/require.js">
    </script>
</head>
<body>
    ...
</body>
</html>
            
        overview
concepts
demo
            
        
        
        overview
concepts
contents
adrien.lauer@mpsa.com / PSA Peugeot Citroën