How to provide easy editing of basic ASP.NET pages for designers?

Scenario: I have a standard homepage for all of my pages. It includes the usual login forms and other dynamic lists that you need to extract on each page. Web designers can already change the owner of the main content on each page. Nevertheless, the design and layout of the main page is still in my project, and any changes in the design must be made in Visual Studio, and the project is recompiled and redeployed.

What is the best way to provide almost full access to homepage development through the CMS? Some of the problems I can identify are the inclusion of any dynamic lists or specific controls, such as the login form.

Thanks.

+3
source share
8 answers

Is it possible to place clusters on the main page instead of areas that designers should allow editing? Since the master pages are editable only in Visual Studio, this may be your only option at this point in time. One of the problems with this approach is that content placed in placeholders is unlikely to be valid, as you are likely to have tags left open in one placeholder and closed in another.

<html>
<head>
<title></title>
<asp:PlaceHolder ID="headerContent" runat="server"></asp:PlaceHolder>
</head>
<body>

<asp:PlaceHolder ID="beforeContent" runat="server"></asp:PlaceHolder>

<asp:PlaceHolder ID="centralContent" runat="server"></asp:PlaceHolder>

<asp:PlaceHolder ID="afterContent" runat="server"></asp:PlaceHolder>

</body>
</html>

, , ( XHTML ). , , - , .

?

EDIT: . PlaceHolder <div>, . , PlaceHolder , HTML.

0

, , .

, , , css, , css.

+1

, . , , , html css, html- css . , ....

cms, html html-, html . - . , , -.

, , . , html css, CMS . RAD html css .

+1

CMS, - Expression Web. , , , - Expression .

. , , , , , Visual Studio.

, - Expression CMS, , . , Expression Web 3 .

+1

CMS, . , CMS , , CMS, CMS.

CMS , , CMS - , .

, : , CMS.

, .

+1

, - , ( - 2005, - ). , .aspx( .ascx etc) . , .

-. (, , ). , , Expression Web. , -, (, ).


, -.

- codebehind . , .

- . , aspx, ascx . . , -, .

. - , aspx, dll. , - , .

0

,
- .

-, --Photoshop--flash?

DIY-CMS, , , . . ( , , , ;-)) , .

, , CMS, ... , , ( : me) --....

, - , ... ...

?

0
source

a.master is just a text file. They can edit it as they like. Of course, they would not do anything with this, which would require you to recompile the code just to view it. What a big victory with Master Pages in the first place: designers and other non-programmers can edit them manually without breaking anything.

Give them access to the file under source control and release them.

0
source

Source: https://habr.com/ru/post/1704209/


All Articles