Anyway, here's what I have done for my project broken down by the weeks:
Week 7
More research being done especially in an area where I feel that I am not good in - actionscript. It isn't easy to search for relevant tutorials pertaining to actionscript over the internet so the progress for this is quite slow. Besides, I feel very insecure when it comes to coding in actionscript and doing the online tutorials is taking longer than I have originally anticipated.
I've managed to come up with a second design for the look and feel for my website. I completely scraped the first because it looked cluttered.
This is my 2nd interface design:
This week, I also have *almost* finalized a list of features to incorporate for my website. I now know that in addition to the flash energy calculator, I also am intending to do administrative login where the site admin can do some changes and updates to the site. So far I have designed and mapped out a simple content management system for the website that I am able to code for.------------------------------------------------------------------
Weeks 8-9
Not much is being done this 2 weeks as I am concentrating on writing up my project proposal documentation. Miss Megan Chudleigh is taking over the classes for these two weeks and she is such an inspiration! I must say that she has been a great help in terms of advice and motivation.
------------------------------------------------------------------
Week 10
The proposal documentation was due early in the week and I am glad I was able to hand it in on time. Now full steam ahead for the final year project!
I changed my look and feel yet again... hopefully for the last time. This is how it looks like:

So for the rest of the week, this is what I have manage to accomplish
- Code the website into basic HTML based on the photoshop design template.
- Create a database structure for the website.
- Beginning work on my PHP framework to build the website upon.
------------------------------------------------------------------
Week 11
Although I have finally been able to get into the rhythm of things, there is still alot of work to be done before this project could be completed, and my other subjects keep vying for attention as well. It is really tough to balance it all out with several assignments to do. Progress for this week is a continuation from last. So for this week, this is what I am doing:
Weeks 13-14
The alpha test for our final year project is scheduled to be on the 3rd of July in week 14. My system needs to be 80% ready by that date. I am really trying to get all my admin features and my quiz done by that time so I have the next 2 weeks after that to focus all my attention on my flash energy calculator. I have to leave that for last as I cannot afford to lose precious time trying to code something that I am very unsure about. The flash energy calculator is a touch-and-go thing for me right now. So for these 2 weeks, I am doing:
Note to self: I should lighten the green up a bit to make it a little brighter.
Although I have finally been able to get into the rhythm of things, there is still alot of work to be done before this project could be completed, and my other subjects keep vying for attention as well. It is really tough to balance it all out with several assignments to do. Progress for this week is a continuation from last. So for this week, this is what I am doing:
- Completion of PHP framework
- Creating administrative login/logout structure using PHP server-side session variables ($_SESSION)
- Implementing the 'Forgot password?' function to the site
- Start coding on the page content management system
------------------------------------------------------------------
Week 12
I am starting to experience short bouts of panic attacks throughout the entire week as the semester is nearing its end. Coding has been tedious and I tend to do more silly mistakes and errors as I panic more. Debugging takes its toil as I spend extra rest time to do it. This week's progress is still a continuation of last week's:
I am starting to experience short bouts of panic attacks throughout the entire week as the semester is nearing its end. Coding has been tedious and I tend to do more silly mistakes and errors as I panic more. Debugging takes its toil as I spend extra rest time to do it. This week's progress is still a continuation of last week's:
- Continue work on page CMS
- Implementing chat features for both admin and user login
- Start coding the simple and advanced search function on the site
------------------------------------------------------------------
Weeks 13-14
The alpha test for our final year project is scheduled to be on the 3rd of July in week 14. My system needs to be 80% ready by that date. I am really trying to get all my admin features and my quiz done by that time so I have the next 2 weeks after that to focus all my attention on my flash energy calculator. I have to leave that for last as I cannot afford to lose precious time trying to code something that I am very unsure about. The flash energy calculator is a touch-and-go thing for me right now. So for these 2 weeks, I am doing:
- Implementation of PHP quiz including administrative functions for it
- Coding the news script including administrative functions and adding it in the search function
- Coding the dynamic sitemap page (This is a nifty little feature I thought of doing. Each additional page added by the admin in the CMS will automatically appear in the sitemap according to its relevance e.g. main page, sub page etc)
Note to self: I should lighten the green up a bit to make it a little brighter.
------------------------------------------------------------------
Weeks 15-16
The toughest of weeks are still ahead of me. These last 2 weeks have been allotted to work solely on the flash energy calculator. It was very tedious trying to figure out how to make actionscript work properly in flash. I am sure it is just a lack of experience on my part that makes it ten times as difficult for me to program and figure out actionscript, and the lack of proper actionscript documentation on the internet.
In the end, what I have managed to create is a long shot from what I have intended to do in the first place, but it works! I mean, the calculator actually manages to calculate, which is a miracle in itself! I also managed to use the 'LoadVars()' function to transfer the price per kW/h variable (from a PHP script that loads from the MySQL database) between my flash application and my database. That means, if the price of electricity changes in future, the admin can change it accordingly from the admin login and the new price will be used in the calculations in the flash application. Wow, that is such a milestone for me!
If given more time to experiment, I could have probably made a better flash energy calculator. But this will have to suffice for now. As it is, I have gone to new heights in coding that I have never gone before and it had made me a better web programmer!
Nearing the completion of the project, I've managed to stumble across a handy open Source project called TinyMCE (http://tinymce.moxiecode.com/) capable of enhancing my page administration as well as the news administration. It is a tool that adds word like features to the text areas where the user types in page content / news post content. With a little customization, I was able to make the tinyMCE JavaScript Editor fit in nicely. This helped me resolve the issue that users had to be proficient in HTML in order to write texts in my page content management system.
Conclusion - An After Thought
Looking back on this project, I'm able to see which areas could have needed better focus and which areas should not have been as prioritized. The programming of the website (PHP) took up a lot of the time and left less time to make the energy calculator just the way I wanted it to turn out. For instance, if I could have put focus differently, I would have made it more possible for the user to customize their own energy usage in the energy calculator more than is currently possible. It would also be nice to show a sub-usage on each appliance when values are chosen or typed in. More appliances could also be added to the energy calculator such as aquarium, kettle, coffee machine (and other kitchen appliances), gaming consoles etc. Also, had there been time enough in the end I would have liked to add in tool tips for the users when they click on an appliance in the energy calculator, giving them good tips & tricks (like when they click on fridge/freezer, they would be reminded to defrost it from time to time for higher efficiency).
Also, currently the administrator can only administrate the kWh price in the energy house, whereas I imagined that it could have been more useful to add in options for the administrator to set watt usage values for many different appliances in the house, or maybe something even better - making it possible for users to type in how many watts the different appliances in their own household use. On the other hand, I feel that the extra time spent on coding the website has also been worth while, making it a more robust system, with a content management system that works quite well. Overall, I feel that I got everything pretty much rounded off. Of course given more time or if I have handled my time management better, it would have been possible to add in more features and make the current ones even more elaborate and user-friendly.
Finally I would like to add that I've taken great care in adding plenty of comments in my code, so it should be quite easy to follow up on how I do the different functions in there.
My final year project can be viewed at:
http://www.swunleashed.com/greenleaf
If given more time to experiment, I could have probably made a better flash energy calculator. But this will have to suffice for now. As it is, I have gone to new heights in coding that I have never gone before and it had made me a better web programmer!
Nearing the completion of the project, I've managed to stumble across a handy open Source project called TinyMCE (http://tinymce.moxiecode.com/) capable of enhancing my page administration as well as the news administration. It is a tool that adds word like features to the text areas where the user types in page content / news post content. With a little customization, I was able to make the tinyMCE JavaScript Editor fit in nicely. This helped me resolve the issue that users had to be proficient in HTML in order to write texts in my page content management system.
------------------------------------------------------------------
Conclusion - An After Thought
Looking back on this project, I'm able to see which areas could have needed better focus and which areas should not have been as prioritized. The programming of the website (PHP) took up a lot of the time and left less time to make the energy calculator just the way I wanted it to turn out. For instance, if I could have put focus differently, I would have made it more possible for the user to customize their own energy usage in the energy calculator more than is currently possible. It would also be nice to show a sub-usage on each appliance when values are chosen or typed in. More appliances could also be added to the energy calculator such as aquarium, kettle, coffee machine (and other kitchen appliances), gaming consoles etc. Also, had there been time enough in the end I would have liked to add in tool tips for the users when they click on an appliance in the energy calculator, giving them good tips & tricks (like when they click on fridge/freezer, they would be reminded to defrost it from time to time for higher efficiency).
Also, currently the administrator can only administrate the kWh price in the energy house, whereas I imagined that it could have been more useful to add in options for the administrator to set watt usage values for many different appliances in the house, or maybe something even better - making it possible for users to type in how many watts the different appliances in their own household use. On the other hand, I feel that the extra time spent on coding the website has also been worth while, making it a more robust system, with a content management system that works quite well. Overall, I feel that I got everything pretty much rounded off. Of course given more time or if I have handled my time management better, it would have been possible to add in more features and make the current ones even more elaborate and user-friendly.
Finally I would like to add that I've taken great care in adding plenty of comments in my code, so it should be quite easy to follow up on how I do the different functions in there.
My final year project can be viewed at:
http://www.swunleashed.com/greenleaf
