View Single Post
Old 29-06-2004, 07:48   #7 (permalink)
Datapunter
Pro Punter
 
Datapunter's Avatar
 
Join Date: 23 Oct 2003
Location: Westdorpe
Age: 43
Posts: 5,530
Default Re: Lesson 1 - Designing your application

Short answer : Yes

But there are 2 levels to Javascript. Javascript is a programming language that runs inside a website. In most cases you can see the Javascript code on the webpage and yes you could parse that just like HTML. After all its just a series of characters forming words and lines.

The second level however is what the Javascript parts do once a website is accessed by a user. This you obvioulsly cannot parse because it is different for each user and each session.

You could parse the Javascript code, and i would say decode not parse, what it actually does. After all Javascript is bound to a set of fixed rules and can therefore be de-coded. In theory that is, i have not done this yet.

It's my impression, i could be wrong, that this would involve an enormous amount of work. The question then is : is it still worth it ? I would tend to look for alternatives and only go into de-coding Javascript if there is no other option.

I think there may be another dimension to your question. Maybe if you have an example i can make it more clear and specific.
Datapunter is offline