Why choose a Section model over a Page model

Hi there,

I followed this article to create a blog (but in Angular instead of NextJS) Create a drag-and-drop editable blog with Next.js.

Why do you choose a Section model over a Page model? I’m confused about when to use one or the other.

Thank you!
Liza

Hi @liza,

Welcome to the builder.io forum.

Both of these model types allow you to add drag + drop editing to areas of your site.

The only real difference between the two is any page model you create will require a unique URL to be provided. So these are best for the use case of integrating landing page building so content editors can create pages on new URLs.

Section models are identical, but do not require a unique URL each. You can still use URL targeting, but sections are not generating landing pages per say, but are more frequently integrated into existing pages or page types, to allow managing parts of the page visually.

Let us know if you have any further questions. Thank you!

Thanks for the quick response @manish-sharma!

That makes sense then why a blog article would be a section since the url is dynamic.

Hi @liza,

A page can have multiple blog articles created as sections, and a dynamic URL makes them reusable and can be rendered on any other page using a dynamic URL.

Let us know if you have any further questions. Thank you