Directed Activity 4: Programming (JavaScript) Steve Kenyon

mewstennisΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 3 χρόνια και 5 μήνες)

64 εμφανίσεις


Directed Activity 4: Programming (
JavaScript
)






Steve Kenyon


Affordances:

Jav
aScript

is
currently
the most popular client
-
side scripting language, supported by all the
major web browsers.

JavaScript may appeal to pupils as i
t
is versatile in that it can be
inserted into any
HTML
web page,
it

is
quick

to download with

no plu
gin download
requ
ired
before it runs (
like flash), it does not require any special tools to write it (just a plain text
editor) and it is not as complex to learn as a programming language.

Pupils may be
attracted

to experiment with it as

it is

an
excellent

solution

for

creating

dynamic effects such as
image
rollovers

and

when valid
ating input forms on the client
-
side.

Furthermore i
t is extensive in
that there are many
pre
-
written
fu
nctions freely available
on the web
,

meaning that
whether a
pupil

can programme

or not they can still use it if they
are directed

where to add
the code in their HTML page
s
.


Challenges:

However
,

JavaScript
’s major challen
ge is one of browser
compatibility

and
inconsistences

with display.

A pupil

must rely on the fact that the browser

they are using supports it.
Furthermore nor all browser
s support it to the same extent. It can also
be a very bloated
language in that many lines of code are often required
. This may put off some pupils and
even confuse

them
.

JavaScript is not simple to learn and may put off children
, however
learnin
g it alongside HTML may be a way

forward.