On Wed, 12 Nov 2014 09:13:43 -0200, Paul Stanton <pa...@mapshed.com.au> wrote:

Hi,

Hi!

so like many developers (i'm guessing) I'm not quite up to speed with all these new javascript frameworks: requirejs, closure, etc etc

Require.js is actually used by Tapestry 5.4. I'm not sure what you mean by Closure (the JavaScript concept or some JS framework?) nor the etc part. If you want to learn about Require.js, read its documentation. :)

and to be honest I really didn't see a problem with the namespace model of the past.

It didn't work well (or at all) when, in a zone update, the response has JavaScript to be invoked. That's only one reason.

I'm not open to learning but it seems like a paradigm far removed from what i'm used to. it doesn't seem object oriented at all for example.

Yes, it is object-oriented, specially because it doesn't leak variables and functions from one piece of code to another, placing

that aside, can someone please point me (and other readers) to some basic examples to get us started in this brave new world. the first thing I would like to achieve is to be able to call some page or component specific marshalling code with page/component context parameters.

What has your question has to do with Require.js and namespaces? I can't see, I'm sorry.

What do you mean by marshalling? Don't you know that, for JavaScript to page or component communication in Tapestry, you're much better off using query parameters than the context?

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to