Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 2:51 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: A couple tech blogs and articles on Javascript methods
PostPosted: May 23rd, 2008, 1:05 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
For me, getting comfortable with opus scripting to do Something :? --- is a long process of learning. Not super-long, but long in the sense there is always more to learn and discover.

(of course that's true of Opus in general... even without Scripting, there is a lot of power in standard triggers & actions... and finding what is possible is also a continuing process)

For those who go beyond the ground-floor and the mezzanine with Opus Scripts, you may find these pages interesting and helpful. The first one led me to the next 3.

http://blogs.sun.com/sundararajan/entry ... and_jython

and from there:
http://www.crockford.com/javascript/private.html
http://www.litotes.demon.co.uk/js_info/ ... tatic.html
http://blogs.sun.com/sundararajan/entry ... javascript

(My understanding is: that Opus Script is based on ECMA262, but has some extras. JavaScript and ECMA262 have common foundations, but also some departures from one another.)
If nothing else, I find the above links fill-in some explanation for some terminology discussed here from time to time.



larry

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject:
PostPosted: May 23rd, 2008, 2:10 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
OOP is great fun and very powerful.

Those articles tend to deal with new versions of JS and not everything will work exactly the same way in OpusScript.

One thing to remember is that unlike new JS you need to create a least one object of class before you can use the prototype object to define methods, etc.

However, from what I read, everything in them is possible with OpusScript.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: May 23rd, 2008, 4:07 pm 
Offline

Joined: April 8th, 2008, 8:37 pm
Posts: 7
Location: Edinburgh, Scotland
Thank you for posting these links Larry :)

Dave

_________________
Opus Pro 6 (Eval copy), Windows XP Home SP2, 1GHz Mobile AMD Athlon 4, 40GB HD, 512Mb RAM


Top
 Profile  
 
 Post subject:
PostPosted: May 23rd, 2008, 10:08 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Thanks Mack, ("prototype" was something I didn't understand, and one of the things that set me off to searching. :lol: )
Dave, since you liked those I pulled these from my bookmarks (under Category 'read future -- after I know more first' )

NOTE: It is VERY possible the following cannot work in Opus, do not apply to Opus script. The articles may assist understanding (as for me), or may spur ideas of things to try. Also, even if I get something to work today, if it's not 'official' in Opus it may not work next month.

Object Array in ECMAScript 262
http://phrogz.net/ObjJob/object.asp?id=314

Methods in ECMAScript 262
http://phrogz.net/ObjJob/methods.asp (more commands, but 'unsupported' in Opusscript?)

A long awaited Prototype cheat sheet
http://thinkweb2.com/projects/prototype/
Quote:
[Edit]the above link simply goes to the recent/current Blogs... so either Nav back to this date, or search that domain for this phrase: January 22nd, 2008 by kangax


(this one is really 'out there' --- I'd be curious to learn if anyone finds anything applicable or useful here)
Custom events are not "click" and "scroll" and "changed", but are the truly custom events you define for your own application
http://www.truerwords.net/articles/web- ... _the_facts


All of the above come under that caveat: "I am traveling to Portugal, but am reading up on Algiers, Kazakhstan, and Borneo anyway"
:roll:

_________________
_good things come to those who wait(0)_


Last edited by Lar_123 on April 9th, 2009, 10:22 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: May 26th, 2008, 6:10 pm 
Offline

Joined: April 8th, 2008, 8:37 pm
Posts: 7
Location: Edinburgh, Scotland
It's terrific to have you point out these additional resources, so thank you for passing on the information. Anything that helps to demystify (for me at least) scripting in Opus is very beneficial.

Particularly appreciate the caveat :D

Best regards Larry,
Dave

_________________
Opus Pro 6 (Eval copy), Windows XP Home SP2, 1GHz Mobile AMD Athlon 4, 40GB HD, 512Mb RAM


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group