From quanta Thu Oct 27 23:24:51 2005 From: Brandon Sussman Date: Thu, 27 Oct 2005 23:24:51 +0000 To: quanta Subject: Re: [Quanta] Updates and chages on pages Message-Id: <436161C3.402 () WebsterRidge ! com> X-MARC-Message: https://marc.info/?l=quanta&m=113045550715510 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 fayer wrote on 10/27/2005 05:22 PM: | Hi, | Could anyone share with his way of designing webpages which are easy to | update? Do I really have to edit every page to make changes for e.g. in | the menu section? The first thing to realize is that splitting content from presentation is very important - using CSS, php and the concept of one copy (for things like your header, footer, etc) that is 'included' in where desired. For very heavyweight solutions, content management is really a good way to do it. phpWebSite and Zaraya come to mind. For something a little less 'industrial strength', look at php class that do templating - my favorite is tbs ( http://www.tinybutstrong.com/ ). The power and flexibility is very good. The competition is strong - Smarty and a host of others are out there. Did I mention that tbs is my favorite? http://marywillsussman.com/gallery/pages/lectWs.php is a very simple example of using tbs - the owner of the site keeps adding and deleting classes and the page happily renders, including all the current ones. The kind of thing you want to do may be even simpler to do than this - the tbs page has many, many examples. Another example - www.spinnernet.com - uses SSI includes to do the link bar. The html code: the contents of hdrlinks.txt: Home  Bio  Gallery  Events and Exhibitions  Commissions There are many ways to do it - I think the php dynamic page generation available today is the best. - - HTH, Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iQEVAwUBQ2Fhw9N2DJl/zagkAQK1iwf+Ox2SZQigW3RZ7rH5mRNA4LXJeiaDt9Um 6KumEri7jWNhxTgBY9qlq5vTtiUWyS0qQz3as54oz4yex4dFIQ9E6rOtd0G7BJl6 xSUETeuMHGcYOkRKx3HxbyyAJm+CB/bqewMYGL+6q17JksEYN+9BVJsJD2vulnWW 8UYN2FVuUUqGIZHBFeyP0yGm+7y74yMXw6lURCBCxNOpr2S6pP6oYjreRNYuPoP+ qoN9FeLVCoX7U6JqmiUY5ou4oBJNmiRiTerKH62I/AI+ORaidGFFFlwANqiscJxs Y+iTEMEUVV/8BTtgIYcR+Lztec7qtbueQab3t3+ea2LeTY/5L56xpw== =k63N -----END PGP SIGNATURE----- _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta