What is the best way to design RoR pages

2 views
Skip to first unread message

Jose Pepe

unread,
Oct 22, 2006, 9:03:57 PM10/22/06
to rubyonra...@googlegroups.com
Hi all

when you desing .rhtml pages, what tool do you use?

I usually create a regular page in dreamweaver and customize it with RoR
scripts. Is there any other tool that allows to drag/drop html
controls, inside rhtml pages?

thanks


--
Posted via http://www.ruby-forum.com/.

bbqPlate

unread,
Oct 22, 2006, 9:48:28 PM10/22/06
to rubyonra...@googlegroups.com

ive been searching for ways. it would be awesome if i could create a
site in iweb and just drop in ruby code blocks.

right now, i think the best was is just create my view in dreamweaver
and export the css sheet into the styles directory.

Chris Stewart

unread,
Oct 22, 2006, 10:09:55 PM10/22/06
to rubyonra...@googlegroups.com
I've been using TextMate and writing everything by hand... :dunno:

Paul Robinson

unread,
Oct 23, 2006, 1:47:52 AM10/23/06
to rubyonra...@googlegroups.com
On 23 Oct 2006, at 02:48, bbqPlate wrote:

> ive been searching for ways. it would be awesome if i could create a
> site in iweb and just drop in ruby code blocks.

By "awesome" do you mean "great if I could cripple my user's with
hundreds of kilobytes of crufty HTML"?

> right now, i think the best was is just create my view in dreamweaver
> and export the css sheet into the styles directory.

Can I suggest learning HTML and CSS and doing it by hand like some of
the rest of us? Just my personal preference mind, but if you care
about crafting applications instead of churning them out like you're
a sausage factory, it's the only way.

--
Paul Robinson
http://vagueware.com


paron

unread,
Oct 23, 2006, 6:45:22 AM10/23/06
to Ruby on Rails: Talk
Well, if you invert the question slightly, there's Markaby, which lets
you write plain old Ruby and get html, if that works for you.

Ron

bbqPlate

unread,
Oct 23, 2006, 9:32:58 AM10/23/06
to rubyonra...@googlegroups.com
yea, i know your right. i find that all the time spent learning how to
use these editors, it will take less time creating a site after learning
the foundation of html and css.

Jose Pepe

unread,
Oct 24, 2006, 6:10:43 AM10/24/06
to rubyonra...@googlegroups.com
Hi all

If I understand well, there is not any tool that allows to desing rhtml
pages. a tool that uses drag and drop capabilities (asp.net/vb.net) , or
like in dreamweaver inserting controls with the menu options.

Could dreamweaver manage .rhtml pages directly?

thanks

Heri R>

unread,
Oct 24, 2006, 11:08:06 AM10/24/06
to rubyonra...@googlegroups.com
hi,
it's like asking is there a tool to design php pages and can dreamweaver manage .rhtml pages
if you want an editor you could use RadRails

Jose Pepe

unread,
Oct 25, 2006, 9:44:54 PM10/25/06
to rubyonra...@googlegroups.com
Heri,

I am looking for more than a simple editor, I would like to know if thre
is something similar to ASP.Net/VB.Net available

you can desing PHP pages wth dreamweaver, the extension php is
available. IS the .rhtnl extension available too?

thank you

> --
> Heri R.
> http://sprinj.com

Heri R>

unread,
Oct 26, 2006, 10:58:32 AM10/26/06
to rubyonra...@googlegroups.com
yes you could design ror pages with dreamweaver. but for me you are mixing 2 things, RoR is a programming framework, it does not involve the design process.

the best way to design pages would be your standard favorite way (photoshop, notepad, dreamweaver, fireworks --- whatever...) and when the html and CSS are ready and tested, you send them to the RoR programmer.

Jean-François

unread,
Oct 26, 2006, 11:50:59 AM10/26/06
to rubyonra...@googlegroups.com
Hello Heri,

> yes you could design ror pages with dreamweaver. but for me you
> are mixing 2 things, RoR is a programming framework, it does not
> involve the design process.
>
> the best way to design pages would be your standard favorite way
> (photoshop, notepad, dreamweaver, fireworks --- whatever...) and
> when the html and CSS are ready and tested, you send them to the
> RoR programmer.

Another possible solution consists in using another template system
than ERb. I haven't tried it yet but it looks interesting : MasterView
http://masterview.org/

There is also the Liquid templase system, but I don't know if there
is a HTML editor that can deal with it.

http://weblog.rubyonrails.com/2005/11/06/liquid-templates-announced/
http://blog.leetsoft.com/2005/11/5/introducing-liquid

-- Jean-François.

--
À la renverse.

Heri R>

unread,
Oct 26, 2006, 1:55:06 PM10/26/06
to rubyonra...@googlegroups.com
hi j-f

what i would really like for a RoR design editor would be a CSS editor on the right side and the rendered webpage to the left that shows  DIV ids and code in grey.... or something like that....

Jose Pepe

unread,
Oct 26, 2006, 3:53:54 PM10/26/06
to rubyonra...@googlegroups.com

What I am looking for is a tool that allows me to create views with
.rhtml extension, simply by draging and droping controls and when I
double click on the control it goes to the code behind to add RoR code.

ASP.Net is also base on a develoment framework, and it allows to
drag/drop controls, and enter code behind code.


Heri R> wrote:
> hi j-f
>
> what i would really like for a RoR design editor would be a CSS editor
> on
> the right side and the rendered webpage to the left that shows DIV ids
> and
> code in grey.... or something like that....
>
> On 10/26/06, Jean-François <jf....@gmail.com> wrote:

>> > RoR programmer.


>>
>> -- Jean-François.
>>
>> --
>> À la renverse.
>>
>> >
>>
>
>
> --
> Heri R.
> http://sprinj.com

Heri R>

unread,
Oct 26, 2006, 4:40:37 PM10/26/06
to rubyonra...@googlegroups.com
ah ok

jose, controls are called helpers in RoR. code behind is called controllers

also RoR has a very different philosophy from .NET

.NET has a very wide array of libraries for programmers but RoR on the other hand wants to be as lean possible.

but i agree a drag and drop RoR editor might be handy

Randy Walker

unread,
Oct 27, 2006, 12:37:38 AM10/27/06
to rubyonra...@googlegroups.com
Jose Pepe wrote:
> Hi all
>
> when you desing .rhtml pages, what tool do you use?
>
> I usually create a regular page in dreamweaver and customize it with RoR
> scripts. Is there any other tool that allows to drag/drop html
> controls, inside rhtml pages?
>
> thanks

Jose,

I know html and CSS and I love the speed I get with dreamweaver. It's
SO much faster to simply drag in a table, tweak it with the pref panel
and then save and go back to TextMate. Same with CSS. I can edit CSS
styles/properties much faster in DW and then copy/paste the code into
its own .css file. (yes, I know DW can create CSS in its own file, but
I think it's a pain to set up) I love the speed that TM bundles give
me, and can't think of trying to work with rails without 'em, but
they're no way near as fast as doing certain things in DW.

As for whether DW can read/work with .rhtml files, yes. There's a DW
extenstion called RubyWeaver from http://www.ridingtheclutch.com that
can recognize ruby code. It can color code it much like it color codes
php code. It's not as pretty or as functional as TM, but it's nice to
be able to open an .rhtml file in DW , drag stuff into it, edit quickly,
then get out. Prior to the RubyWeaver extension, I couldn't really work
on any ruby files in DW.

It all boils down to "do you understand the code and can you do it by
hand?" If yes, then finding tools that make dif aspects of the job
easier/faster is a plus in my book. Yes, I can create a site strictly
in notepad. Would I ever want to? Hell no. Thinking that someone has
to use one tool (or just the tools that you use) to create a site is
like saying you have to build a house with only a hammer. Find the
right tool(s) for the job that allows you to be the most creative,
productive and agile.

Jose Pepe

unread,
Oct 27, 2006, 8:14:58 AM10/27/06
to rubyonra...@googlegroups.com
Randy,

I am currently using Eclipse and RADRails! I hope that some day Eclipse
Visual Editor will be available also in the RADRails area. Like that I
will be able to build forms as if I was creating a java SWT form.

thanks

Taylor Strait

unread,
Oct 27, 2006, 2:04:49 PM10/27/06
to rubyonra...@googlegroups.com
I'm no master coder, but I just keep Firefox and Radrails open at the
same time. Then I edit the CSS and hit refresh. Then once I like it, I
open IE and see how its broken!

Randy Walker

unread,
Oct 28, 2006, 12:45:46 AM10/28/06
to rubyonra...@googlegroups.com
Taylor Strait wrote:
>Then once I like it, I open IE and see how its broken!
SO TRUE! I've never seen radrails. I'll have to check it out.
Reply all
Reply to author
Forward
0 new messages