Object-Oriented JavaScript Developer Opportunity - Portland, OR

74 views
Skip to first unread message

Jeff Weintraub

unread,
Jun 26, 2012, 4:52:22 PM6/26/12
to pd...@googlegroups.com

My Portland, OR client has an immediate need for JavaScript Developer

Do you use JavaScript as an object-oriented programming language for complex tasks?

Have you used the prototype object?  What did you use it for?

If you are still reading… let’s talk!

 

Any experience with the following is a plus:

RESTful services, AJAX

JavaScript Patterns

Asynchronous development

Event driven architectures

Underscore.js

Backbone.js

Node.js

 

Please email me ASAP... je...@mbg.com

cancelbubble

unread,
Jun 29, 2012, 12:41:56 AM6/29/12
to pd...@googlegroups.com
var extend = function(subClass, superClass) {
   
var F = function() {};
    F
.prototype = superClass.prototype;
    subClass
.prototype = new F();
    subClass
.prototype.constructor = subClass;
   
    subClass
.superclass = superClass.prototype;
   
if (superClass.prototype.constructor === Object.prototype.constructor) {
        superClass
.prototype.constructor = superClass;
   
}
};

var Person = function(name) {
   
this.name = name;
};
Person.prototype = {
    getName
: function() {
       
return this.name;
   
}
};

var Idiot = function(name, gracias) {
   
Idiot.superclass.constructor.call(this, name);
   
this.gracias = gracias;
};
extend
(Idiot, Person);

Idiot.prototype = {
    drinkYourOvaltine
: [74,117,115,116,32,119,111,110,100,101,114,105,110,103,32,105,102,32,97,32,116,101,99,104,110,105,99,97,108,32,114,101,99,114,117,105,116,101,114,32,105,115,32,116,101,99,104,110,105,99,97,108,44,32,116,104,111,117,103,104,32,73,39,109,32,110,111,116,32,104,111,108,100,105,110,103,32,109,121,32,98,114,101,97,116,104,46,46,46,109,97,116,116,104,105,99,107,101,114,115,111,110,64,104,111,116,109,97,105,108,46,99,111,109 ],
   
    secretCircle
: function() {
       
var out = this.drinkYourOvaltine.map(function(value) {
           
return String.fromCharCode(value);
       
});
       
       
return out.join('');
   
},
   
    makeContact
: function() {
       
var name = Idiot.superclass.getName.call(this);
       
return name + ', ' + this.secretCircle() + '. ' +  this.gracias;
   
}
};

var person    = new Person('Hola'),
    idiot    
= new Idiot('Hello', 'Thank you');

console
.log(idiot.makeContact());


Ben Munat

unread,
Jun 29, 2012, 3:36:48 AM6/29/12
to pd...@googlegroups.com
+1

On 6/28/12 9:41 PM, cancelbubble wrote:
> |
> varextend =function(subClass,superClass){
> varF =function(){};
> F.prototype =superClass.prototype;
> subClass.prototype =newF();
> subClass.prototype.constructor =subClass;
>
> subClass.superclass =superClass.prototype;
> if(superClass.prototype.constructor ===Object.prototype.constructor){
> superClass.prototype.constructor =superClass;
> }
> };
>
> varPerson=function(name){
> this.name =name;
> };
> Person.prototype ={
> getName:function(){
> returnthis.name;
> }
> };
>
> varIdiot=function(name,gracias){
> Idiot.superclass.constructor.call(this,name);
> this.gracias =gracias;
> };
> extend(Idiot,Person);
>
> Idiot.prototype ={
>
> drinkYourOvaltine:[74,117,115,116,32,119,111,110,100,101,114,105,110,103,32,105,102,32,97,32,116,101,99,104,110,105,99,97,108,32,114,101,99,114,117,105,116,101,114,32,105,115,32,116,101,99,104,110,105,99,97,108,44,32,116,104,111,117,103,104,32,73,39,109,32,110,111,116,32,104,111,108,100,105,110,103,32,109,121,32,98,114,101,97,116,104,46,46,46,109,97,116,116,104,105,99,107,101,114,115,111,110,64,104,111,116,109,97,105,108,46,99,111,109],
>
> secretCircle:function(){
> varout=this.drinkYourOvaltine.map(function(value){
> returnString.fromCharCode(value);
> });
>
> returnout.join('');
> },
>
> makeContact:function(){
> varname =Idiot.superclass.getName.call(this);
> returnname +', '+this.secretCircle()+'. '+this.gracias;
> }
> };
>
> varperson =newPerson('Hola'),
> idiot =newIdiot('Hello','Thank you');
>
> console.log(idiot.makeContact());
>
> |
>
> --
> You received this message because you are subscribed to the Google
> Groups "Portland JavaScript Admirers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pdxjs/-/kFZmwUfuVxMJ.
> To post to this group, send email to pd...@googlegroups.com.
> To unsubscribe from this group, send email to
> pdxjs+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pdxjs?hl=en.

Corey Hunt

unread,
Jun 29, 2012, 10:40:08 AM6/29/12
to pd...@googlegroups.com
That's awesome.

Marty Nelson

unread,
Jun 30, 2012, 11:20:23 AM6/30/12
to pd...@googlegroups.com

He might have a chance, IE has dev tools too.  ;)

Nathan Young

unread,
Jul 25, 2012, 5:43:27 PM7/25/12
to pd...@googlegroups.com
Hey are you seriously looking for work?  I think I'm going to have a slot on my team soon, I can give you the details if you are even remotely interested and we can go from there...

----->Nathan

On Thu, Jun 28, 2012 at 9:41 PM, cancelbubble <cancel...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Portland JavaScript Admirers" group.

cancelbubble

unread,
Jul 25, 2012, 7:18:45 PM7/25/12
to pd...@googlegroups.com, nat...@ncyoung.com
Hey Nathan,

I'm currently employed but I'm always open to new opportunities that might take my career up a notch (I'm a front-end developer, BTW).  However, like my code illustrates, I'm a JavaScript idiot.  Really, I am, don't be fooled by some simple inheritance and a smart ass response to a drive-by recruiter posting.  I'd love to bump up my game by working with AMAZING JavaScript devs, though.  I've been fortunate to work with some in the past and that's where you really learn - it's definitely a challenge coming from a non-CS background.

I'm convinced JavaScript is the future, so I'm sticking with it - plus, I'm too stupid to give up :)

Matt
Reply all
Reply to author
Forward
0 new messages