• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

Dumbest question ever...

wolfman544

Servant of the Secret Fire.
Dec 14, 2006
12,662
2,218
PA
Visit site
✟37,619.00
Faith
Non-Denom
Marital Status
Married
Politics
US-Others
I am considering creating a new website, but I don't even know where to start. I want to design it myself and I don't mind a little... or a lot of hard work to do so. I am ready to roll up my sleeves and work to do it if I really decide that I want to go for it, but I need some help getting it figured out in the first place.
not the dumbest question ever. You're not calling tech support asking why your comp isn't working in a blackout. :)

What type of website are you wanting to make?
 
Upvote 0

wolfman544

Servant of the Secret Fire.
Dec 14, 2006
12,662
2,218
PA
Visit site
✟37,619.00
Faith
Non-Denom
Marital Status
Married
Politics
US-Others
I want to make a networking site for missionaries.
That sounds like a great site to make.
I can't say I've done a site like that before though, so I don't know how much help I can be.
 
Upvote 0

jwu

Senior Member
Sep 18, 2004
1,314
66
43
✟24,329.00
Faith
Unitarian
Marital Status
Single
I want to make a networking site for missionaries.
You have a ton of work ahead then. You need not only a website, but also an underlying database. That's a lot of things to learn...

However, i'm looking into the programming language Ruby right now, and there is quite a trendy web development framework for it, called "Ruby on Rails".


Perhaps we could cooperate...you'll get help with coding, and i have a motivation (other than mere curiosity) to take a closer look into this framework. That'd be a win-win.
 
Upvote 0
B

BellaSong

Guest
You have a ton of work ahead then. You need not only a website, but also an underlying database. That's a lot of things to learn...

However, i'm looking into the programming language Ruby right now, and there is quite a trendy web development framework for it, called "Ruby on Rails".


Perhaps we could cooperate...you'll get help with coding, and i have a motivation (other than mere curiosity) to take a closer look into this framework. That'd be a win-win.
I'm up for that! I honestly don't know where to start though.
 
Upvote 0

jwu

Senior Member
Sep 18, 2004
1,314
66
43
✟24,329.00
Faith
Unitarian
Marital Status
Single
Upvote 0

wolfman544

Servant of the Secret Fire.
Dec 14, 2006
12,662
2,218
PA
Visit site
✟37,619.00
Faith
Non-Denom
Marital Status
Married
Politics
US-Others
You have a ton of work ahead then. You need not only a website, but also an underlying database. That's a lot of things to learn...

However, i'm looking into the programming language Ruby right now, and there is quite a trendy web development framework for it, called "Ruby on Rails".


Perhaps we could cooperate...you'll get help with coding, and i have a motivation (other than mere curiosity) to take a closer look into this framework. That'd be a win-win.
Ruby could work, I have heard that it's pretty good
Uhoh
Perhaps some basic html knowledge would be a good start. It helps to estimate what you're actually up to - and it's always a good thing to know some html.

This seems to be a pretty good tutorial for a few very simply sample pages:
http://www.w3schools.com/html/html_intro.asp
I was going to suggest going there for tutorials :(
 
Upvote 0

jwu

Senior Member
Sep 18, 2004
1,314
66
43
✟24,329.00
Faith
Unitarian
Marital Status
Single
Ruby could work, I have heard that it's pretty good
It is...until i started with Ruby a short while ago, i was exclusively a java developer. Learning Ruby was the best thing i've done in quite a while; it is just so much more elegant and efficient.

From java-guy's perspective many of ruby's features are simply freaky, but in a good way. While getting into it with some tutorials i kept thinking, "are they serious? this really works?"
I just couldn't believe that all those things that required lots of lines of code in java could be done as efficiently as i just saw them, as i was used to doing them the java way.


This is a really good ebook:
http://ruby-doc.org/docs/ProgrammingRuby/html/index.html

E.g. it makes a lot of use of passing code blocks to methods, not unlike function pointers or algorithms that are encapsulated in anonymous inner classes. It feels strange to make excessive use of such features, but they simply make sense and are easy to use in ruby.

Iterations are similar...in java, one needs lots of control statements to declare an iterator or a "for" loop in order to run a code block against each element of an array or a collection. In ruby, you just pass the code that is supposed to be applied to each element as a parameter to a method of the array - with no risk of the "error of one" and so on.

It's similar with executing a piece of code n times - integers have a method that accepts a code block.
example:

5.times{|i| puts i}

The object "5" (declared and initialized automatically, right on the spot) has the method "times" which accepts the code block in parenthesis and calls it as many times as its own value. The count of the calls is passed to the code block as the parameter "i".

The java counterpart would be much sluggier:
for (int i=1;i<=5;i++{
system.out.println(i);
}

Another cool thing is the treatment of series of objects. E.g. [4..8] is a valid declaration of an array containing the values of 4 up to 8. But i can't only do this with native types, but also any of my own classes, if they define the methods "compare" and "succ"...e.g. this:

a=[MyClass.new(4)..MyClass.new(8)]
a.each{|item| puts item.toString}

"Each" is a method of arrays and collections which accepts a code block that is applied to each item in the array, declared to be called "item" in the code block. The java counterpart (assuming that it is important that all the objects have to be created before being written to system.out):

MyClass[] a=new MyClass[5];
for(int i=0;i<=5;i++){
a=new MyClass(i+4);
}
for(int i=0;i<=5;i++){
system.out.println(a.toString());
}

As you see, this is very prone to that famous "error of one" and an indexOutOfBoundsException in case of the array, as the constructor parameters and the array indices are shifted by four and there are five entries in total, not four (8-4=4)...ruby effectively avoids both problems and gets straight to the point, it does not clutter the code with needless flow control syntax.

Yet another cool feature is metaprogramming. Setters and getters are declared in a single line:
"attr_accessor :myField"

This declares a field "myField" and automatically generates setters and getters. So far, so good...the cool thing is, the setters and getters are called just like a direct access to the field. The bold parts in getMyField() andsetMyField() are redundant (because there is no other generally acceptable way to access a field) and therefore left out, they just cost keystrokes. Instead, the field can be accessed as if it were public, but these are actually calls to accessor methods:
a=myObject.myField
myObject.myField=b <-- this is a valid method call syntax, not a direct assigmnent!


This means that one can change direct assignments to a setter call by simply defining the setter, without requiring to change all direct assignments of that field to the method call syntax of a setter method...
 
Upvote 0

TwistTim

Whimsical, Witty, Wacky, Waiting, Wise Guy
Jan 27, 2007
3,667
618
44
Ork
✟30,154.00
Faith
Calvinist
Marital Status
Private
Politics
US-Constitution
here I was expecting something like "How do I turn my computer on?"
or "how do I get to the internet?" or "what does a forum look like?"
maybe even the more classical "isn't two and two twenty seven for very large instances of two?"
or maybe "What is the sound of one hand clapping in a forest when no one cares about the trees?"

but this isn't the dumbest question ever.... and good luck with this...
 
Upvote 0

APY

Well-Known Member
Aug 14, 2006
6,748
108
✟30,136.00
Faith
Methodist
Marital Status
Private
So how in the world do I even get started with this whole thing?
Well, you need a web host..... Do you want a host that's free? They are usualy picky though....... If so there are few that are truely free. There's "free" (no money, but ads put on your site) at, say, someplace like freewebs. Then there's free, like webng. Then you could get a group domain name, and web host offer at someplace like yahoo.
 
Upvote 0