jltempest Posted November 14, 2010 Share Posted November 14, 2010 Hi does anyone know of any good online sources that explain how to create partials step by step? I've found one on how to create partials using the composite design pattern but the articles are a bit hard to follow Link to comment https://forums.phpfreaks.com/topic/218656-trying-to-find-good-sources-on-partials/ Share on other sites More sharing options...
BlueSkyIS Posted November 14, 2010 Share Posted November 14, 2010 what are partials? Link to comment https://forums.phpfreaks.com/topic/218656-trying-to-find-good-sources-on-partials/#findComment-1134122 Share on other sites More sharing options...
jltempest Posted November 16, 2010 Author Share Posted November 16, 2010 Partials are a way to render certain sections in your script. Its probably a little more complicated than that but thats the way I understand it. Having a hard time finding multiple sources for it Example: <body> <?php echo $header->render();?> <?php echo $body->render();?> <?php echo $footer->render();?> </body> Link to comment https://forums.phpfreaks.com/topic/218656-trying-to-find-good-sources-on-partials/#findComment-1135218 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.