FMS – Homepage killed…

September 11, 2006

I killed the FMS Homepage, because I tried to write me a Online-TODO list, which is quite easy in FMS, but as I tried to put it into the menu I forgot the create a text for it, so an exception arises and I can’t even get to the frontpage anymore. I fixed it already in the new version, but there are still some other spots where the same might happen.

Exceptions are now caught and the MainPage is printed anyway.

Didn’t upload the new version, so you may get a nice view of an exception on the Homepage…

Advertisements

FMS – Mysql module, caching of scripts and syntax highlighting

September 11, 2006

Finished the mysql.pm data interface for FMS and its fast.

No more files will be needed to be created on the Webserver. Of course the nfile and locking nfile are still included, but letting MySQL do the parsing is faster.

For people who want to do some other SQL server interface the module is easy to rewrite, because it uses DBI and all Queries are easy to change.

If some script is called twice or more (or recursive) the compiled version is kept in memory to reduce the parse time. Still found no use for recursion in Website creation, but someone might.

FMSCode also got some nice highlighting funktions, everytime it finds a … it gives the module <module> the contents of the tag, so the module can do the syntax highlighting and escaping of the special chars. The content is then parsed again by FMSCode so it will produce nice colored output. (Used, of course, very excessivly in the Help-Files)


FMS – Current status

September 11, 2006

FMS is running well finally.

But currently I got no XAMPP to test it, will install one in my a VMWare later, the one running on the Website is still an old version. The new one got all the help textes done. Even though I fear noone is gonna understand them and I’m the only one who can understand the web compiled FMS-programming-language at all.

Talking about ‘web-compiled’: The interpretor got a brand new precomplier now, which speeds up loops very hard:

foreach(1,100000) {$a = 1}

That one won’t take 100msec anymore but only one, because the interpreter has not to parse ‘$a = 1’ a million times. I don’t think anyone will need statements evaluated millions times or more.

The new version is in the SVN and CVS at the moment, but not released.