Hendy Irawan
2006-Sep-29 16:18 UTC
Feature request: Alternative extension for .rhtml files
Will it be considered there be an alternative extension supported for .rhtml files? Aptana and Dreamweaver doesn''t support it out of the box, and I''m too lazy to figure out how to configure (or re-configure) them to recognize .rhtml files as "plain" HTML files. Considering .rhtml files are mostly visual stuff (X/HTML) it''s much nicer if I could edit them visually using these tools. For all else I''d prefer scite or radrails. If possible, maybe just make .rhtml the preferred extension, but if it fails (template not found), check for a template with the same name but different extension, possibly .ruby.html, .rails.html, .r.html, .erb.html, or whatever but just end it with html. So everybody will be happy, especially me. Thanks... Thank you. -- Hendy Irawan Web: http://www.gauldong.net Mobile: +62 856 24889899 Yahoo Messenger: ceefour666 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Charles O Nutter
2006-Sep-29 16:43 UTC
Re: Feature request: Alternative extension for .rhtml files
On 9/29/06, Hendy Irawan <gauldong@gmail.com> wrote:> If possible, maybe just make .rhtml the preferred extension, but if it > fails (template not found), check for a template with the same name > but different extension, possibly .ruby.html, .rails.html, .r.html, > .erb.html, or whatever but just end it with html. So everybody will be > happy, especially me. Thanks...I kinda like .r.html...then editors that recognize .html will all work fine, and smarter editors can see .r.html and do more. But I don''t do any Rails work :) -- Contribute to RubySpec! @ www.headius.com/rubyspec Charles Oliver Nutter @ headius.blogspot.com Ruby User @ ruby.mn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Jeff Barczewski
2006-Sep-29 17:03 UTC
Re: Feature request: Alternative extension for .rhtml files
On 9/29/06, Hendy Irawan <gauldong@gmail.com> wrote:> > Will it be considered there be an alternative extension supported for > .rhtml files? > Aptana and Dreamweaver doesn''t support it out of the box, and I''m too > lazy to figure out how to configure (or re-configure) them to > recognize .rhtml files as "plain" HTML files. Considering .rhtml files > are mostly visual stuff (X/HTML) it''s much nicer if I could edit them > visually using these tools. For all else I''d prefer scite or radrails. >Alternatively someone could ask Dreamweaver nd Aptana to add .rhtml to their supported extensions so they would be treated in a first class fashion just like .asp, .jsp, .php, etc. RHTML is very similar in regards to these and they are supported well inside most products. Another reason to keep the name distinct is so that the editors can infer additional functionality from the name. In the future when Dreamweaver finally gets it, they will want to provide context sensitve help for rhtml inline, so having the distinct name keeps things clear and allow for these things to occur. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Jamie van Dyke
2006-Sep-29 17:13 UTC
Re: Feature request: Alternative extension for .rhtml files
Before somebody rips you a new one, go look here: http://www.ridingtheclutch.com/entry.cfm?id=58 A little google never hurt anyone. Cheers, Jamie van Dyke On 29 Sep 2006, at 17:18, Hendy Irawan wrote:> > Will it be considered there be an alternative extension supported for > .rhtml files? > Aptana and Dreamweaver doesn''t support it out of the box, and I''m too > lazy to figure out how to configure (or re-configure) them to > recognize .rhtml files as "plain" HTML files. Considering .rhtml files > are mostly visual stuff (X/HTML) it''s much nicer if I could edit them > visually using these tools. For all else I''d prefer scite or radrails. > > If possible, maybe just make .rhtml the preferred extension, but if it > fails (template not found), check for a template with the same name > but different extension, possibly .ruby.html, .rails.html, .r.html, > .erb.html, or whatever but just end it with html. So everybody will be > happy, especially me. Thanks... > > Thank you. > > -- > Hendy Irawan > Web: http://www.gauldong.net > Mobile: +62 856 24889899 > Yahoo Messenger: ceefour666 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Jamie van Dyke wrote:> Before somebody rips you a new one, go look here: > > http://www.ridingtheclutch.com/entry.cfm?id=58 > > A little google never hurt anyone. > > Cheers, > Jamie van DykeThanks... I guess for the moment I''ll ditch Dreamweaver anyway. Have never used any of its "power" features (server scripts? templates? libraries? assets?). I''ve to say the most used feature of Dreamweaver for me is its Reference documentation for HTML, Javascript, and the like. If only they make it more convenient and have a search box or index. Anyways, since I''ll be installing Ubuntu within a couple days (I''ll still be using Windows inside VMware). I think RadRails + Aptana would be a better alternative. Though I still wonder whether Aptana will support .rhtml? Since it does currently not (and I''m not sure how to enable this support, manually adding the .rhtml "works" for HTML editing, but the WYSIWYG doesn''t work). :-( --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Mislav Marohnić
2006-Oct-07 10:33 UTC
Re: Feature request: Alternative extension for .rhtml files
Dreamweaver is configurable by its somewhat obscure XML files. I think by hacking a few lines in those you can make .rhtml behave like anything you want. The only question is - why? Those templates are not complete until parsed by eruby. Pretty WYSIWYG will be broken, so no benefit from that. Dreamweaver templates are its own "templating system" it''s only useful for static websites. Libraries, assets - what good are those? You can have your macros/snippets/whatever in your favorite text editor. Sure RadRails/Aptana are much better, especially when your platform of choice is Linux. You can have an embedded browser inside RadRails while writing templates. After all, WYSIWYG never could beat hand-coding your templates and previewing the result in real web browsers. -Mislav On 10/7/06, Ceefour <gauldong@gmail.com> wrote:> > Though I still wonder whether Aptana will support .rhtml? Since it does > currently not (and I''m not sure how to enable this support, manually > adding the .rhtml "works" for HTML editing, but the WYSIWYG doesn''t > work). :-(--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Ceefour
2006-Oct-08 06:00 UTC
Fastest Rails development setup -- Re: Feature request: Alternative extension for .rhtml files
Mislav Marohnic wrote:> Dreamweaver is configurable by its somewhat obscure XML files. I think by > hacking a few lines in those you can make .rhtml behave like anything you > want. > > The only question is - why? Those templates are not complete until parsed by > eruby. Pretty WYSIWYG will be broken, so no benefit from that. Dreamweaver > templates are its own "templating system" it''s only useful for static > websites. Libraries, assets - what good are those? You can have your > macros/snippets/whatever in your favorite text editor.I guess you''re right, Mislav. I guess I''m typing 90% of the time rather than click-and-drag even with Dreamweaver. But from my experience with templates (PHP, Smarty, my own) most of these are Dreamweaver-WYSIWYG-able. And it helps a lot especially when designing layouts not templates (especially if the layout doesn''t contain too many dynamic elements and only have the single dynamic element that is the body of the page).> Sure RadRails/Aptana are much better, especially when your platform of > choice is Linux. You can have an embedded browser inside RadRails while > writing templates. After all, WYSIWYG never could beat hand-coding your > templates and previewing the result in real web browsers.You''re right. If only previewing wasn''t really *that* slow. I need some opinions... what''s the fastest development setup for Rails (not production) usable in Ubuntu (Linux kernel 2.6)? (I will switch from WinXP SP2 to Ubuntu within the next week), is it: - Apache2 + FastCGI - WEBrick? - Lighttpd + FastCGI - Mongrel (?) -- I''m not familiar at all with mongrel or even how it works. Anyway my system is AMD Sempron 2600 with 512 MB of RAM (which sometimes will be used partially with Windows XP SP2 in VMware, I give it 224 MB). Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
Kevin Clark
2006-Oct-08 08:47 UTC
Re: Fastest Rails development setup -- Re: Feature request: Alternative extension for .rhtml files
This list is for discussion of the development of Rails itself. Please take this off list or to rails-talk instead. On 10/7/06, Ceefour <gauldong@gmail.com> wrote:> > > Mislav Marohnic wrote: > > Dreamweaver is configurable by its somewhat obscure XML files. I think by > > hacking a few lines in those you can make .rhtml behave like anything you > > want. > > > > The only question is - why? Those templates are not complete until parsed by > > eruby. Pretty WYSIWYG will be broken, so no benefit from that. Dreamweaver > > templates are its own "templating system" it''s only useful for static > > websites. Libraries, assets - what good are those? You can have your > > macros/snippets/whatever in your favorite text editor. > > I guess you''re right, Mislav. I guess I''m typing 90% of the time rather > than click-and-drag even with Dreamweaver. But from my experience with > templates (PHP, Smarty, my own) most of these are > Dreamweaver-WYSIWYG-able. And it helps a lot especially when designing > layouts not templates (especially if the layout doesn''t contain too > many dynamic elements and only have the single dynamic element that is > the body of the page). > > > Sure RadRails/Aptana are much better, especially when your platform of > > choice is Linux. You can have an embedded browser inside RadRails while > > writing templates. After all, WYSIWYG never could beat hand-coding your > > templates and previewing the result in real web browsers. > You''re right. If only previewing wasn''t really *that* slow. > > I need some opinions... what''s the fastest development setup for Rails > (not production) usable in Ubuntu (Linux kernel 2.6)? (I will switch > from WinXP SP2 to Ubuntu within the next week), is it: > - Apache2 + FastCGI > - WEBrick? > - Lighttpd + FastCGI > - Mongrel (?) -- I''m not familiar at all with mongrel or even how it > works. > Anyway my system is AMD Sempron 2600 with 512 MB of RAM (which > sometimes will be used partially with Windows XP SP2 in VMware, I give > it 224 MB). > > Thanks! > > > > >-- Kevin Clark http://glu.ttono.us --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---