KBD

Keith Devens .com

Saturday, August 30, 2008 Flag waving
Nonsense on stilts! – Derived from Jeremy Bentham
← Testing Weblog APIsHypocritical outrage at civilian casualties →

Daily link icon Thursday, April 10, 2003

Time for Wiki

Hey, now that I've implemented the Weblog APIs, and my weblog code is basically good, maybe it's time for me to start working on a wiki to integrate into my CMS Smiley. I can't wait.

Other features I need in my CMS in general, though, are pretty important. I need a general form posting and validation framework, and I need a freaking administration interface or framework.

Hmmm... one more thing I need for my weblog is back and forth links for most types of pages.

← Testing Weblog APIsHypocritical outrage at civilian casualties →

Comments XML gif

Simon Willison (http://simon.incutio.com/) wrote:

I've been writing a Wiki as well recently. The hardest problem by far (in my opinion) is revision control and diffs. Ideally you want to store the difference between one version and the previous version rather than just storing complete copies whenever an edit is made, but writing a diff algorithm (or finding one that has already written) in PHP is very hard. I ended up cheating and making a call out to the unix diff utility, but I'd much rather use something in pure PHP.

∴ Simon Willison | 10-Apr-2003 9:05am est | http://simon.incutio.com/ | #1788

Keith (http://www.keithdevens.com/) wrote:

I was thinking about that today. Smiley I've seen people refer to the "GNU diff algorithm", but have never seen that documented anywhere. I suspect that it's one of those where "the code is the documentation", but that just sucks.

Keith | 10-Apr-2003 4:42pm est | http://www.keithdevens.com/ | #1792

Keith (http://www.keithdevens.com/) wrote:

Anyway, I see nothing wrong with calling out to the diff utility. It's not like it's something that has to be done on every invocation - or even often. No reason that everything has to be written in one language.

As for storing the diffs instead of the full revisions. It would be nice for saving space, but then when you want to review an old revision, you have to repeatedly apply every diff from now until back then to get the original revision. It might be better to just compress old revisions to save space.

Keith | 10-Apr-2003 5:28pm est | http://www.keithdevens.com/ | #1793

Dean Peters (http://www.HealYourChurchWebsite.com) wrote:

On and on with the content management system -- still no sharing the goods.

Don't you love us anymore?

∴ Dean Peters | 10-Apr-2003 11:24pm est | http://www.HealYourChurchWebsite.com | #1796

Keith (http://www.keithdevens.com/) wrote:

It's not done yet!! Aaaaaaaaaah Smiley mad

Keith | 11-Apr-2003 12:30am est | http://www.keithdevens.com/ | #1797

Mean Dean (http://www.healyourchurchwebsite.com) wrote:

sniff -- sniff -- well you didn't ahve to yell at me -- sniff

∴ Mean Dean | 11-Apr-2003 1:52pm est | http://www.healyourchurchwebsite.com | #1799

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

August 2008
SunMonTueWedThuFriSat
 12
3456789
10111213141516
17181920212223
24252627282930
31 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

new⇒Johnny Walker Blue Label

Wow, thanks for the scotch review​:D

Lagavulin and Laphroaig are​some of...

Keith: Aug 29, 3:35pm

Girls, please don't get breast implants

Wow, After all this time, the​comments on this page continue to​grow. It wa...

Ajeet: Aug 25, 2:36am

Generated in about 0.219s.

(Used 8 db queries)

mobile phone