Frequently Asked Questions

I. About

1. What is Jaws?

Jaws is a Framework and Content Management System for building dynamic web sites. It aims to be User Friendly giving ease of use and lots of ways to customize web sites, but at the same time is Developer Frendly, it offers a simple and powerful framework to hack your own modules. Jaws is Free Software under the LGPL.

2. Why PHP?

I will make some points about why we choose PHP over other Language.

Speed In comparation with ASP, PHP can handle more request per second that the first one because of the ASP need of making everything into a COM object. In PHP modules, everything run in memory space. This means that it will run faster because there is no overhead of communicating with COM objects in different processes.

Memory Managment If i file ‘header.asp’ is include in 20 different pages then 20 compiled copies of the ‘header.asp’ are mantained in memory. This dosen’t happend on PHP that only load include files that are required.

MySQL PHP integration with MySQL is fantastic, and PHP + MySQL is surely the most available web environment all over the world.

Closer to Java/C syntax Maybe this is not an advantage for many but as im the one writting this, i like those Programming Languages, so it’s an advantage to me :-)

Cross Plataform Hey i have PHP running on my Dreamcast :-)

But simple enough, PHP is cool and fun

3. What is MVC?

Jaws Project is mainly based on the MVC design pattern, which divides an application on three main layers: Model, View and Controller. You can read more about this design pattern and its benefits here or here.

II. Using Jaws

1. Memory Problems

If you are getting some fatal error messages like:

Fatal error: Allowed memory size of 8388608 bytes exhausted …

Try to increase the memory_limit value in your php settings, this error will occour when you have enabled all plugins, this error is fixed in the versions after 0.5.x series.

2. I'm intrested in AlbumCover plugin, but it shows Unknown image all times.

AlbumCover fetch the images from Amazon through AWS (Amazon Web Services), AWS requires an Access Key ID that’s just for users not projects, so you should register in AWS and then insert your “AWS Access Key ID” into the /plugins/AlbumCover/devtag key in registry.

3. It seems AlbumCover tries to fetch the image in every request and take a time

AlbumCover tries to copy the fetched images from amazon in your data directory, but because AlbumCover tries to copy from an URL you need to set allow_url_fopen = On in your php settings.

4. How to deactivate the captchas

  1. Open the Control Panel
  2. Go to the Spam Gadget
  3. AntiSpam Settings
  4. Allow Captchas: No
  /var/www/wiki/htdocs/data/jaws/faq.txt · Last modified: 2007/11/02 16:27