Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Equivalent of Master page in ASP.NET

Tags:

php

asp.net

Is there any way to achieve the master page concept of ASP.NET in PHP?

like image 303
Vijay Avatar asked Dec 19 '09 15:12

Vijay


People also ask

What is the equivalent of ASP.NET Master pages in Razor view?

Layout is similar to the master page in ASP.NET Web Form. Similar to master page, the Layouts may contain CSS, jQuery files and multiple views. Layout can keep the user interface elements and theme consistency throughout the application.

What is master page in ASP.NET core?

A master page provides the layout and functionality to other pages. Creating a master page in ASP.NET is very easy. Let's start creating master page step by step.

What is master page in ASP.NET Tutorialspoint?

Master pages allow you to create a consistent look and behavior for all the pages (or group of pages) in your web application. A master page provides a template for other pages, with shared layout and functionality. The master page defines placeholders for the content, which can be overridden by content pages.

What is the difference between master page and nested master page?

The main difference between the nested master page and a content page bound to the same top-level master page is that the nested master page can include ContentPlaceHolder controls. The nested master page's ContentPlaceHolder controls define the regions where the content pages can customize the markup.


1 Answers

Of course it's possible. Have a look here. It shows a basic way of doing it, which of course, you can extend. Good luck!

like image 172
kowsheek Avatar answered Oct 09 '22 07:10

kowsheek