Of open source works and magick obscura.

Displaying 1-5 of 16 result(s).

Speed demon.

by Jaakko Nissiat 2011-09-23 17:57:19

I made some modifications to the code again. Actually a quite large mod to the way javascript is loaded. I rewrote parts of the Yii CClientScript to use jsmin.php(I based this on an Yii extension which was iirc ClientScriptPacker).

Now if I make a modification to any of the included javascript files, the minified source packs get automatically regenerated and served with cache-busting. This adds the inconvenience of having to add all used js-libraries in a common init function for all controllers.

Some updates

by Jaakko Nissiat 2011-07-23 16:29:52

To celebrate the first user other than myself I started the work on the site i18n/l10n. Luckily Yii again makes that quite easy, the most difficult thing actually being creating a robust language selection ui XD The two flags on the right upper corner didn't actually work on the first go on every page.

At the same go I added the google plusones just for the fun of it. Also the old javascript files make a brief reappearance until I get the javascript minification to perform well enough I can safely say everything works.

Strange things are afoot.

by Jaakko Nissiat 2011-05-23 20:08:24

Funnily enough, I managed to break almost every part of the site requiring authentication when I started bringing in the speed improvements. For some reason the php.ini setting session.save_path got reverted to some value that wasn't writable by the web server process running on my privileges and prevented me from doing anything when logged in.(Instead the session just ended on every page load and I had to relogin.)

To make things much harder to debug, my development server environment was able to write to it's own session.save_path and everything worked there as expected.

No progress while ill.

by Jaakko Nissiat 2011-05-20 15:28:20

Damn sore throat. I've been reading a whole lot of javascript books on my Kindle. Also I noticed some parts of this site don't work as well as I initially thought.

I'm going to fix it all as well as test some different approaches on loading the assets(There actually is a nice solution for this too in yii) when I'm well again, but today I think I'm going to invest my spare time in Fallout: New Vegas.

And updated.

by Jaakko Nissiat 2011-04-25 22:14:46

I made the update, well before May Day =P

The javascript works a bit differently now and everything is loaded a bit later as well. Also I don't think I forgot too much styles that were needed, or any gaping wide open holes anywhere.

I'll talk about it in a bit. Too tired now.