umbraco7 - Umbraco 7: Macros vs Partial Views -


i'm new umbraco, wanted know when 1 use macros on partial views , vice versa.

my understanding that, both used create reusable views on different content pages.

can please me understanding of same. i'm using umbraco 7.2.1

thanks.

macros reusable elements want content editor use in rich text editors or grid. partial views reusable elements developer use in templates.

macro's have other benefits on partial views built in caching, parameters can defined in backoffice , can hide exceptions end user.


Comments

Popular posts from this blog

unix - grep command not match start of new line with another regex -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -

Sort a complex associative array in PHP -