I have a dream: Access to intermediary DRYML in development

12 views
Skip to first unread message

Stefan Haslinger

unread,
Jan 18, 2014, 8:03:43 AM1/18/14
to hobo...@googlegroups.com
Hi folks!

When I render an arbitrary page, in the log I see (at least in development) 
Rendered controller: products; dryml-tag: comparison-page (980.6ms)
So I guess DRYML is compiled on runtime (in devel.).

I often find myself digging through the docs and my own code these days, 
what's the structure of that page, that tag, etc.

In there a way to access the intermediary DRYML, like the better errors is able to see parts of it,  
e.g. dumping it into the log or into the filesystem? 
Maybe even stopping from rendering to erb and dumping to the browser could be helpful.

Just dreaming ...

Cheers,
Stefan
 

Ignacio Huerta

unread,
Jan 18, 2014, 8:19:45 AM1/18/14
to hobo...@googlegroups.com
Hi Stefan,

I don't think it's exactly what you have in mind, but Domizio built
something amazing: an extension for Firefox that shows information about
the Dryml page.

https://github.com/ddnexus/dryml-firemarker

I don't know if it works with Hobo 2.1. If it does, maybe it could be
extended further.

Regards,
Ignacio

El 18/01/14 14:03, Stefan Haslinger escribió:
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hobousers+...@googlegroups.com.
> To post to this group, send email to hobo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/groups/opt_out.

--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

Stefan Haslinger

unread,
Jan 18, 2014, 8:37:46 AM1/18/14
to hobo...@googlegroups.com
Hi Ignacio,

I just tried it a little bit, yes that's even more because I can switch between HTML and DRYML.
With the 2.1 app I'm working on, it seems to work without any glitches.

I am not good in Firebug, so I have to get used to that, and I have to switch to a higher res monitor,
but what I've seen yet: it's truly awesome!

Thinks for the tip!
Stefan


2014/1/18 Ignacio Huerta <ign...@ihuerta.net>
You received this message because you are subscribed to a topic in the Google Groups "Hobo Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hobousers/2NNSCmeIzAA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hobousers+...@googlegroups.com.

To post to this group, send email to hobo...@googlegroups.com.
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.



--
Mag.Stefan Haslinger
Informatom EDV-Dienstleistungen e.U.
Vorgartenstraße 145/2/3
1020 Wien
FN 357693w
Tel.: +43 680 213 3030
Email: stefan.h...@mittenin.at
WWW: http://informatom.com
WWW: http://mittenin.at

Stefan Haslinger

unread,
Jan 18, 2014, 8:40:39 AM1/18/14
to hobo...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages