Re: Feature: Inline templates?

2012-08-15 Thread Jenna Fox
t; > > It's been implemented here: > > https://github.com/camping/camping/commit/407e2ddd441f438722828dc77d9094e0dea66143, > > but I don't think the current released version of Camping has it. Try `gem > > install camping --source gems.judofyr.net (http://gems.ju

Re: Feature: Inline templates?

2012-08-15 Thread gurugeek
stall camping --source gems.judofyr.net` for a newer (pre-release) > version. > -Original Message----- > Re: Feature: Inline templates? > From: *gurugeek * > To: camping-list@rubyforge.org > Sunday, August 12, 2012 at 5:15PM > > > Hello I was searching inline templa

Re: Feature: Inline templates?

2012-08-15 Thread Magnus Holm
emented here: > https://github.com/camping/camping/commit/407e2ddd441f438722828dc77d9094e0dea66143, > but I don't think the current released version of Camping has it. Try `gem > install camping --source gems.judofyr.net` for a newer (pre-release) > version. > > -Original Mess

Re: Feature: Inline templates?

2012-08-15 Thread Jenna Fox
version of Camping has it. Try `gem > install camping --source gems.judofyr.net (http://gems.judofyr.net)` for a > newer (pre-release) version. > -Original Message- > Re: Feature: Inline templates? From: gurugeek (mailto:gurugeek...@gmail.com)> > To: camping-li

Re: Feature: Inline templates?

2012-08-15 Thread judofyr
al Message- Re: Feature: Inline templates? From: gurugeek <gurugeek...@gmail.com> To: camping-list@rubyforge.org Sunday, August 12, 2012 at 5:15PM   Hello I was searching inline templates on camping an

Re: Feature: Inline templates?

2012-08-12 Thread gurugeek
Hello I was searching inline templates on camping and found this old topic on the mailing list with the example from Magnus. I think it looks great and could be useful but I assume this was not implemented. Any plan to add this ? :-) Best Regards David Another feature! Inline templates

Re: Feature: Inline templates?

2011-10-07 Thread Dave Everitt
On Fri, Aug 26, 2011 at 16:14, Dave Everitt wrote: Since no-one has replied, for what it's worth (as a very amateur camper), I've always been happy with simple regular Markaby views and the v2.1 options for external templates. Also, my modest one-file apps have their CSS after __END__. In a

Re: Feature: Inline templates?

2011-10-02 Thread Magnus Holm
2011/9/24 Bartosz Dziewoński : > A comment after some time: I'd appreciate it more if I could just have > one "external" file with all the templates, and one with the Camping > code, and I could "link in" the templates to parse using this > mechanism. This works, although it's kinda hacky: eval(

Re: Feature: Inline templates?

2011-09-24 Thread Bartosz Dziewoński
A comment after some time: I'd appreciate it more if I could just have one "external" file with all the templates, and one with the Camping code, and I could "link in" the templates to parse using this mechanism. -- Matma Rex ___ Camping-list mailing lis

Re: Feature: Inline templates?

2011-08-27 Thread Philippe Monnet
I am a bit ambivalent about the new feature. One hand it's kind of cool. But on the other it's something that most experienced campers probably won't use on moderate size apps. And for new campers it's one more syntactic sugar to learn and remember. On 8/26/2011 10:58 AM, Magnus Holm wrote:

Re: Feature: Inline templates?

2011-08-26 Thread John Beppu
I was fine with Markaby. On Thu, Aug 25, 2011 at 11:04 AM, Magnus Holm wrote: > Another feature! Inline templates: > > module App::Controllers >get '/' do > @title = "My Perfect App" > render :index >end > end > >

Re: Feature: Inline templates?

2011-08-26 Thread Magnus Holm
On Aug 26, 2011 6:42 PM, "Bartosz Dziewoński" wrote: > > If this only supports Erb, then we should throw it away as fast as > possible ;) I see no reason why would anyone want to use something > *that* dinosauric in a new project. > > If it also supports (or can support), say, Haml, then I see how

Re: Feature: Inline templates?

2011-08-26 Thread Bartosz Dziewoński
If this only supports Erb, then we should throw it away as fast as possible ;) I see no reason why would anyone want to use something *that* dinosauric in a new project. If it also supports (or can support), say, Haml, then I see how it could be useful (although nearly all of my Camping projects e

Re: Feature: Inline templates?

2011-08-26 Thread Dave Everitt
ly want to have separate templates for easier maintenance (since - if inline - their code is going to add more than a few lines and break the one-file advantages), so the question is: will anyone use/want inline templates? - DaveE On 25 Aug 2011, at 19:04, Magnus Holm wrote: Another

Feature: Inline templates?

2011-08-25 Thread Magnus Holm
Another feature! Inline templates: module App::Controllers get '/' do @title = "My Perfect App" render :index end end __END__ @@ index.erb Welcome to <%= @title %> What'd you think? Keep or throw away? It costs us 184 bytes