Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 544453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:39:24+00:00 2026-05-13T10:39:24+00:00

I am a developer for sometime now, and for the past few years I

  • 0

I am a developer for sometime now, and for the past few years I am using prototype framework and it’s implementation for OOP, to be used in Javascript. I’ve used jquery and some other frameworks as well.

I ‘ve been studying how js works and how differs from OOP, as it is a prototype oriented language. In my opinion is in fact a great concept, the prototype oriented language.

Given the right attention to:

– it was how the language was meant to be used, and so therefore is faster, more productive and theoretically, simpler and smoother.
– Every browser has its own implementation for how javascript is supposed to work, making sometimes impossible for having a concise code work in all browsers, or at least the majority.
– Usually those OOP frameworks (dojo.declare(), Js.Class, MooTools, etc) are more than suitable to make a nice work, and they are cross-browsers.

I can’t help but wonder, is it worth to start making RIA’s using javascript prototype oriented? Or Should I go for Dojo.declare(), js.class or some similar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:39:24+00:00Added an answer on May 13, 2026 at 10:39 am

    I don’t think you must forfeit OOP when you program in JS; I suggest you embrace OOP!

    • I prefer the ExtJS library which provides classes, encourages subclassing, and provides a very nice example of a well-defined class hierarchy.
    • Douglas Crockford provides examples of making member data and member functions private (no protected).
    • Many people use JavaScript’s prototype as a vehicle to implement inheritence; again see Douglas Crockford.
    • Polymorphism is easy as JS is not strongly typed.

    Also, many of the popular JavaScript libraries abstract browser differences from the developer; you will likely find few “ifs” in your code to compensate for differences in browsers should you choose to use a JS library.

    Finally, here are some other good resources from SO.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been a web developer for some time now using ASP.NET and C#,
I've been a web developer for quite some time, and I am used to
Hello I've been a Rails developer on Windows for quite some time now, but
We're using some C library in our Java project. Several years ago some other
I've been using Aptana for some time now, and as of recent I've been
I'm using VS 2008 Developer Edition and am finding some bugs with the Test
I've been a web developer for some time now, and have recently started learning
for some time now, my developer console overview shows a small box named Merchant
I'm been a PHP developer for quite some time now but until today I've
I have been using git for some time now, and i like it, however,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.