It seems the last day of this semester except the exam weeks. I spent nearly 2 weeks on my final report and handed in as well as my project yesterday. When I check the word account, it really scared me -- more than 4700! It should be, actually, for I have documented the primary process and corresponding techniques in detail in the learning reflection part. That is the key points in my opinion when I built this website.
It is a pity that I do not have time to fill Hello page with all categorized regions. In another word, I have not put enough information in the database for each region. Only Ashfield, Auburn, Bondi, Coogee and Randwick have content in the Hello page. Although, the theory and method are same in the utilization of PHP and database, it would be integrity of website if there is content inside when clicking every link...
It is unbelievable that at the beginning of this semester, I know nothing about web building, but I have built a web site which is working on the server side including 5 skills at the end. I am so glad. Now, when I browse a website on the internet, I always think about how it is built, which skills are used, can I make it by myself...something like that.
In China, there is an old saying: it is better to tell people how to get fish than give them directly. I am so happy that I have enrolled in this DMT subject. I wish I can tell my gratitude for the help from Viv, Oanh, Bubble and Michael! I really learned a lot from you guys. Many thanks to you guys, to DMT. I really appreciate it.
Friday, June 11, 2010
Thursday, May 20, 2010
Notes about my project
It is a good idea to take notes about my project in the blog. Yeah, at the beginning of this subject, accounding to my 0 foundation of website building, I just made my learning proposal with the low goal: using XHTML and CSS at least. Now, it is almost the end of this semester, I am glad that...I am extending my aim all the time...from the beginning XHTML and CSS to a little bit JavaScript, from client side to the server side encoding... Yeah, that is right, I am Learning PHP and MySQL, and already apply them to my project a little bit. It is hard, espectially for me knowing nothing at the beginning. It is quite hard to image how happy when you learn sth and adopt them in your project and they are working succssfully! Moreover, when you solve one skill proplem, you will be enger to have more challenge because you want to make your website better and better. The process you make a website is just like drug... However, there are still a lot of problems with my website and the website is quite simple and kind of stupid, but i am trying my best to do it and i can never thought i can go so far from the beginning which is quite far beyond my original learnning proposal.
This journal is made for that I connected database successfully with my website, and applied the information inside on the webpage dynamically yesterday.
It is simple but I am happy.
This journal is made for that I connected database successfully with my website, and applied the information inside on the webpage dynamically yesterday.
It is simple but I am happy.
Sunday, May 16, 2010
PHP--session ()
Session() used a lot in PHP. It is used to store the information of users such as usename. This information about users will be stored on the server utill the user leaves this website. Thus, it is a temporary storage.
Identifier UID is created by the session () for every guest to store their variables.
<?php
$username="guest";
if (isset($username))
{
$_session($username);
echo $_session($username);
}
?>
Identifier UID is created by the session () for every guest to store their variables.
<?php
$username="guest";
if (isset($username))
{
$_session($username);
echo $_session($username);
}
?>
Monday, May 3, 2010
Some gain from a practice (I made it!)

I am involved in another subject which has a group project. I was assigned to design a UI for our Encryption/Decryption software Algorithm which is used to input a message and then get the encryption of the plaintext, as well as decryption. You know what, the first idea jumped in to my mind is using some XHTML to creat the UI and a little bit CSS for the decoration. I can do it! I am so glad that I can use my new skills to do something which is useful.
My goal of the UI is clarity and easy to use. Since, it is about a surface for text input and output, I would like to use <form>,for making it clarity, I would combine it with<table>. The result is showed on the left of the page.
There was a very interesting problem I have met during design. It is about the attribute "method" which belong to "form". When I configure it with value "get", the URL would show like this:
/UI.html?Enter+the+message=Meet+you+at+2%3A+00&key=mouse&selection=encryption;
If I set it with the value"pose", the URL would show like this:
/UI.html
So, "Enter+the+message=Meet+you+at+2%3A+00&key=mouse&selection=encryption" will never show in the URL, but actually it still there without visibility.
It is really a detail. I realize the importance of practise. Practise more is the way that can put the information of the book into our mind actually.
My friends said it looks nice. Hehe. I hope so.
Monday, April 19, 2010
Some note about JavaScript 1
Start to learn JavaScript this week. I found a little interesting thing which recall me sth about the difference between XHTML and HTML.
A great deal of attribute in the tags of XHTML are compound words such as borderColor, which is required to written in this way to parse by the browses. However, in HTML, the role is not so much strict, so "bordercolor" is also working if you use it in this way.
The same situation happens in JavaScript environment. The strict type of written type is required to use in terms of the attribute. In this case, borderColor is the correct one.
<script>
var flag=document.getElementById("myinput").ReadOnly;//Corret
var flag=document.getElementById("myinput").Readonly;//False
</script>
A great deal of attribute in the tags of XHTML are compound words such as borderColor, which is required to written in this way to parse by the browses. However, in HTML, the role is not so much strict, so "bordercolor" is also working if you use it in this way.
The same situation happens in JavaScript environment. The strict type of written type is required to use in terms of the attribute. In this case, borderColor is the correct one.
<script>
var flag=document.getElementById("myinput").ReadOnly;//Corret
var flag=document.getElementById("myinput").Readonly;//False
</script>
Monday, April 12, 2010
Macro-Micro-Analysis
After one week and a half study, I have learned more about the website skills involved in my project such as XHTML, CSS and JavaScript. It is just like if you want to use something, you need to learn it first; you know the advantage & disadvantage about that and then you can make use of it well.
Here is the link to my Macro-Micro- Analysis:
Macro-Micro-Analysis
Here is the link to my Macro-Micro- Analysis:
Macro-Micro-Analysis
Friday, April 2, 2010
Some experience on learning HTML,CSS...
After three weeks learning about html, I draw some conclusion on it:
1. know the codes and basic principle
learning from w3school or books sth, I can scan all the knowledge of the html codes and try my best to remember it. It is not a big deal if we can not remember clearly at the first time reading. However, I still need to remember it at full stretch. After all, it will take you extra time to read them twice.
2. Find a very easy and small website with clear structure and codes. Do my best to understand all the codes inside. Sometimes it is really hard to get through everything, but keeping doing it.
3. Testing. I can use the codes what I have learned from E-book to test them using notepad but someone tell me dreamweaver is a better tool for testing. I think i will try it. This step is really important. That is a good proof that I have learned sth and really know what it is.
4.Find a easy and small website with clear codes. What i should do is not understand the codes inside, instead i shoud try to code it by myself without reading the original codes. This step is quite hard and there is a big gap between step3 and step4. However, it is really worth.
5.After all the above steps, it is the turn of my website. hehe...
Keep learning...
1. know the codes and basic principle
learning from w3school or books sth, I can scan all the knowledge of the html codes and try my best to remember it. It is not a big deal if we can not remember clearly at the first time reading. However, I still need to remember it at full stretch. After all, it will take you extra time to read them twice.
2. Find a very easy and small website with clear structure and codes. Do my best to understand all the codes inside. Sometimes it is really hard to get through everything, but keeping doing it.
3. Testing. I can use the codes what I have learned from E-book to test them using notepad but someone tell me dreamweaver is a better tool for testing. I think i will try it. This step is really important. That is a good proof that I have learned sth and really know what it is.
4.Find a easy and small website with clear codes. What i should do is not understand the codes inside, instead i shoud try to code it by myself without reading the original codes. This step is quite hard and there is a big gap between step3 and step4. However, it is really worth.
5.After all the above steps, it is the turn of my website. hehe...
Keep learning...
Subscribe to:
Posts (Atom)
