.. _fluid: ============== Usage in Fluid ============== The debugging ViewHelpers ^^^^^^^^^^^^^^^^^^^^^^^^^ Using the ViewHelpers is pretty much straight forward: .. code-block:: html {_all} {_all} .. figure:: ../../Images/Fluid2.png :class: with-shadow d-inline-block :alt: Fluid debugger output with source generation for fluid. Fluid debugger output with source generation for fluid. kreXX will then try to analyse everything inside the variable given to it. All reachable properties will be shown in the debugger output. From a Fluid template point of view, array, object getters and object public methods are handeld in the same way. kreXX will do the same when displaying them. Benchmarking ViewHelpers ^^^^^^^^^^^^^^^^^^^^^^^^ .. code-block:: html . . . . . . . . kreXX measures the time between every call, and then outputs it as a benchmark. .. figure:: ../../Images/FluidBenchmark.png :class: with-shadow d-inline-block :alt: Fluid debugger output with benchmarking. Fluid debugger output with benchmarking. .. warning:: As seen in the example screenshot, the rendering order may not be what you expect. When using the benchmarking ViewHelpers across different template files, make sure to call them in the correct order. kreXX will stop to measure the time when you call the end ViewHelper :literal:``.