What languages do I need for this?

Status
Not open for further replies.

projectv3

New member
Mar 6, 2007
506
2
0
Just throwing it out there...

What languages would I need to know/learn if I wanted to setup widget based site like wordpress (but from scratch), where a user signs in like a wordpress account but has control over the widgets (drag-drop, custom codes, etc.) like wordpress but lacks everything else in a sense of a blog that wordpress does.

I hope that makes sense.

A list of features I'd like to learn to code for would be:
- membership (or is there an easier way to approach this)
- widgets

any feedback would be awesome :)
 


Any server-side programming language, and probably a bit of JavaScript. And of course, HTML/CSS.
 
Ruby on Rails doesn't really teach you how to program, but it can get you online a lot faster than learning PHP without any programming background.

If you want to learn to program your own shit, learn PHP. So much shit is done in PHP it's ridiculous.
 
Learn to read more carefully. I said "Ruby on Rails."

My mistake I assumed when you replied talking about ruby on rails right after my post you were replying to me and I was talking about ruby itself.

That said to develop with Ruby on rails you still have to learn to program unless your site is made of scaffolding.
 
My mistake I assumed when you replied talking about ruby on rails right after my post you were replying to me and I was talking about ruby itself.

That said to develop with Ruby on rails you still have to learn to program unless your site is made of scaffolding.
I've never developed with Ruby on Rails, although I have read some of the tutorials just to get a feel for it. It really distances you from the programming side, and I've read a lot of comments from people who started with RoR and then regretted it when their site grew too big and required a lot of customization down the road.

But really, it depends on your needs, like most things. For many people, RoR works great, and that's cool.

I personally liked the fact that there were so many free apps and tools that used PHP (look at all the forum software and portals and other free and commercial apps that use PHP) so that's why I chose to focus on it.
 
Ruby on Rails is excellent for most sites. Rails in a framework written with (or you can say "on" or "in") Ruby. Technically, you don't HAVE to know Ruby to code in Ruby on Rails, but that's like saying you don't have to know BASIC to code in Visual Basic..

It doesn't matter what you learn to code in. You just have to get the programming mentality into your head; The way programs work.

Almost all negative accounts of Ruby on Rails are from people who tried to port their legacy databases to Rails by hacking Rails' conventions to suit their old DB. For porting, I recommend just using PHP or anything else. Rails is great if you're starting from scratch and you don't break the Rails conventions (names of variables matter for instance).

The reason Rails has gotten such a good rep is, like stated above.. "It really distances you from the programming side." This is great because you don't have to re-invent the wheel. Everything you would need to build a Wiki, forum, social networking site, HotOrNot or what-have-you is already included. With PHP you'd have to develop all these things yourself from the ground up. This is due to architecture Rails uses, MVC.

This is the future. Ruby might not be everybody's language of choice (but it's so damn good), but you can still code using the MVC architecture in other languages. Django for Python, PHP-WAX, Grails (Groovy/Java), etc...

In practice, what MVC + all of Rails' functionality allow you to do is focus on designing the site, rather then coding stuff that get you up to the point where you can implement what you've designed. For example, I was writing a site like YouTube.. and I wanted to make a comments system, so I designed it on paper, took 15 mins to decide what fields go in the Comments database, and how it all relates to the logged in user and page being viewed.. and then after the design, I sat down to code it and I was literally done in 10 mins. Traditionally (say in PHP), I'd have to spend an hour coding functions to handle the database, I'd have to manually code in all the database relationships, (just an example, in practice you'd use 3rd party libs or your own old code) etc..

If you're coding websites from scratch, I suggest just picking up rails. I think every programmer should learn C or another low level programming language (even ASM) to really understand what goes on underneath all the layers of abstraction.
 
Status
Not open for further replies.