Update on my wiki

Since i last wrote, i have gone in a few directions trying to get started with my apprenticeship wiki task, got a bit stuck, talked to Enrique a lot, thought a lot, and i think i’m on track now.

My first mistake was to focus on the test framework. I was pretty pleased with my given/when/expect framework, and it actually sort of worked, but it wasn’t really necessary for what i needed. In the spirit of “the simplest thing that could possibly work”, this is the bare minimum you need for a testing framework:

def assert_equal(actual, expected)
  puts actual == expected
end

My second mistake was to get carried away with making a web interface. I learnt a bit about WEBrick and how to embed ERB into a web page. That will become useful later, but it was the wrong place to start. After i had done all that experimenting, i still didn’t have anything remotely like a wiki framework!

Enrique asked me, “what is the most important part of the wiki?” – the answer is: content. If i have no content i have no wiki. So i am making it as basic as possible: creating a Page object and assigning it some content. Then i am moving on to a PageFactory that has the responsibility of finding pages. The pages may be stored in a database, filesystem, or even just in memory. It doesn’t matter for the moment. Whatever i decide to use, the PageFactory will deal with it.

My progress is now on github so you can follow along with my progress if you wish. The repository is sermoa/licky – licky meaning ‘little wiki’! :)

Advertisements

4 comments on “Update on my wiki

  1. Thank you for the help.
    Will this work in Windows 7?
    There is another method to install software i.e. using safe mode. Just press the F8 key when you start your windows. You can also copy the CD to your hard disc and can run the install from set up. Try to run the install from your hard drive in safe mode and see if things work.

    If you are still getting the problem to install software then you can just check the manufacturer details on the CD or can visit to the manufacturer’s site. Just get in touch with them over phone or can mail them at their e-mail address.

    If you have just downloaded software from the manufacturer’s site then you can visit the site and ask for the trouble shooting. Some good manufacturing sites have message board where you can post your complaints and you will get the answer instantly by the experts.
    Nowadays, one can see the number of pornographic, betting, gift offering websites cropping up. The people who have a PC at their places are a worried lot. They want to save their children from these sites ill effect. To counter this people use spyware software to keep a check on their child’s activity. As we all know in the adolescent age the chance of watching pornographic site is quite high and an alert guardian can not afford to ignore this act. Apart from this, there are number of sites where one can get the entire nuisance in the internet sites. However, the software alone can not play the roles of the guardian but definitely it can save a lot of damage. One can see the alert guardians using net nanny software to other spycam to keep a tab on their child. This will help them to keep a track of what they are doing and they could be warned before they fall into any trap. So one can install software and get rid of all their woes.

  2. yes, it will work in Windows 7!

    (that was the most elaborate spam comment i’ve ever seen! i was so impressed, i actually approved it!)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s