PHP & Webdev (was Re: [Techtalk] Website Building Program For Dummies)
Sophie
sophie at cats.meow.at
Fri Aug 9 20:29:52 EST 2002
On Fri, Aug/ 9/02 12:20:38PM -0700, Megan Golding wrote:
>
> --- Dave North <dave at timocharis.com> wrote:
> > Scott:
> > > Is anyone on the list doing PHP development?
> >
> > Now and again.
I've been enjoying php and postgresql quite alot... it's a productive way to relax. Well, almost productive ;)
My efforts can be seen at http://cats.meow.at/~sophie/
> > > I am trying to work on some template libraries to make web page
> > development
> > > a breeze for not only myself but anyone else who wants it.
>
> That sounds awesome! My emphasis in web dev has been separating
> presentation from content in an interesting way. I create HTML
> "shell" pages that contain the look-and-feel and content pages that
> get included in the shells.
Similar here, although I use xml/xslt (rendering to plain old html) for static content. I include() a header file with some useful functions and variables etc which draws the head of the html (and contents menu etc), and call a function to the footer at the bottom of the page. So my template is something like:
<? include("header.php"); ?>
<p>foo</p>
<? footer(); ?>
The title and various other things are worked out from the url - header.php is quite large :)
If you really want the gory details, feel free to ask :) Or find me on irc
Hope that helps,
- sophie
More information about the Techtalk
mailing list