[REQ] Live Preview hooks
Posted: 30 December 2008 11:53 PM   [ Ignore ]
Sr. Member
RankRankRankRank
Total Posts:  232
Joined  2008-11-05

After reading a recent thread in the ‘luser’ side of the forums {(-;}, I realized another feature that would be a ‘must’: a way for web frameworks and whatnot to tie into the Live Preview. Most such development systems can’t be accessed as files on the filesysyem.

For instance, were I to write a Rails.sugar, I’d need a way to start the development-mode webserver and then open a web preview of the current action in said preview. I’d also need to maintain control over that window, in case the routing rules were changed and I had to reload the dev sever.

Another example near and dear to my heart - I wrote for mysel a small Ruby script that generates static HTML blog posts from markdown files. I would need a way to automatically run that script, this updating the web preview for that post in HTML even though I’m editing in Markeown. This would hold true for the Markeown.sugar, as well as any other non-HTML markup language (BBcode, Textile, Liquid, whatever…).

I know there’s a lot to be done there at RabbitHQ, but please think about this.

 Signature 

Ruby.sugar | Rails.sugar? | Haml.sugar | SASS.sugar | Sugar Manager.sugar | Git.sugar | Regex.sugar | ERb.sugar | RSpec.sugar

http://elliottcable.name/contact.xhtml

Profile
 
 
Posted: 31 December 2008 12:42 AM   [ Ignore ]   [ # 1 ]
Member
RankRankRank
Total Posts:  76
Joined  2008-11-04

I’ve been thinking about that too in terms of CSS. You could do a lot of manipulation to abstract css to make development a bit easier and DRY it up a bit.

/sign

Profile
 
 
Posted: 31 December 2008 06:54 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  4
Joined  2008-10-29

This would also be very handy for SASS

+1

Profile
 
 
Posted: 31 December 2008 10:04 AM   [ Ignore ]   [ # 3 ]
Sr. Member
RankRankRankRank
Total Posts:  232
Joined  2008-11-05
somebee - 31 December 2008 06:54 AM

This would also be very handy for SASS

+1

I was also thinking exactly that d-:

 Signature 

Ruby.sugar | Rails.sugar? | Haml.sugar | SASS.sugar | Sugar Manager.sugar | Git.sugar | Regex.sugar | ERb.sugar | RSpec.sugar

http://elliottcable.name/contact.xhtml

Profile