Posts

Showing posts from March, 2008

LFS and a few pints

Yesterday it was thursday and I was stuck doing some work but also racing the 'thursday race' in LFS as planned. I qualified 10th on the grid on A-division and had a good race until lap 12 when I flipped onto my roof and out of bounds in the chicane. My team mates in Nordic Racing Group (NRG) did alright although Nicke had a potential podium finish in 3rd place when he ran out of petrol in the last corner to finish 5th instead - what a shame. Tonight I've been out in Stockholm for a few pints. We started off in the " Bull and Bear " pub and then I can't quite remember where we went, but it was a good night and I had quite a laugh with my mates. Hopefully this weekend will allow me to work more on muisc, games and the new websites.

LFS Practice

Image
Today has not been very Imphenzia-oriented due to other commitments. Been to work and the gym and practiced for the Live For Speed race on thursday (it's a new 'Thursday Race' season starting this week). I race for 'Nordic Racing Group' that is proudly sponsored by Imphenzia :) Now, however, I am creating a few copies of Illusion due to some recent orders so I'll ship them tomorrow. I see it's already past 1am as well, hopefully I'll get more time for Imphenzia tomorrow.

Think before you think

Since making music was not to be today - I continued to develop the web sites (I actually did quite a bit earlier today as well). The "my account" page is more or less finished so you can update your details now, reset password, change e-mail address and so forth. I then found my self redeveloping a feature no less than three times hence the title of this blog entry. Lost Password? First I created a feature called "Lost Password" which meant that by clicking this feature and entering your e-mail address you should receive your username and password to your registered e-mail address... Great! Once nearly completing this feature, I realised that since I "encrypt" the passwords in the database using MD5 - I won't be able to send the password through e-mail as I can't ever find out what it is, I (and the program) only see 32 hexadecimal characters which is of no use. Reset Password? I then reprogrammed this feature and called it "Reset Password...

Sound sketching

After over a week of solid work put into the new web sites I launched up the sequencer today to see if I could get anywhere with a potential track and all I came up with was this: mp3 file . Not too happy with that and I've learned something over the years, if it doesn't click straight away and inspiration comes flowing once you start working on a track - just leave it for the time being. It isn't possible to imagine creativity and it has to come naturally. I'll close down the sequencer for tonight and head off for the gym. I'll be listening to some trance during my gym session so maybe I get some ideas there, you never know.

Protecting the site & AJAX

It's been  a long time since I've spent so many hours on something producing such a small visible result. First of all I had to learn all about protecting PHP code and form fields that are inserted into the database when logging in with mysql_real_escape_string and the joys of some servers having magic_quotes_gpc enabled and when stripslashes should and shouldn't be used. I've finally protected the code enough from malicious visitors - I don't want to end up like the old imphenzia forums once were if you remember those days. Since I already developed the login / logout / remember me features of the new sites yesterday, the 4 hours I spent on just protecting the code was just plain boring - but not wasted as the result is good and I learned something very useful. Originally I used a javascript called " Live Validation " to verify the contents of form fields as you type in them and the result was quite cool - what it didn't support, however, was verif...

Cookies

Just a quick note... Continued work on the sites today - mainly added cookie support for persistend logins on the new site. Also started the "my account" page where you'll be able to list your game keys and handle subscriptions etc. Only got a few hours in today as I watched quite a few episodes of Prison Break with my wife and enjoyed some time off with it being easter and all.

Themes and registration

Image
I've completed the theme functionality on the new site. Changing the look (and width) of the site is extremely easy and fast. The screenshots that you can see demonstrate this functionality although changes to templates are only minor for testing - in the end result the themes will be quite different from each other. In addition to themes I've completed a user registration process with live java validation of the form fields as you type. This will simplify the process making sure that your passwords match up and that your address is valid etc. The registration process also features validation by e-mail to ensure you don't get unsolicited spam.  Finally - the most important thing I've learned so far is KEEP YOUR CONTENT AND DESIGN SEPARATED. This is the best way to work as changing a theme or page content is super simple once the framework is in place. It's 4:14am now so I'm going to eat something and watch some TV now... then off to sleep.

New site taking shape

Image
The new music site is till taking shape utilizing reusable CSS a reusable style sheet and I am happy how it resizes between 960px and 760 pixels. I am also planning cross functionality between the different sites (especially music and games) so you can see the latest news from the other site on the side bar, use the same account to log in with personal settings etc. Another feature I am planning is a template selector so if you thnik the site is too dark or just fancy a different font/colour scheme, you can simply select another one and the site will remember this for your next visit. Even though progress is slow, I'm glad to finally be learning this stuff as I'm probably a few years behind when it comes to web-fashion :)

More development on new sites

Today I put yet another couple of hours into the new web sites and I am getting some inspiration from the look of this blog. The new sites will be quite modular and should feature some functionality that is shared between the music and the games section and I am quite excited about the whole project.  I am also happy to say that I'm going for the commonly suggested method layout by best practice which is a max fixed width of 960 pixels that allows resizing down to a minimum of 760 pixels. This should look best in higher resolutions but also allow those with lower resolution to enjoy the site (I feel it is important not to neglect any of fellow fans!)  There is nothing new to show and it will probably be quite a while until then, but I will continue to work on this when time allows.

Web site '2K8' progress

Today I've spent a good few hours getting more comfortable with CSS and I must say it is a huge step forward compared to only using HTML as it is extremely easy to keep consistency in the design and position different elements. At the same time as I am learning CSS I am converting from ASP to PHP . I can produce ASP code much faster, but PHP has a much better array of commands and functions and is also widely used on both Linux and Windows web-hotels so you don't have to restrict yourself if it were to be necessary to move. I have high hopes for the new web pages and it's fun to mess about with! Due to having many interests I am fortunate enough that my interest does a " round robin " and at the moment it's web design that I'm enjoying, a couple of weeks back it was all about music and releasing " Illusion " and in a week or two I'll probably be programming away with Performa Cars .

Thoughts about fixed width vs. liquid layout

I'm in the process of planning the new Music and Games sites and I am currently batteling whether to use "fixed width" rather than "liquid layout" on the site. Today I use liquid as you can see the content adjusting automatically to the width of the browser window, but you can achieve better design (in my opinion) and also better readability with fixed width of the page. Statistics from a 2006 (yes I know, old info) show that about 60% are using a resolution of 1024x768 and up and only about 17% use the resolution 800x600. I would like to use a width of 960 pixels of the new web sites. I may do some testing with what I feel may be the optimal solution, that is a maximum width of 960 pixels but a fluid layout to accomodate for users still using lower resolutions. More on this topic later.

New Splash Page

The new splash screen is now finished and operational, hope you like it! Note, you'll only see this if you are using a recent browser due to IE 6 and older (and maybe older versions of FireFox etc) will have huge problems rendering this page using quite modern transparent PNG files and CSS positioning. This whole browser compatibility thing is a nightmare to be honest so I'm not looking forward to it when redoing the music and games sites to follow the new look and design. So what does it look like? Well, go to www.imphenzia.com  and have a look if you have a modern browser - if you still see the white version, you'll need an upgrade.

Working on a new splash

Since the new blog is launched, I've spent some time working on a new updated splash screen for www.imphenzia.com that will feature 4 sections instead of the current two. These will be music and games that you all recognize from before, but also the forum and the new blog . I am also slowly learning how to create sites using CSS instead of traditional HTML. CSS is a great method to position page elements and get efficient code with different styles, but at the same time it is a bit of a headache due to browser compatibility as different browsers choose to interpret the code in different ways. One example is vertical alignment, it used to be a 1 row job in traditional HTML using tables, but in CSS there is about 30 lines of code and you still don't get a cross browser compatible result... when you google about this most people will blame IE, but regardless of who to blame I just want it to work :) Once I've learned CSS a bit better I will also redo the music and the game...