get all assigned variables used in teh templates (HAML/PHP)

33 views
Skip to first unread message

annemarie tannengrund

unread,
Nov 7, 2009, 12:36:33 PM11/7/09
to Haml
hi,

im looking for a HAML function that does something similar to the
smarty debug.

in smarty you can put {debug} in your template, this opens a popup
wich gives a overview over used assignments and their variables. also
it gives a list of used/included templates.

is there something similar in php HAML?

Bradley Grzesiak

unread,
Nov 7, 2009, 3:07:19 PM11/7/09
to ha...@googlegroups.com
First of all, this doesn't really seem to be a HAML question. Not that I care... just saying it's more of a Rails question.

Anyway, I haven't used it yet, but Rack::Bug looks super-awesome and similar to what you might be looking for:

http://www.brynary.com/2009/4/22/rack-bug-debugging-toolbar-in-four-minutes

:brad
--
Bradley Grzesiak
list...@gmail.com

* You have received an email from my personal account. Please do not divulge this address to any website (eg: evite, shutterfly, etc). I have another address for such uses; please ask me for it.

Nathan Weizenbaum

unread,
Nov 7, 2009, 3:16:56 PM11/7/09
to ha...@googlegroups.com
I think Annemarie is asking about one of the PHP Haml implementations. Annemarie, this list is mostly focused on the original Ruby Haml; the PHP Haml devs may check it occasionally, but I think they also have their own lists that might be more fruitful.

annemarie tannengrund

unread,
Nov 8, 2009, 4:30:31 AM11/8/09
to Haml
sorry if this was unclear, yepp its HAML for PHP (http://
phphaml.sourceforge.net/).

and nope, there is no PHP HAML group (at least i didnt find any).

On 7 Nov., 21:16, Nathan Weizenbaum <nex...@gmail.com> wrote:
> I think Annemarie is asking about one of the PHP Haml implementations.
> Annemarie, this list is mostly focused on the original Ruby Haml; the PHP
> Haml devs may check it occasionally, but I think they also have their own
> lists that might be more fruitful.
>
> On Sat, Nov 7, 2009 at 12:07 PM, Bradley Grzesiak <listro...@gmail.com>wrote:
>
> > First of all, this doesn't really seem to be a HAML question. Not that I
> > care... just saying it's more of a Rails question.
>
> > Anyway, I haven't used it yet, but Rack::Bug looks super-awesome and
> > similar to what you might be looking for:
>
> >http://www.brynary.com/2009/4/22/rack-bug-debugging-toolbar-in-four-m...
>
> > :brad
>
> > On Sat, Nov 7, 2009 at 11:36 AM, annemarie tannengrund <
> > annemarie.tannengr...@googlemail.com> wrote:
>
> >> hi,
>
> >> im looking for a HAML function that does something similar to the
> >> smarty debug.
>
> >> in smarty you can put {debug} in your template, this opens a popup
> >> wich gives a overview over used assignments and their variables. also
> >> it gives a list of used/included templates.
>
> >> is there something similar in php HAML?
>
> > --
> > Bradley Grzesiak
> > listro...@gmail.com
Reply all
Reply to author
Forward
0 new messages