IP-WARS.NET - a forward command post of the IP Wars
create account| Front Page|Mission|Standard Operating Procedures|Operating Instructions(aka FAQ's)|Privacy Policy|Site Stats/Info|Admin Actions|Search
Sections:General|IP|SCO v World |Microsoft|grok*/OSRM|IPW Site Meta|Logbooks|Diaries|Legal Documents|View All Articles

CMS-LITE?


General News

By Sunny, Section Diary
Posted on Thu Jun 23rd, 2005 at 04:58:15 EST

I wonder if the good folk of IPW could help me.

I want to create a small website with static content only.  As usual, I want to separate the layout from the actual content, so a CMS would seem to be what I want.  Unfortunately, those I've looked at seem to be geared up for dynamic sites, and generally are rather more hefty affairs than I really want.

I envisage a development model as follows:


  • create/modify the layout templates.
  • create/modify the content.
  • generate and view the static webpages.
  • rinse and repeat.
  • when satisfied, upload to the target webserver.

Looking at this, I see no reason for having a webserver on the development machine, yet every CMS I've looked at requires one.

So, is a CMS really what I want?  If so, then which?  If not, then what should I really be looking for?

< Ya Hear That? Merkey Izza Gunnin' Fer Us! (22 comments) | Language Wars (27 comments) >
Display: Sort:
CMS-LITE? | 10 comments (10 topical, 0 editorial, 1 hidden)
Have you considered Server Side Includes (3.80 / 5) (#6)
by david anderson on Tue Jul 12th, 2005 at 17:58:47 EST
(User Info) http://squtch.quiet-like-a-panther.org/
Being a programmer, I'm not a big fan of SSI, but a lot of non-programmers seem to love it for standardizingtheir layout.

Personally, I go with PHP and include a file called layout.php. I have functions like write_header(), write_leftmenu(), write_rightmenu(), and write_footer().

While I like CSS for a lot of things, I prefer using a table for the main layout here with leftmenu and rightmenu each being within a <td> and the main content being in another <td>. It just seems more efficient than the hoops that I have to jump through to get the CSS to behave the same on every browser.

You should also make all your files index.* within their own directory, and then link only to the directory name. This allows you to easily change the technology you use, without screwing up everyone's links.


  • Re: Have you considered Server Side Includes by ColonelZen, 07/12/2005 19:02:19 EST (3.66 / 3)
    • Re: Have you considered Server Side Includes by david anderson, 07/12/2005 19:40:25 EST (3.75 / 4)
Re: CMS-LITE? (3.75 / 4) (#1)
by JCausey (jcausey@ip-wars.net) on Thu Jun 23rd, 2005 at 09:47:29 EST
(User Info) http://www.ip-wars.net
Sunny,

I'll throw my 2 cents in, but I'm sure there are others here much more knowledgeable than me and who have experience with other systems.

If you are looking at purely static content, then you may not need a CMS.  You may need to look at something that uses templates for the pages and then you can use that template every time you create a static page.  imo, the classic example of this would be something like Dreamweaver.  I'm not real sure about packages that would run on Linux.  I use Bluefish when I have to get in and actually modify some of the code, but that is getting more and more rare and I really don't know whether it has any template type functions (though you could probably do it manually) as slick as say Dreamweaver.  You could also work on setting up your pages to use things like includes to help separate the layout from the content.

That said, I'd probably still look at some type of CMS even for largely static content.  I used Geeklog to do www.townofkenly.com which is largely static pages.  The thing I like about Geeklog is you just need php and MySQL (maybe some other db's will work as well I think).  I've also found the method to design the templates to be the easiest for me to understand and work with.  So even though CMS packages are designed for dynamic content, they can handle largely static sites.

Besides the fact that these systems separate your content and layout, I also like the fact that they largely manage all your internal links for you and build a lot of stuff on the fly that you would otherwise have to go and edit in every file if doing it by hand.  Also, once deployed you pretty much do everything on-line from that point, meaning you don't have to generate new files and upload them to your server.

As you note though, your development machine would need to have a webserver running (along with your db).  That is because bullet three in your list, where the layout and content are combined together, is done by the webserver.

Thus far, I've tried Geeklog, Mambo, Scoop, and just recently deployed a pMachine(geared more toward blogging than any of the others, but very minimal).  As I said, I have found Geeklog to be the easiest to work with as far as getting in and developing the layout myself.

hth and ymmv,

Jeff

  • Re: CMS-LITE? by Sunny, 06/24/2005 00:46:40 EST (3.66 / 3)
Re: CMS-LITE? (3.40 / 5) (#2)
by ColonelZen (tzellers lieth within pobox of thy kingdom com) on Thu Jun 23rd, 2005 at 15:13:26 EST
(User Info)

Hmmm.  

<html><head>
<link rel=stylesheet type=text/css href="mystyle.css" />
<title></title</head><body class="page">
<table class='t0'>
  <tr class='topline'>
    <td class='tl'><?php include "topleft"; ?></td>
    <td class='tc'><?php include "topcenter"; ?></td>
    <td class='tr'><?php include "topright";?></td>
  </tr><tr class="midline">
    <td class='ml'><?php include "midleft"; ?></td>
    <td class='mc'><?php include "midcenter"; ?></td>
    <td class='mr'><?php include "midright"; ?></td>
  </tr><tr class="botline">
    <td class='bl'><?php include "botleft"; ?></td>
    <td class='bc'><?php include "botcenter"; ?></td>
    <td class='br'><?php include "botright"; ?></td>
  </tr>
</table>
</body></html>

With files "topleft", "topcenter", .... having your content.  And of course your stylesheet built appropriately to force the sizes of the elements.

OK I'm a curmudgeon.  But the point is that if you have a fixed layout it's easy to let PHP (or any other web-script) populate the content from other pages.   If those pages are static, fine and dandy, otherwise they could themselves include web scripts to make dynamic content.

I've never quite understood the reason for tools like dreamweaver and front page when html is so easily handcrafted or built by scripts.  And having had to look at some of the html generated by those tools (shudder!) I understand it less.

-- TWZ


  • Re: CMS-LITE? by Sunny, 06/24/2005 01:43:35 EST (3.50 / 4)
    • Re: CMS-LITE? by ColonelZen, 06/24/2005 20:16:28 EST (3.75 / 4)
Bye bye spambot (none / 0) (#10)
by Potential Recruit on Tue Nov 28th, 2006 at 14:06:05 EST
This used to be a spambot post that is flooding the site. Due to volume, I had to resort to this while I work to block access by these bots. My apologies - thanks for your patience.

Jeff

CMS-LITE? | 10 comments (10 topical, 0 editorial, 1 hidden)
Display: Sort:

Links

Firefox 2

Use OpenOffice.org

Add to Technorati Favorites

Join EFF Today

ToTehMoon web site button

~ Merkey v The Internet et al Docs
~ Yahoeuvre
~ tuxrocks.com (SCO cases legal docs)
~ scofacts.org
~ eagle.petrofsky.org
~ Zen's Den
~ Yahoo SCOX Message Board
~ Lamlaw
~ Microsoft Watch
~ Groklaw
~ Korgwal - a Groklaw mirror
~ nosoftwarepatents.com
~ Flame Warriors
~ SCOXE Wars
~ Get your Merkey Number here!
~ Digital Law Online

Recent Comments

Breaking News and External Article Comments
General News – General Articles
by ColonelZen, January 5
60 comments
» SCO Lifeboat List from Stats_for_all – AncientBrit, May 6
» Not a single comment on the Novell... – sphealey, Jul 22
» Re: Not a single comment on the Novell... – AncientBrit, Aug 8

Eagle Loses Appeals
General News – General Articles
by JCausey, December 15
1 comment
» Re: Eagle Loses Appeals – br3n, Jan 7

The Chinese Room Revisited, Thoughts on...
General News – Diary
by ColonelZen, November 24
1 comment
» Re: The Chinese Room Revisited,... – ColonelZen, Nov 24

How to Transition a Windows Shop to Linux
General News – General Articles
by JCausey, November 21
3 comments
» Re: How to Transition a Windows Shop to... – ColonelZen, Nov 22
» Re: How to Transition a Windows Shop to... – JCausey, Nov 23
» Re: How to Transition a Windows Shop to... – ColonelZen, Nov 23

Advocacy
General News – Diary
by br3n, October 29
3 comments
» Re: Advocacy – br3n, Nov 2
» Re: Advocacy – ColonelZen, Nov 2
» Re: Advocacy – br3n, Nov 4

Very Bad News for Darl and Ralph
SCO v The World – Diary
by ColonelZen, October 13
7 comments
» Re: OT advocacy – br3n, Oct 26
» Re: OT advocacy – JCausey, Oct 28
» Re: OT advocacy – br3n, Oct 29

Some SCOX Financial Analysis
SCO v The World – SCO Related Articles
by JCausey, September 21
13 comments
» Re: Some SCOX Financial Analysis – br3n, Oct 3
» Re: Some SCOX Financial Analysis – ColonelZen, Oct 3
» Re: Some SCOX Financial Analysis – br3n, Oct 6

Open Source in Education - Opening Doors
General News – General Articles
by JCausey, September 28
1 comment
» Re: Open Source in Education - Opening... – br3n, Sep 29

An IPOWER ful experience
General News – Diary
by ColonelZen, September 25
6 comments
» IPOWER SysAdmin Doesn't Do Weekends!! – ColonelZen, Sep 29
» Re: An IPOWER ful experience – ColonelZen, Sep 29
» Re: An IPOWER ful experience – ColonelZen, Sep 29

Learning C#
Microsoft – Diary
by ColonelZen, September 23
1 comment
» Re: Learning C# – ColonelZen, Sep 23

Comment search...

Recent Diaries

SCO has a Potential and Credible BILLION Dollar Liability
by ColonelZen - March 15

The Chinese Room Revisited, Thoughts on Consciousness
by ColonelZen - November 24
1 comment


Advocacy
by br3n - October 29
3 comments


An IPOWER ful experience
by ColonelZen - September 25
6 comments


Learning C#
by ColonelZen - September 23
1 comment


Getting ruby DBI for Mysql and Postgresql working on FC 6
by ColonelZen - March 7

Declaration of Linus Torvalds
by nedu - February 13
1 comment


Declaration of M. Douglas McIlroy
by nedu - February 12
6 comments


Declaration of Ulrich Drepper
by nedu - February 11
1 comment


Declaration of K. Y. Srinivasan
by nedu - February 11


More Diaries...

Login

Make a new account

Username:
Password:

Older Stories

Monday May 28th
Why SCO Does Not Own the Unix Copyrights
   (0 comments)

Thursday April 5th
It Can Really Happen - Eagle Broadband Delisting from AMEX
   (5 comments)

Monday March 12th
OpenOffice.org Sends Open Letter to Dell
   (0 comments)

Tuesday March 6th
Preliminary Order in Prohibition
   (2 comments)

Monday January 15th
[Linux-ia64] optimizing __copy_user
   (12 comments)

Older Stories...

Related Links

~ Sunny's Diary

SourceForge Logo Powered by Scoop

All trademarks and copyrights on this page are owned by their respective companies or owners.
Comments, articles and logbooks are owned by the Poster. By posting on the ip-wars.net web site, all posters grant a license to ip-wars.net to publish the content and release it pursuant to the Creative Commons License that covers the rest of the site. For more details, please check out the Standard Operating Procedures. Also, please read the Privacy Policy for the site. Finally, DO NOT send e-mail to the site owner (Jeff Causey) unless you have read and agree to the terms regarding e-mail included in the Standard Operating Procedures.
Everything else © 2004, 2005, 2006, 2007, 2008 ip-wars.net and Jeffrey G. Causey and is licensed under a
Creative Commons License
This work is licensed under a Creative Commons License.