Menu

#1 Skin implementation

open
Haryon
5
2003-04-27
2002-11-05
Haryon
No

Pick the design where there is only one skin possible
per page, and it's accessible as procedure (class
method).

class Twig_TextField {

function Twig_TextField() {
....
$Skin->getResourceFor('textfield.cssclass');
....
}

}

Discussion

  • Haryon

    Haryon - 2003-04-27

    Logged In: YES
    user_id=431564

    Implementation change on the way HTML is outputed will
    lead to different handling of skins.

    At the moment there are 2 basic approaches :
    1- one xsl per skin
    2- skins are simply css+files in a directory, where filenames
    are all the same, but each skin is in a different directory. xsl
    file is skin indepedant.

    1/ maximum gives flexibility, but javascript for validation or
    such will be duplicated :( much more work.
    2/ minimum flexibility, will have to resort to using do stuffs
    like : tables uses images for borders in every skin... no way
    to make heavy and light pages with skins :(

     
  • Haryon

    Haryon - 2003-04-27
    • labels: 474512 --> 524679
     
  • Haryon

    Haryon - 2003-04-27
    • labels: 524679 --> Html Generation
     
  • Haryon

    Haryon - 2003-07-14

    Logged In: YES
    user_id=431564

    Architecture changed to XML/XSL. Skins are XSL pages.
    Only Skin picking by the user (or user barony race) is not yet
    implemented.

     

Log in to post a comment.

Monday.com Logo