Maandelijks archief: oktober 2008

Online text based games (4)

First things first: in my previous post I suggested that the use of frames would be better to be able to reload ‘pieces’ of pages. This is not completely correct of course: within a frameset multiple frames display pages, so in principle the page in a frame is reloaded although this page is of smaller width and / or height so that the frameset fits the screen.

And although the idea of frames is good (reloading parts of a website), it is not worked out great. You still have to reload a whole page. After a quick thought and some trying with Smarty it is way better to just use boxes as I already wanted to do. Let’s say I was blinded by the ‘reloading pieces of pages’ idea 😉

Verder lezen

Getagged ,

Online text based games (3)

This week I’ve actually done a lot of work without noticing it. First of all I needed an environment in which I could write and directly test code without being dependent on a webhost. The easiest way to do this is by installing Apache2Triad. It’s easy to install and it works directly on. The control panel offers enough functionality to make it do what you want (that is to parse PHP files and to interact with a database).

After that I’ve tested some files which I already had and which could be reused. As I’ve edited them, some mistakes had to be corrected. After doing that (I hate code which is not compiling), I’ve written the first two use-cases:

  1. Register user
  2. Log in user

“So that’s all you’ll probably think? It ain’t that hard to construct a user registering system and a login prompt!”

Verder lezen

Getagged , ,

Online text based games (2)

Earlier I wrote a very small sketch about online text-based games. Since then I’ve thought about how to set up things in such a way that updating and extending would be easy. Therefore I’ve taken a look at CMS systems like Joomla/Mambo. This CMS has a components folder both in the public_html folder and the administrator folder. Components to add need to be placed in these folders to be used in the front-end and back-end respectively.

Verder lezen

Getagged , , ,