Quantcast

Forums | MacLife

You are not logged in.

#1 2005-06-01 12:27 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

So... Anyone else?


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#2 2005-06-01 12:36 am

registered_user
bulletproof
From: padding: zero-pixels;
Registered: 2000-12-19
Posts: 16026
Website

Re: So... Anyone else?

having no knowledge of Ruby on Rails, I'll probably skip it.  Though seeing what people do in a day might inspire me to learn something about it!

Offline

 

#3 2005-06-01 1:17 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

I have very little knowledge of it either.  I just got it up an running on my machine today.  But I have a couple of days to figure it out.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#4 2005-06-01 7:46 am

GUI
Chief Dolt
Royal Wombat
From: NC
Registered: 1999-06-08
Posts: 4828
Website

Re: So... Anyone else?

Ruby alone is the most kick ass language I've encountered. I haven't gotten into Rails yet, but Ruby makes me want to do kinky things to my computer.


Hard work may not kill you, but why take chances?

Offline

 

#5 2005-06-01 11:05 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

I am amazed how "intelligent" the lang is (rails).  Its impressive how much stuff you get for free.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#6 2005-06-03 3:15 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

Ok, I am sold.  RoR is the bomb. 

Built my first web app with it today.  Very little coding to build a robust tool.  (It was a chess score-board/tracking.)  Damn.  RoR has so much built in and it just handles all the common stuff.  It makes PHP look like Perl in comparison.

---

We have our app pretty planned out.  Figured out what each we are going to do and roughed out on paper.  We are ready to go.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#7 2005-06-03 10:03 am

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: So... Anyone else?

I've been curious about RoR for some time now. Now that I've read up a little more on it I'm very intruiged. My next question would be what is the hosting support for RoR like? And is it something to use for something like a content management system or is it more for a controlled internal environment?

Tell me! Tell me!

Offline

 

#8 2005-06-03 12:02 pm

zakatak
Member
From: Kalamazoo
Registered: 2004-08-05
Posts: 565

Re: So... Anyone else?

Gipetto wrote:

Tell me! Tell me!

Me too. big_smile

Although I'll probably look into it myself a little bit deeper later this summer...

but I am intrigued... anything that makes 'PHP look like Perl' is something that could likely [booming voice]take over the world[/booming voice] in not too long. Especially with the learning curve being as gracious as it appears to possibly be...

Offline

 

#9 2005-06-03 12:21 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

There are several hosts for ruby.  I believe it can be installed pretty easily on just about any box.  I don't beleive you need to recompile the os or anything, but I am not sure.  (It installs on a Mac very easily, ruby is already there.)

You can make a cms in just a few lines.  The frameworks handle all the common web app stuff. (and can be easily extened).  Basically you just create your table, tell rails to generate a controller and you are almost done.  The controller interface by default displays the data, allows you add new records, delete and edit.  You don't write any sql queries.  You just define the data relationships.  It is damn fine.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#10 2005-06-03 12:27 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

The syntax is different.  No semicolons, no curly braces (at least for control structures)  no $ for strings.

Also conceptually you work on a higher level.  You deal with how the data relates rather than building queries and loops.  For example in the first app that we built, the match (the results of chess games)  You just define the model like this:

Code:

class Match < ActiveRecord::Base
    has_and_belongs_to_many :players
    belongs_to :winner, :foreign_key => "winner_id", :class_name => "Player"
end

So cool.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#11 2005-06-03 2:21 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: So... Anyone else?

Not to be a pest, but from there how does it tie into a front end? Do you define templates in html? would you still use a template engine like Smarty?

Offline

 

#12 2005-06-03 2:49 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

There is a views folder.  It will generate any that you don't define specifically.  You build .rhtml files.  They are a cross between smarty/php.   

The whole thing is more abstracted than the normal way you build a site.  You have your objects which just display by pointing to them in the url.  In the example we built, there is a player class which is also the table in the database.  By pointing to "http://sitename.com/player"  and it will display a table of the content.   This of course can be modified.  Pointing to "http://sitename.com/player/new" displays a form to create a new player.   New, edit and destroy are built in.  You don't have to create the pages or the medthod to read the url.  It is an application with scripts.

I may not be explaining it well (or even correctly).  Yesterday was my first day with it. 

But is not the traditional "pages" and "includes" method.  You deal directly with what happens and the data.  But yes, templates are part of it and they are very powerful.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#13 2005-06-03 3:00 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: So... Anyone else?

Hm, that actually sounds great.

Offline

 

#14 2005-06-03 11:35 pm

Basseq
Fixxy of F&S fame
From: D.C.
Registered: 2002-12-18
Posts: 3125
Website

Re: So... Anyone else?

I looked at it in like January. I (don't believe) it's on my host, so I'm only but so interested, but maybe it's time to fire it up on the powerbook and take a look.


Basseq is me, John Whittet.
(Finishing the remainder of the thought expressed in the post has been left as an exercise for the reader.)

Offline

 

#15 2005-06-04 12:11 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

1 hour in...
Main layout built,
Database built,
major controllers running...

We are kicking ass on our plan.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#16 2005-06-04 2:12 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

3 hours in...
Most web services are in place...
registration and authentication in place...
base layout/css are place...


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#17 2005-06-04 5:38 am

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

6.5 hours in...
Getting sleepy.
Refining...
Bringing all the elements together....


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#18 2005-06-04 10:59 am

Abu
Disheveled, Quite.
Royal Wombat
From: Minnesota, USA
Registered: 2000-02-06
Posts: 8764
Website

Re: So... Anyone else?

Working late at night on a Friday? Jeepers man.


Look at it this way: you've sold as many paintings as Van Gogh—and you have both your ears.
Thanks, Dad.


www.joelschou.comwww.bothears.comwww.vault25.comwww.fuzzycoconut.com

Offline

 

#19 2005-06-04 1:46 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

Here is the stats so far:
http://railsday.com/stats/usage_200506.html
Check out the user agent breakdown.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#20 2005-06-04 6:21 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

Last stages... 5 hours left.
Refining interface and testing/bughunting.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#21 2005-06-04 8:26 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

3.5 left  (we got an extra hour because of db problems on the contest server)
CSS is my enemy.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#22 2005-06-04 8:28 pm

registered_user
bulletproof
From: padding: zero-pixels;
Registered: 2000-12-19
Posts: 16026
Website

Re: So... Anyone else?

Scott wrote:

CSS is my enemy.

You should use tables instead of CSS.

Offline

 

#23 2005-06-04 8:30 pm

Stan
Member
From: Rock Island
Registered: 2002-04-09
Posts: 713

Re: So... Anyone else?

registered_user wrote:

Scott wrote:

CSS is my enemy.

You should use tables instead of CSS.

Or frames.

Offline

 

#24 2005-06-04 8:33 pm

registered_user
bulletproof
From: padding: zero-pixels;
Registered: 2000-12-19
Posts: 16026
Website

Re: So... Anyone else?

why limit yourself to just one?  use tables and frames!

Offline

 

#25 2005-06-04 8:34 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: So... Anyone else?

Got tables... wink

I randomly generate crappy looking sites.  It's is kind hard to make something look intentionally crappy.

CSS is my enemy because I put it off till the end.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson