bholbrook Posted May 22, 2008 Share Posted May 22, 2008 Hello! I am in charge of creating a large scale website, and for the first time it has to be 100% skinnable. I need to be able to move components and output to different places and in different sizes for different audiences. Does anybody know of a good extensive article on the process of creating a website that allows for complex skinning? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/106792-skinnable-website/ Share on other sites More sharing options...
stuffradio Posted May 22, 2008 Share Posted May 22, 2008 Do a simple google search on the topic. Here is something I found whilst googling. http://www.tutorialtastic.co.uk/tutorial/skinning_your_website Quote Link to comment https://forums.phpfreaks.com/topic/106792-skinnable-website/#findComment-547448 Share on other sites More sharing options...
bholbrook Posted May 22, 2008 Author Share Posted May 22, 2008 @stuffradio: Thanks for the link. I definitely took Google for a spin before posting; I didn't see that website. Good article, however, I am looking for something more complex than simply changing colors and images. Thanks for your efforts. Quote Link to comment https://forums.phpfreaks.com/topic/106792-skinnable-website/#findComment-547466 Share on other sites More sharing options...
deadonarrival Posted May 25, 2008 Share Posted May 25, 2008 google smarty, it's one of the easiest ways to fully template your site - it was designed specifically for it. It takes a little time to get into it, but it's well worth the effort. Quote Link to comment https://forums.phpfreaks.com/topic/106792-skinnable-website/#findComment-549468 Share on other sites More sharing options...
mikeschroeder Posted June 17, 2008 Share Posted June 17, 2008 Assuming you have access to XSL in php 5, or could enable it, then I would suggest looking into the workings of XML, Xpath, and XSLT. Basically you make the system create nothing but pure XML either with the DOM, SimpleXML, etc. Store the XML in a variable, based on a template flag.. do an xsl transformation on the xml using a template file. Syntax is pretty straightforward, XSL and XML have been around for quite some time, and I've built some pretty intensive sites using that model. http://us.php.net/manual/en/xsl.examples.php http://us.php.net/manual/en/xsltprocessor.construct.php PHP 5.3.0 will add xslt profiling to the transformation extension as well. Quote Link to comment https://forums.phpfreaks.com/topic/106792-skinnable-website/#findComment-567480 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.