Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-26 17:08:08

AndreasW
New Member
Registered: 2006-02-26
Posts: 6

generate html (newbie question)

Hi,

can i use system for store content and then generate fixed html so I dont have to rely on
a database in the hosting environment?

thanks, sorry for the newbie question
- Andreas

Offline

#2 2006-02-26 18:13:58

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: generate html (newbie question)

Not with TextPattern, which uses a MySQL database to store the site content. If you require a static page type application then perhaps something like Movable Type would work better. Note that even though MT generates static pages for the site it still stores it’s content data in a database which it uses to rebuild the static html when you want to update pages.

That’s not to say there isn;t an app that doesn;t use flat files to store the content, I just haven’t run across one. Others with more experience may have further info that’s more useful.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#3 2006-02-27 01:16:55

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: generate html (newbie question)

can i use system for store content and then generate fixed html so I dont have to rely on a database in the hosting environment?

Not Textpattern. You’d be better off using plain HTML files.

Ask yourself, why?


Alex

Offline

#4 2006-02-27 02:26:07

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: generate html (newbie question)

Pivot doesn’t require a database to work.

You could also use something like HTTrack to generate a static version of the site and then upload it everytime you make a change.

Although I have to follow zem here and ask why?


Shoving is the answer – pusher robot

Offline

#5 2006-02-27 02:45:01

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: generate html (newbie question)

Nor do <a href=“http://www.blogger.com”>Blogger</a> and the long discontinued <a href=“http://www.noahgrey.com/greysoft/”>Greymatter</a>.

Count me in on not understanding the database thing. I’d really like to understand the reasoning on this one.

Offline

#6 2006-02-27 03:25:06

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: generate html (newbie question)

I second Pivot, a very nice CMS without the need for a database.

Also, most Wikis don’t use a database and with a little CSS knowledge, they can be made to look like a regular site.

Offline

#7 2006-03-01 18:55:24

AndreasW
New Member
Registered: 2006-02-26
Posts: 6

Re: generate html (newbie question)

It is because i do not want to have a database in the production environment because of performance, and
also i want static files, because i want to generate nice file names. Plus its easier just to flush up the stuff
it also means I can modify stuff offline and then when im done with an update flush it to the hosting center.

And yea, still do need XHTML 1.0 Strict, and all that fancy stuff, just dont want a fullblown supersonic superduper CMS.

Something better and smarter than Notepad, Frontpage or similar :-)

however the stuff needs to be stored in a database because its alot, and i dont want to maintain it manually

Offline

#8 2006-03-01 20:23:43

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: generate html (newbie question)

<blockquote>i do not want to have a database in the production environment because of performance</blockquote>

From <a href=“http://textpattern.com/faq/80/how-fast-is-textpattern”>the FAQ</a>: “On a fast server, Textpattern can serve dozens of hits per second <em>without caching</em>, and hundreds per second with caching installed.”

<blockquote>i want to generate nice file names</blockquote>

Have you taken a look at Textpattern’s clean (i.e., non-messy) permalink modes? At present, they are:
  • /id/title
  • /section/id/title
  • /year/month/day/title
  • /section/title
  • /title

There’s also the option of giving individual articles URL-only titles (for instance, if one article has a title that uses non-ASCII characters). And unlike static content, you do not need to maintain a complicated directory structure.

Also note that Textpattern <a href=“http://textpattern.com/faq/137/can-i-mix-blog-static-and-gallery-pages”>mixes static and dynamic content just fine</a>. There’s nothing to prevent you from creating (and viewing, modifying, etc) static stuff online and adding it to your install at a later time.

<blockquote>And yea, still do need XHTML 1.0 Strict, and all that fancy stuff</blockquote>

Textpattern tags all output valid XHTML strict (and the stylesheet editor has no problem with valid CSS either). The developers all take well-formed markup seriously.

Offline

Board footer

Powered by FluxBB