Re: Best practice to re-write a tutorial website
| From: | EE | Date: | Fri, 23 Jul 2004 14:51:52 +0000 |
| Subject: | Re: Best practice to re-write a tutorial website | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191652@lists.php.net to get a copy of this message | ||
On Fri, 2004-07-23 at 00:06, Justin Patrin wrote:
> On Thu, 22 Jul 2004 23:48:54 +0300, EE <ee@bjaili.com> wrote:
> > Dears,
> >
> > I am planing to rewrite my website. My site is tutorial-type site I
> > wrote it, when I first learned php3, as an undergraduate research class.
> > I think the code is sloppy as it is mixed with the HTML. I would like to
> > rewrite the site utilizing the good things such OOP classes, template,
> > etc. I would also like to separate my styles (CSS) from the HTML.
Do you recommend any any tutorial?
> >
> > I would like to have the following functions:
> >
> > 1. Printer Friendly Version Capability
>
> You can use CSS and @media print to have *different* CSS for printing,
> right from the same site. You could also just have a different
> stylesheet that you include when the user wants to print. Or you could
> have multiple templates. Whatever floats your boat.
>
> > 2. Search-ability
>
> A CMS could possibly handle this, but may be a bit big for this. If
> you want search capabilities, I'd look into a local solution that
> indexes your site manually. I've had good luck with mnogosearch.
>
How about using MySQL fulltext?
> > 3. Search Engine Friendly
> >
>
>
> https://www.reversefold.com/tikiwiki/tiki-index.php?page=PHPFAQs#id926344
>
I read the aritcle and it is good.
> > Therefore, I have the following questions:
> >
> > 1. What is the best way to store the tutorials. Should they be in a
> > database or each in a separate HTML file.
>
> I'd go for database. But if you do that, you may want to look into
> some existing CMS software.
Do you recommend any? I'll appreciate if you point me to the right
track.
>
> >
> > 2. How to implement the above three points?
> >
> > I know it is a broad question but you can help me on whatever you know?
> >