Re: [JSMentors] New Blog, appreciate feedback

2011-04-06 Thread Fran
Like it, This is the kind of articles I love reading and learn from. Good job Nathan, and please keep on publishing articles like this one. Subscribed it. On 06/04/11 01:03, nathanJsweet wrote: I wouldn't normally try to use this mailing list to shamelessly promote something, but I'm doing

Re: [JSMentors] Is Client-Side MVC Architecture overkill for a web project?

2011-04-01 Thread Fran
Good article Peter, just read it. Quite clear explanation, it has actually given me new ideas to apply to my own projects. Good job. . On 01/04/11 07:26, Peter Michaux wrote: On Sat, Mar 26, 2011 at 11:58 AM, cihat altuntas cihat.altun...@gmail.com wrote: What do you tkink about developing

[JSMentors] Extending or wrapping APIs ?

2011-02-17 Thread Fran
Hi guys, I sometimes run into this doubt when I have to use someone else classes or API. Let's see this example: /* API or Class: */ var SomeOneElseClass = function (args) {/*...*/}; SomeOneElseClass.prototype = { doSomething : function () {/*...*/}, doSomethingElse : function ()

Re: [JSMentors] Extending or wrapping APIs ?

2011-02-17 Thread Fran
is a Vehicle Object so Car should extend Vehicle (extending). But if Car contains a Vehicle (wrapping), what does it mean ? Your code will be harder to understand if your architecture is performance-oriented and not logic-oriented... Regards. On Thu, Feb 17, 2011 at 13:27, Fran m...@fran.ie

Re: [JSMentors] Lua in browser as an alternative to JavaScript

2011-02-11 Thread Fran
CoffeeScript, and that's it, forget about browsers running other script language. Just for the record, I'd really love to have other alternatives to JS Fran On 11/02/11 16:19, Chris Heilmann wrote: On 11/02/2011 15:18, Adrian Olaru wrote: Right now, JavaScript is the way to go. My opinion

Re: [JSMentors] Re: $('body') vs $(document) in Pub/Sub pattern

2011-02-07 Thread Fran
*/ $(MyClass.prototype).bind({ myevent : function (e, params) { // e.target: MyClass instance } }); On 07/02/11 10:45, MRoderick wrote: Hi Fran It would be great if you could share your results here. I am sure that others would benefit from your findings, and opinions on why you

Re: [JSMentors] Re: $('body') vs $(document) in Pub/Sub pattern

2011-02-04 Thread Fran
Looks great MRoderick, light and much quicker than jQuery... I'm doing some test with it. Thanks On 04/02/11 10:03, MRoderick wrote: Hi Fran shameless-self-promotion You could go for completely independent PubSub implementatations as well, I wrote one: https://github.com/mroderick/PubSubJS

[JSMentors] $('body') vs $(document) in Pub/Sub pattern

2011-02-03 Thread Fran
Hi guys, I know this is more jQuery related question and perhaps it'd be better to ask in its forum but I'll drop it in case some jQuery experts in this group could answer it. Is there any reason why I should be using $(document).bind/trigger over $('body').bind/trigger (or the other way

Re: [JSMentors] $('body') vs $(document) in Pub/Sub pattern

2011-02-03 Thread Fran
global namespaced object This probably makes more sense to your app than bouncing events off the dom anyway. -Original Message- From: jsmentors@googlegroups.com [mailto:jsmentors@googlegroups.com] On Behalf Of Fran Sent: Thursday, February 03, 2011 10:07 AM To: jsmentors

Re: [JSMentors] JavaScript must die

2011-01-31 Thread Fran
I think you're mistaking Javascript issues for browser issues... The language is not to blame. Let's put it in this way: Javascript is a powerful language that requires more protection from the browser point of view. So it's not the language the one that must be killed but the browser... or

Re: [JSMentors] Issue debugging and error that is being caught somewhere

2011-01-24 Thread Fran
How come I didn't see this option ?, thanks Matthias, this could help me to track down the error... I'll check it out. Thanks On 24/01/11 12:15, Matthias Reuter wrote: I was wondering, is there any way I can find out about the latest error even though this one was caught by a try/catch block,

Re: [JSMentors] Issue debugging and error that is being caught somewhere

2011-01-24 Thread Fran
Hi Gary, I tried that, but it doesn't seem to be fired window.onerror = function (e) { alert(e); } try { throw 'Testing; } catch (e) {} This doesn't seem to work. Thanks. On 24/01/11 12:31, Gary Katsevman wrote: I believe that the window.onerror event is still fired (correct me if

Re: [JSMentors] JS API Design - Accepting Parameters

2011-01-13 Thread Fran
arguments object. I think everything is up to you, don't think it's really important. Fran On 13/01/11 16:37, Arlo wrote: I am developing a JS API for my employer and I constantly ask myself how I should accept params into my methods. So I figured I would ask the professionals. Here is my

[JSMentors] Coffee-script

2010-12-15 Thread Fran
-code language ?, can anyone who knows about it spare some thoughts ? Thanks a lot. Fran -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com