Re: Best Practice - Constant Page Layouts



Justin.Voelker wrote:
On Apr 2, 1:17 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
Justin.Voelker wrote:
Hello Everyone:
I am in search of an easier way to develop pages. My most current
website,www.Base2WebDesign.com, has the exact same layout throughout
the entire site. Right now I use a function called "page_top()" and
page_bottom()" that , when called, display the tops and bottoms of
pages. All I have to do on the actual index.php page is call those two
functions and then write the main content on that page. This seems
stupid but it seems to work. I would like to use templates but I
don't know much about them and I have yet to find anything that just
screams simplicity to me and ease of use. If anyone could point me in
the right direct for developing pages that have a consistent layout
with dynamic content on the "main section" of the page, I would be
forever grateful. Again, I would like to use templates because from
what I have seen they look like they are what I need. Can anyone
direct me toward and very simple, straight-forward, easy-to-use
template system (if this is what I indeed would need) that could speed
up the rendering of the pages without hitting the server on each page
load for the same page layout? Also, my current way of building the
page may be to fault but might there be a solution to the pages
"blinking" when you switch from one pages to the next for the first
time. When you return to that same page there is no blink. Thank you
so much to anyone and everyone that can solve any of the problems I
have listed above!
Even a template will have to hit the server for every page load, even if
it is the same layout. The only way you could stop that is to save the
page outputs as html files and just load the static pages.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================

Jerry:

Do you know of any nice, simple, light-weight php template systems
(unline smarty and it's massive amount of files). Thanks!


Sorry, I don't use templates.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: Best Practice - Constant Page Layouts
    ... website,www.Base2WebDesign.com, has the exact same layout throughout ... template system that could speed ... load for the same page layout? ... page outputs as html files and just load the static pages. ...
    (comp.lang.php)
  • Re: defaults for templates.......
    ... Print Layout view) when linking to Word documents from within PowerPoint ... Bill Foley, Microsoft MVP ... > Sub Autonew() ... Open your template, set the view to ...
    (microsoft.public.word.docmanagement)
  • Re: Creating a database from scratch in FM7
    ... you have two options when creating a database... ... > Now when using a template, the interface has a certain updated look. ... You design the objects using the tools in layout mode. ... And then you use these designed objects on every layout. ...
    (comp.databases.filemaker)
  • Re: normal template not working - curiouser
    ... I opened the 'normal' document from the template ... Anyway, I prefer to work in 'Online Layout' view, at 140% zoom. ...
    (microsoft.public.mac.office.word)
  • Re: CGI.pm and HTML tables
    ... that it makes it really difficult to do any redesign of the page layout. ... Template-Toolkit when you have complex HTML layout requirements. ... of table cells with another tablefunction. ... So I recommend using some template framework. ...
    (comp.lang.perl.modules)