Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

A question for the developer of this website: in which programming language are this site's core functionalities made? (except of course html, css)

OpenStudy Feedback
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SEE EXPERT ANSWER

To see the expert answer you'll need to create a free account at Brainly

  • JA1
HTML/CSS are all client side, ao are you asking for the server side or client side?
  • JA1
so*
  • JA1
Anyways "core" I would guess means the server side, and so the server is made in Scala (Primary) MongoDB, and a couple more, back me up on this @thomaster I kinda forgot xD

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

The reason I'm asking this is that my school wants to implement something like openstudy for teacher-students aid or student-student mutual aid. Since openstudy has been around for quite a while, what's the best solution to handle server side management with today's technology?
  • JA1
I don't really get what you mean? What exactly are you trying to accomplish?
to make a website similar to openstudy (real time question + answer without refreshing page, level system, chat system)
  • JA1
You want it with all the bells and whistles or just the basic core functionality?
He just said only the questions and answering :P no smartscore or chat stuff
  • JA1
He said level system thom..... :P
smartscore = a level system :)
yea pretty much those 3 :P
but the real time interactive questoin + answer is the most important, that should be done above all :)
i'm somewhat experienced in programming, know javascript, mysql and python, but guess that's not enough?
  • JA1
Ok so you really don't have to go the same way OS went, if it makes it any easier your school could introduce a new system made out of something more manageable (another language) and they could build a new one that is a lot simpler
  • JA1
That's pretty close to enough
  • JA1
Let me get some admins on here, @Preetha @shadowfiend
which programming language would u guys suggest that does the best job? people say javascript is insecure and php is dislike by lots of people (i dunno why tho)
ok thanks :)
You should ask @dumbsearch2
  • JA1
Javascript, html, css, ajax, etc.. all these langauges are mainly Client Side, what you want is server side, for server you can use Python, Scala, CGI/PERL, ASP, DJango (frame for python) Cold Fusion, JAVA (arguably the most robust and powerful platform for server side, Other than that you can look around for others, but you might want to speak with the school IT about all this and see what he likes the best.
  • JA1
Oh and ASP is just a framework
OpenStudy used Scala (very similar to Java) for all it's server-sided stuff. They used the typical languages, JavaScript, HTML and CSS. Note that for a lot of the answering and posting stuff, it was done with the server, and linked together heavily utilizing AJAX.
  • JA1
Oh and ruby is also a good one
  • JA1
Honestly the list goes on forever, you need to find a language that suits your needs and your IT's needs
  • JA1
Everything else is minimal.
And the main reason why PHP is disliked is for only one reason: It is not that efficient. It is still used quite a bit, because it is quite easy to learn. Facebook finds a solution by being programmed in PHP, yet being compiled to C++.
And the way that you can answer and ask questions uses the server language, it connects to the server... and the Ajax allows the data to be dynamically loaded without any page refresh. Note that I'd prefer Sockets in this case, though for a small website this could be heavy handed. And PHP could still suit your needs quite well. It only gets slow for really big sites.
  • JA1
Don't you have a a very basic and stripped down version of OS for emergencies? Maybe you could help him get something like that for his school.
Hmm. I made it in PHP.
  • JA1
Well something like that would be good for him, hos school want's a basic functioning website so that's good, and it could also be more like an intranet, you know like only local to the school so they can house the servers there, although I would like to ask, what school is it? I need to know so I can see what type of system they have, I know for my county it's all tied together with the counties servers.Like this http://www.polk-fl.net/
  • JA1
The county manages everything, if they go down all of Polk county schools interent goes down, that's how it works in florida, the county is the manager.
it's a private highschool in montreal, Canada, Brebeuf College. So school manages it itself :)
I put up some details of the technology OpenStudy uses at http://openstudy.com/updates/4f41c098e4b0803c6353192f a while back.
  • JA1
I knew shadowfiend would listen to the cry of distress ^,^
Haha Yes, OpenStudy also uses the Lift framework.
PHP's downside is generally not considered to be its speed, though that can contribute. It's considered to be a somewhat convoluted language that implements certain language features that make it more difficult to reason about the program in a safe way, and more difficult to create maintainable programs.
  • JA1
I was actually toying around the source files right when this came up xD
@shadowfiend Efficiency is a large factor I've heard. Languages like Node.js can handle stuff a lot faster
You could make something similar using Python and the Twisted framework. There are probably better abstractions layered on it at this point. Personally, I don't think there's anything out there that really holds a candle to Lift for real-time application development at the moment. The concepts that Lift uses to express real-time applications (actors in general and comet actors in particular), once you understand them, are extremely powerful and extremely simple to reason about.
Efficiency and scalability are words that get thrown around a lot without most people really understanding what they mean. At the scale that @zscdragon is talking about, the difference would likely be negligible.
Lift's concepts as opposed to Node, which is still mostly either a mishmash of callbacks or abstraction layers that hide so much from you that you don't really know for sure when you start losing messages and such.
  • JA1
What about Python with DJango framework? I have seen some rather astonishing applications.
I've seen some solid apps with Django, but I don't know that there's any built-in support for real-time applications.
  • JA1
That website I sent you is all DJango with Python on server, I have seen it myself.
  • JA1
Here is the source, https://github.com/reverie/yourworldoftext
@shadowfiend One thing I know is that this site is extremely slow. It's over-reliant on AJAX or similar technologies. Have you tried switching this site to some socket.io based technologies?
A valuable lesson to learn is to never assume you know the reason something is slow.
Until you actually get in the code. 90% of the time, you're wrong.
AJAX has nothing to do with slowness on OpenStudy, congestion has everything to do with it.
And all of that happens in the backend.
  • JA1
That's actually very much true, you can't assume
Sockets have little serious benefit over long-poll comet requests.
I can show you all those scripts running unnecessarily fetching info at selected intervals.
  • JA1
But AJAX does present a problem with loading unnecessary things. It does probably have a factor to do with the client side beng slow and acting up while others are fine.
On larger scale websites, sockets do have a very large impact. I've seen it.
You're seeing long-poll requests, which are cheap to set up and return zero data when there is nothing to return.
And I did get into some of the client-side code.
  • JA1
Question, why was scala chosen when there are so many other languges that are uch more powerful, I mean Python and JAVA are very powerful platforms.
The client side is slow due to a large number of active components that are propagating changes that force more redraws and relayouts and such than are necessary for any given set of changes. We never really got around to optimizing that aspect of things. Here's some good discussion on long polls and sockets: https://groups.google.com/forum/#!searchin/liftweb/socket/liftweb/1fa3rolbnvI/enV5CFm2Rd4J .
There are no languages that are “much more powerful” than Scala. There are some languages that approach problems differently. Scala runs on a proven platform (the Java Virtual Machine) that has had hundreds of thousands of man-hours poured into its scalability and deployment stories.
  • JA1
I love this guy, he teaches us so much v.v
It also provided us a ridiculously high developer productivity, and large compile-time guarantees that reduced the need for separate testing.
  • JA1
Ah I see
That, and Lift is in Scala. It's got some of the best abstractions and approaches to web development I've seen since I started working on the web.
Despite being a programmer, thank you for debunking some long-time myths!
  • JA1
He is truly a yoda of OS
I also heard a lot of people saying how inefficient PHP is speed-wise... Something I didn't want to believe, being quite a programmer of it! Thanks for debunking these rumors :-)
Don't get me wrong, I'm not saying PHP isn't slower than many other languages. What I'm saying is there are many situations where that *just doesn't matter*.
Hmm. I noticed that too.
But don't you think that they'res a reason why Facebook has a framework for converting the PHP code to C++? I think it's very subtle. So your point is that it would only matter on a very large website.
I would also encourage you to move outside of PHP. Not because PHP is good or bad or better or worse, but because there are few things as useful to a programmer as the ability to move between languages.
Indeed.
Yes. Facebook was running 13 million queries per second in their backend sometime in 2010, and they've only grown since then. Their scale is ridiculous, and there are only a handful of sites out there that ever need to scale to that level. Twitter, by the way, uses Scala in their backend.
  • JA1
What about a DJango + Pusher type thing?
< shrug > That's a perfectly viable opportunity.
Er… Option heh.
@uri why don't you give @shadowfiend the medal? he deserves it! ;)
NO WAY! THE LEGEND! SHADOWFIEND!!!
  • JA1
But I do think OS is good as is, but there are just so many option out there, not to mention that we need some SERIOUS optimizing done to make it work smoother.
I humble at the feet of all of you :l *bows*
Some browsers have source inspection. Take a look at the source and see what programming language is utilized. Maybe that will help.
  • JA1
Um no, that's only client side @Dean.Shyy
  • JA1
The javascript, html, css, ajax type thing.
Lift actually leaves some traces in the client side, as well ;)
All right folks, that's it for me. Time to get back to work. Have a good one!
  • JA1
Yes I saw the lift files
I know, @shadowfiend I saw some JavaScript referencing to the Lift
  • JA1
Goodbye master *bows*
What about node.js? I'm quite a pro at JavaScript, and I'm wondering about node.js
as a server language
  • JA1
I hope your trip back to coding planet is smooth.
BTW @shadowfiend I never knew that Twitter was done with some Scala!!
  • JA1
It says on the scala page. thats how I found out lol
My opinion? Don't bother. There's nothing interesting about using node.js on the server, and if you get a job that requires you to use it you'll be able to learn it fast. Pick something more challenging. Clojure, Scala, something like that.
Whats wrong about node.js? It seems to work beautifully smooth
Python?
By the way @shadowfiend Why doesnt upenstudy update their mathjax and LaTeX version so we can use the full version?
  • JA1
Actually more like a django interface
BTW you seem to love Java-similar languages @shadowfiend ;)
  • JA1
Well JAVA is very powerful, no surprise he would use it since he is very knowledgeable on the best languages xD
@shadowfiend had actually shown me on another post the Lift-part of OpenStudy, and how I could use it as an API.
@JA1 I've heard Java being criticized for it's messy syntax. Dunno if it's another rumor.
That was enough to bring me back for a second—avoid Java at all costs. It's basically the lamest language out there. In my opinion :p Others disagree ;)
  • JA1
It's bloated yes, but it's a good option I don't like it myself but hey, it's out there xD
Really? But I've heard that Scala and Clojure seem similar to Java...
  • JA1
I love how he came back after that comment xD
Node is kind of boring, presents very little that is new to web development, and uses an approach to concurrency that is fundamentally confusing instead of making it clearer (strictly speaking, it isn't concurrency, but whatever).
  • JA1
I vety much like DJango frame with python, It just calls me for some reason :/
Hmm. It's trying to mix JavaScript and server, so its not really original aka worth learning ?
Both of those run on the Java virtual machine, but that doesn't mean they're like Java. Scala shares some superficial features with Java, but is a very very different language.
The only interesting thing, in my opinion, about Node, is the ability to run certain parts of your code identically on server and client.
Alright :)
  • JA1
Scala simply runs in the same environment as JAVA
Now I'm really out. Don't provoke me again :p
Thats why I was interesting shadow, though maybe I shouldn't try to adopt a language which I already know a lot of, and maybe I should just start something entirely different :)
Thank you @shadowfiend
  • JA1
Okay *stops all JAVA appraisal*
I wish you could be our admin again
  • JA1
I hope you never leave OS, you are the only hope we have :'(
He is an admin, just without coding.
  • JA1
He can still code.
But he doesn't for OpenStudy anymore.
Yes, but he no longer codes for openstudy. He has admin privs just doesnt work for OS
  • JA1
Yes but he has the access to do it, just he doens't work here anymore.
  • JA1
Forever will we miss you shadow, all we have now are supposed "admins" but I fear we have little to none xD
  • JA1
They are ghost admins lol right @dumbsearch2
"Access" yes. Technically a person who works at area 51 has indefinet access to the facilities as long as they dont give up information. Now, am I comparing @shadowfiend to someone who works at area 51 no. Nor, am i comparing Openstudy to area 51. We still have a great team of admins but the original's were still very much the best of the best.
The spelling in that sucked
Lol. What team of admins. List one new feature
Or fix
  • JA1
*indefinite
Is seems like the main problem is that the server is really slow thats why it takes so long to connect to it using the JavaScript code. NOW I'm wondering why doesn't OpenStudy get new servers
  • JA1
All we have are amazon techs and maybe a few (1-4) admins who just put bandaids on this website.
Does Chris still work on the site?
1-4 admins? Lol I guess 1
  • JA1
Spruge?
  • JA1
xD dum
  • JA1
sprauge*
Yes Ja. Does he?
The problem lies with the congestion with the servers Interesting!
  • JA1
Chris abandoned the ship a long time ago.
HMM
Exactly! Now if we could only get some blasted funding to the site to get larger better servers we could expand the site tremendously.
@zscdragon Please, never close this thread. This is historical. Lol.
man.. if only electrons move faster..
haha sure ;)
  • JA1
We need to write a letter to Bill Gates and have him fund us again.
  • JA1
  • JA1
lol
@.Sam. should delete this with an absolute disregard for all things historical simply out of the meanness in his heart...
da heq?
  • JA1
Actually, we should seriously write him, he is a philanthropist.
Lol he is also a masseuse
Anyways, now I won't have to go through the burden of going through all my PHP code for my social media site and convert it to node.js and sockets. Byebye! :) Off to programming!
@shadowfiend Works full time as a Masseuse...I know because it shows up in hidden places all over the site.
  • JA1
Honestly OS needs a revamp, forget the Hackathon, it's too small with not many coders, we need to start writing some letters, calling some numbers, and get some serious funding and get new admins, new servers, bring back the old admins and have them help out with the new site, then get some good collaboration from users and get new mods, new system, neew everyhting, we need to respark that candle that is long since turned off.
  • JA1
Who here agrees!
\(\sf\Large +1\)
  • JA1
But jokes aside, we really need something new, OS is dying, maybe not as fast as we think but it is dying. @Preetha
Yes. And we three programmers could help when necessary :)
  • JA1
*cough* I am not a programmer *cough*
  • JA1
But heck, I could learn in no time, the only reason I don't l know much programming is because I have no motivation to learn, but if we were to seriously make this new OS I would pitch in 140%
  • JA1
Scala is a relatively easy language, and besides, I got a couple of buddies that would help wonders here.
It is *not* easy, @JA1 But you're smart :) You could learn in like 2 months :)
But at least we're developing a mobile app. And the future is in mobile... http://openstudy.com/study#/updates/51d86b86e4b015ed74216169
@shadowfiend I'M A MASSEUSE
1 Attachment
Lol
  • JA1
PSSHTT you underestimate me dumb, I know nothing about programming, but I can learn any language in under one month, scala is a fancy JAVA nothing more.
  • JA1
I learned HTML/CSS in under a week but then again that's a grade school langauge lol
2 months is very short to *master* a language.
  • JA1
Obkect oriented is much harder
You learned every single CSS code in a week? Lol
  • JA1
Master is another concept, just the basics is what you need.
Depends
  • JA1
When using javascript you can't memorize everything, you simply apply a little bit to what you need.
Lol xD I know you could do it... Haha
Let's start soon.
  • JA1
But I need motivation ;-; @Preetha
I have to be heading out for some programming, so see you peoples :)
BULL! Not to be rude AT ALL, but there is no way under the sun to fully learn and flawlessly execute a coding language in under one week. ANY coding language. That is just as difficult as learning Japanese in a week and speaking it fluently.
  • JA1
If preetha goes down with this new funding and new OS thing then I will quickly join in.
damn u guys are such geniuses.. :S
aw, nah @zscdragon :]
  • JA1
HTML is a basic language and is not object oriented, very easy to learn in one week....
How old are you guys anyway.
HTML, yes, (if you work on it a lot), but CSS, NO.
  • JA1
CSS may take longer to "master" but HTML can be learned in days xD
@SnuggieLad Take a chill pill. Are you okay?
I was just asking...
  • JA1
this is easy dawg
  • JA1
oops h*
You don't know, snuggie? Let's turn that back to you. How old are YOU?
  • JA1
He is 17..
17
  • JA1
I have the memory of an elephant...
It took me a year to master PHP and JavaScript. This is, master. @JA1 BTW lets invent the tag haha
@SnuggieLad Why does it matter? Your question appears to be a direct result of wanting to be rude
  • JA1
xD that would be rad, and yes but javascript is a LONG langauge and there is much to learn.
You're going to break the record for longest post :P
  • JA1
@hartnn you are so chill xD
  • JA1
lol that's what happens but oh well, preetha get's the message of the whole revolution thing.
  • JA1
good we all chill now #sochill
  • uri
I'm deleting it. ":3
We'll all be chill then ;p
  • uri
<3
<3
  • JA1
WE STILL FIGHTING geezus
Forgive ok...Forget No. No, We are not fighting.
Not me.
  • uri
i didnt eevryone saw you were abusing are very respectable user @SnuggieLad not once,But like 10 times :3
  • uri
our*
Thank you Uri
  • JA1
xD uri
  • JA1
History < FUTURE
Forgiven as I said sean. But not forgotten.
  • uri
@dumbsearch2 https://si0.twimg.com/profile_images/2727748211/c3d0981ae770f926eedf4eda7505b006.jpeg
  • JA1
But if you forgave him no need to feel any resentment towards him.
  • JA1
lol uri
  • uri
I wish i could give snuggie the medal.
  • uri
but thomas gets it xD
Shadowfiend deserves the medal :) He is so intelligent!
  • uri
For you? for me thomas.
Thomaster is so smart too :)
This is getting awkward haha
  • uri
Intelligent,creative,smart,cute =thomaster.
yep :)
I agree, fully.
  • uri
Sarcasm ^ aye :P
No, not sarcasm.
He is really smart.
1 Attachment
  • uri
HAHA \(\Huge\color{red}{}\)
haha
  • JA1
Okay I am off guys, and uri be nice to dumbby and seriously no more arguing over such a mediocre topic.
Me too :) Bye all
  • JA1
tata~

Not the answer you are looking for?

Search for more explanations.

Ask your own question