UTF-8 and some progress

Hey,

The progress for MageDB is currently going nowhere fast. I’m just to bussy with school.
I did just found a nice new addition for MageDB that will make the more exotic languages possible. UTF-8 is gonna help with that. the script: http://phputf8.sourceforge.net/ is most likely the script that i’m gonna use to support UFT-8 without the need to wait for PHP 6. I might take the CakePHP UTF-8 script but that’s in development at this moment while the link i just posted here is about complete. This does add about 30KB in the compressed MageDB package and about 130KB in the extracted package.. o well it’s all to be as widely usable as possible.

That’s it for now
Mark.

Posted in MageDB. 1 Comment »

MageDB Caching system is undergoing some changes

Hey,

A while ago i wrote about a cache system for magedb called MageFlexibleCache. Back than i didn’t know (much) about the CakePHP library. There current stable release doesn’t have that many caching capabilities but there new alpha (around for a few months now) has caching capabilities for all the cache engines that i wanted to support under MageDB (APC, XCache and File cache. CakePHP even has 2 others) so i was just wondering why i would have to make my own if it’s already there and under free (MIT) license as well. So nothing prevents me from using that cache stuff of CakePHP (and perhaps some other files as well).

So the newly created MageFlexibleCache was fun while it lasted.. if i can use that CakePHP cache stuff than i will use that (even PHP 4 compatible!!).

Now you probably find this boring because you don’t give a **** about caching.. you just want MageDB up and running.
Well.. here is a small list of the advantages that it gives you when i use that cache stuff.

Advantages
1. The site will load a lot faster in general
2. Queries can be saved a lot as long as nothing changes (one change and the cache will be rebuild for that part of the page)
3. The user experience will be a lot better than in a script that’s not using caching at all
4. Your server is capable of handing more requests because it’s mostly serving precompiled web pages (nearly no php and mysql).

Disadvantages
1. The script is getting a lot more complicated so making modules/addons for it will be complicated as well.
2. MageDB is making use of Ajax and that could give a few irritating issues

I can’t think of more disadvantages that a user might see..

So all in all the caching capabilities are good for MageDB and will be used.
Now i’m off to work on the (Experimental) Karma Rating script.

btw MageDB is really making some good progress these days.

Cya next blog,
Mark.

Second MageDB in progress video with AJAX!!

Hey,

I wanted to generate the SEO url’s on the fly without having to refresh the page so what would you use for that. JavaScript is perfect for that. And the Ajax method is finishing it.

Here is the link to the video (decent quality and NO youtube anymore):
VIDEO 2 (really is misspelled: “realy”)

And the first video again but than not from youtube:
VIDEO 1

Have fun watching,
Mark.

MageDB Progress video

I just posted a YouTube video on the current MageDB progress:
VIDEO

Do i need to say more?
Oke.. than a few things about it. this is just the progress of the last few days and the amount of Ajax that you see in this video is not as much as i would like so that’s gonna change a lot. but this is just to give you a idea how nice MageDB is gonna get.

Till next time,
Mark.

Karma Rating (new type of rating?)

Hey,

I’m thinking of making a whole new kind of rating system for MageDB. mainly what you have to do now to rate a file is click on a star and it’s rated but perhaps that’s not the best method now is it? perhaps a good rating can be a lot better by looking at the number of visits, download and comments on a file. And it could go alot deeper than that. for example.. i could expand the system to allow users to rate comments as well (like: Gread comment, Good comment, Decent comment, Poor comment and Bad comment) and than take that rating in account when calculating the total rating of a certain file.

To put it simple. the basic idea behind this is to rate files based on there statistics and not based on the users opinion. The side effect (and also added advantage) of this is that all files will get rated sooner or later. Just visit it and the script will do the rest.
So what do you think of this?

I have no idea if this is gonna work but if it is than i’m most likely the first one with this idea. now i just have to make it a reality and make it work!

and feel free to DIGG this “idea”

Thanx,
Mark.

Posted in MageDB. 2 Comments »