So, by the time you read this the homepage would have been hosted. Right now it’s just four static web pages and all of it has been done in html5. This new ‘draft’ standard has introduces a slew of new JavaScript APIs and it has become increasingly important to know and better understand efficient javascript coding practices.
Anyways, the little project was started just because I wanted to dirty my hands with Html5 and it has been worth the little effort that I put in. I learned a lot.
If there are two versions of the home page hosted then it means I have not been lazy in making use of the newer and more b’ful template. As you might have guessed, at the time of writing this post I have not yet made use of the new template. Its just four html pages. How much effort could it be!
So, without any further delay. Here’s what I learned -
- There was a lot of code stitching from google and elsewhere. And it’s not so much of a bad thing if you learn from it — which I did!
- Don’t look at my javascript. I mean I’ve coded so badly. I don’t even code so badly at my workplace…lol. I used a lot of global variables even though I could have minimized their usage a lot. There’s been repetition of code especially with statements like document.getElementById(). It’s simply because I did not follow any design constraints — which is a very bad thing, by the way. There were some more inconsistencies in my code.
- Although, I did not do so good I also did not do very bad. I used the new html5 markup, played around with video and audio elements, made a Whiteboard using canvas and localStorage, got to know a lot more browser specific stuff, learned about audio video codecs, container formats, the importance of MIME types, and lots more. I also got to know a lot about CSS and stuff.
- I have set a solid base for a good javascript know how. I already know what all I can do in my code if I set out to implement stuff like inner functions(scope chaining and stuff) or take advantage of prototypes.
- It’s extremely important to code in your free time and it’s also important to look at the code of other programmers. This is how you can know where you actually stand.
- I learned that it becomes a blot on your character if you continue to repeat the pattern of starting projects and not finishing them. I had been following this pattern for the past few years. No more. All that rage is coming out in code
- Music is extremely important to code. Food is optional.
- The more you code, the more you realize about your insignificance. It keeps you way too humble and down to earth.
- With the introduction of html5 and it’s rampant usage these days, javascript has become the ubiquitous language of the client side and with its introduction to server side programming (node.js), I think it’s going to be the language of the year.
- It’s not so easy to write catchy english at 3 am.
- There are a lot of small js apps I want to build and integrate them with the homepage but it’s important to ship code minimal code first!
I also wanted to use Git and a lot more had to be done but I have to wrap up this month with a few more things I have in mind.
So how did you like the homepage? It’s not much. It didn’t had to be. It was just a simple learning exercise for html5 but when there were four pages to show I simply hosted them. And in the process I learned a lot about myself, my coding styles, life in general..lol
Comments?