What is the best way to design RoR pages

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

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.

Jose P. 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

I’ve been using TextMate and writing everything by hand… :dunno:

On 10/22/06, bbqPlate [email protected] wrote:

thanks


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


Chris S.
[email protected]
http://compiledmonkey.wordpress.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 R.
http://vagueware.com

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

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 | Open-source web framework for .NET) , or
like in dreamweaver inserting controls with the menu options.

Could dreamweaver manage .rhtml pages directly?

thanks

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.

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

On 10/24/06, Jose P. [email protected] wrote:

thanks


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


Heri R.
http://sprinj.com

Heri,

I am looking for more than a simple editor, I would like to know if thre
is something similar to ASP.NET | Open-source web framework for .NET available

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

thank you

R> wrote:

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

On 10/24/06, Jose P. [email protected] wrote:

thanks


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


Heri R.
http://sprinj.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.

On 10/25/06, Jose P. [email protected] wrote:

thank you

thanks
http://sprinj.com


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


Heri R.
http://sprinj.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.

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 [email protected] wrote:

RoR programmer.

РJean-Fran̤ois.


Ã? la renverse.


Heri R.
http://sprinj.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

On 10/26/06, Jose P. [email protected] wrote:

RoR programmer.

Heri R.
http://sprinj.com


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


Heri R.
http://sprinj.com

Jose P. 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.

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

Walker wrote:

Jose P. 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.

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!

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 [email protected] wrote:

RoR programmer.

РJean-Fran̤ois.


Ã? la renverse.


Heri R.
http://sprinj.com

Taylor S. 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.