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 Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted November 14, 2010 Share Posted November 14, 2010 what are partials? Quote Link to comment 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> Quote Link to comment 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.