Friday, 18 September 2015

Interpreting Scripts!

Aim - To be able to understand the fundamentals of JavaScript - improving functionality and how browsers interpret scripts.

Objectives from Zoe:
Can create some simple interactive elements from given examples using JS scripts.
List different ways that JS can be used to improve functionality.
Can briefly explain some different ways that JS can be used to improve functionality.
Can describe the advantages and disadvantages of JS interactive elements.
Understand that not all browsers support client side languages.
Know at least one method of how browsers can interpret scripts.


*Briefly explain the methods of interpreting scripts.
*Describe in detail the methods of interpreting scripts.


It's Friday!

Recovering from yesterday's bad luck day, today has been a really positive one! Firstly, for the starter of today we continued to work into the first lesson on experimenting different ideas for JavaScript. This included 'onmouseover event', 'prompt' and 'alert'. From the beginning, this has been a little bit tough because learning JavaScript from scratch would take long, therefore jumping into a new language would naturally take time to get used to. However, now that I have done research not only on the characteristics, but also the constructs of JavaScript, it has allowed me to understand more of the syntax. In addition, Jordan B (18th birthday boy) and Matthew T has been helping me. For this part of the activity, my strengths were to quickly grasp the understanding of these simple interactive elements, but my weakness was me making small typo mistakes - which JavaScript cannot interpret. My inspiration has been Jordan B once again as he excels in scripting knowledge.

Ideas for JavaScript in Notepad++

Next, Zoë went through the remaining assignment two of unit 20 with us; this was the merit and distinction part. For the merit, we looked at different ways scripting languages can be used to improve functionality of a webpage and to the user. Zoë split up all of the functionalities and delegated one topic to a pair of two. I decided to work with Adam M and we were assigned to research about 'checking and validation'. Throughout this pair work, we discovered what it is, how it is used, how it is useful, its advantages and its disadvantages. In year 10 and 11 GCSE, I have done a bit on validation and this is greatly related to this piece of work, allowing me and Adam M to ace it completely - including the discussion in class. Returning to topic, checking and validating is essentially the method for when the user is prompted to fill out e.g. a form or search bar, the input the user gives are checked and validated against the database (generally server). To sum up the advantages, it is convenient and allows more accurate retrieval of information from e.g. customer data. On the other hand, the disadvantages would merely be client-side risks such as security issues. As time passed, we all made notes on a table and would need to go in depth when we write about this in our assignment two.

Before we had lunch, Zoë went through the distinction criteria of the task. This is when we need to understand that not all browsers support client-side languages as different browsers would have different versions, ultimately leading to some being supported and some being incompatible. A famous example would be the terribly used Internet Explorer (bless). With independent research, I was able to highlight out the negative impacts of using browser detection and the benefits of using object detections. The two terminologies mentioned above are both methods used in order to solve the issue of some browsers unable to interpret scripts. Although browser detection is useful, it is a poor way of ruling out which browser is to be displayed and which isn't as newer browsers are always developed and smaller obscure ones are on the roll. On the other hand, each browsers contain specific objects and these objects can be used to help identify if the scripts are compatible for read. The latter is the beneficial one which I will expand on in my assignment, due in for Wednesday.

After lunch, I have spent the time independently working on the assignment casually. I managed to complete and proof read the characteristics of a scripting language (JavaScript) and have even provided explained examples. In addition, just to throw it out there I also did some matrix calculations at home last night.

My personal goals for the weekend are to work my way throughout the assignment and get to a good position that I can continue on Monday onwards. I have to also start working hard on my art as time flies! Anyway, see you on Mondeh.

No comments:

Post a Comment