I only thought of this last night, but the little project I am doing
for a 48 hour game jam is kinda OO based, although with very shallow
dependency graphs (so no useful DI patterns there), and with a bit of
inheritance of a sort (not sure if underscore extend really counts,
but it is generally all I need)

Some of the project would better suit a data oriented approach, and I
would usually not have classes for each entity, but this code is meant
to be understood by the mostly non-coding partner in my team so I have
favoured very explicit and obvious code when writing it.

Oh, and because it is a 48 hour game jam, quality is obviously not a
big goal, nonetheless there might be things of use in it to a JS
newbie

Http://GitHub.com/robashton/molyhole



On 30 Mar 2012, at 13:46, Phoscur <[email protected]> wrote:

> JavaScript is objectoriented and functional, node and its API are mostly 
> functional. For a simple project, you wont need OOP at all (that would be 
> development overhead). When you have a complex business logic and want 
> expandability, for that part it might be a good idea to chose an 
> objectoriented approach.
>
> Am 29.03.2012 11:53, schrieb Chirag A:
>> can anyone pls suggest a NodeJS sample application which implements or uses 
>> OOP fundamentals.
>>
>> Thank You
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to