index.php - convert to structured code? - Joomla! Forum - community, help and support
i re-wrote new template's index.php pure php lots of embedded echo's, there no context switches, <php tag 1 on first line.
when got done looked @ it's dull repetitiveness , realized (probably) re-write again using structured code, add subroutines, reduce duplication, etc, make whole thing lot smaller, less error prone, easier develop/maintain.
i'm newish php seems yet scripting language assimilate.
has else tried this?
regards, thanks, , happy joomlaing
michael
when got done looked @ it's dull repetitiveness , realized (probably) re-write again using structured code, add subroutines, reduce duplication, etc, make whole thing lot smaller, less error prone, easier develop/maintain.
i'm newish php seems yet scripting language assimilate.
has else tried this?
regards, thanks, , happy joomlaing
michael
sounds template framework. take @ bootstrap.
http://magazine.joomla.org/issues/issue-oct-2012/item/891-using-a-joomla-template-framework-to-design-your-site
http://magazine.joomla.org/issues/issue-aug-2012/item/818-using-the-twitter-bootstrap-framework-to-build-a-responsive-joomla-template-from-scratch
http://magazine.joomla.org/issues/issue-oct-2012/item/891-using-a-joomla-template-framework-to-design-your-site
http://magazine.joomla.org/issues/issue-aug-2012/item/818-using-the-twitter-bootstrap-framework-to-build-a-responsive-joomla-template-from-scratch
Comments
Post a Comment