menu
Logo
  • Warum azing?
  • Blog
  • Hilfe
DEarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo DEarrow_drop_down
  • DE
  • EN
  • Warum azing?
  • Hilfe
2sxc
drive_folder_upload
  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south
  • fiber_manual_recordDevelop Standard Apps
  • south

folder_sharedMigrate Standard Apps to Newer Conventions

  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south
  • fiber_manual_recordDevelop Standard Apps
  • south

folder_sharedMigrate Standard Apps to Newer Conventions

Ordner und Checklisten

  • check_circleMigrate to Conventions of 2sxc 11
  • check_circleMigrate to Conventions of 2sxc 12 - Hybrid
  • check_circleMigrate to Conventions of 2sxc 12.04
  • check_circleMigrate to Conventions of 2sxc 12.05
  • check_circleMigrate to Conventions of 2sxc 13
  • check_circleMigrate to Conventions of 2sxc 15
  • check_circleMigrate to Coventions of 2sxc 17.06 (Strong-Typed)

Teile (0) expand_more

Teil-Dokumente werden als von anderen Checklisten wiederverwendet, sind aber nicht geeignet als Einstieg in eine Tätigkeit. Deshalb erscheinen sie weiter unten. Die Suche wird diese auch nicht anzeigen, ausser man sucht explizit nach Teilen. 

When creating things for 2sxc 11, please always use the following conventions.

Code

  1. Follow the standard guide on RazorComponents - migrate
  2. Move functions, complex data manipiulation or multiple used snippets to code behind
    More info
  3. Snippets that are used in multiple views should be outsourced into their own file in the shared folder
    Pay attention that the app does not get too split up and is still easy to customize for a web designer
  4. If the app uses a kind of Polymorphism, simplify it
    1. For bs3/bs4 use this checklist
    2. For staging/live use this checklist
  5. Change the inheritance of the 2sxc ApiController in web apis to: public class XYZController : ToSic.Sxc.Dnn.ApiController to ensure that we're using the newest mode.
  6. Ensure paths are properly encoded by using @Tags.SafeUrl() in href or src attributes
  7. Use Tosic.Razor.Blade HtmlPage to set page Title, Metadata, headers, JsonLD, etc.
  8. Toolbars
    1. Try to use only hover toolbars
    2. Use the newest syntax for customized toolbars.
  9. Do RazorComponent adjustments
    1. Replace String.IsNullOrEmpty with Text.Has
    2. Replace Permissions.UserMayEditContent with Edit.Enabled
    3. Replace x.Count() != 0 with x.Any()
    4. Replace AsDynamic/AsList(Data["default"]) with AsDynamic/AsList(Data)
    5. Replace ToString("dd.MM.yyyy")/ToString("MM/dd/yyyy") with ToString("d")

App Administration (2sxc)

  1. Try to simplify the queries in general, logically and technically
    1. Change all queries to use Parameters only
    2. If there are different Streams for admins and normal users, use the StreamPick DataSource
    3. Outsource duplicated query parts into their own query and use them with the QueryRun DataSource
    4. Make use of the Fallback, if a stream could return 0 entries
  2. Adjust the required 2sxc version in the app package definition

Publishing

  1. Do a quality check
  2. If everything is ready, publish the app
Logo
Rechtliches | Inhalts-Copyright CC-BY 4.0
bug_reportFehler melden
  • info
  • Links
  • Rechte
code Teilen
code
URL in Zwischenablage kopiert.
Checkliste einbetten close
Kopieren Kopieren
Inhalts-Copyright

CC-BY 4.0

Übersetzungen

Keine

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/rNm1YNdx
Anschauen & Verwenden

Öffentlich (nutzbar für jeden)

Bearbeiten & Verwalten

Standard (alle Mitglieder können bearbeiten)

Dieser Katalog verwendet ein einfaches Berechtigungsmodell, bei dem alle Mitglieder die selben Rechte haben. Für weitere Optionen, bitte Upgraden.

Hier siehst du die Beziehungen zwischen diesem Dokument und anderen.

Verwendet in (0)

Andere, die hierhin verweisen

Verwendet diese (5)

Andere, die in diesem Dokument verwendet werden

  1. RazorComponent - Migrate from Older Format
  2. CSS-Framework Polymorphism - Get Started
  3. Super-User Polymorphism - Get Started
  4. Quality Check of Standard 2sxc App
  5. Publish New or Major Release of Standard 2sxc App
Wie es verwendet wird

Die Kategoriesierung verändert das Verhalten des Dokuments.

Dies ist ein normales Dokument, es wird normal angezeigt und erscheint in der Suche.

Typ

Das ist eine Checkliste. Listen werden zu Checkboxen umgewandelt.

Haben Sie etwas zu sagen?

Kommentieren Sie, um eine Diskussion zu beginnen oder eine Notiz zu machen
send

Bitte einloggen um zu chatten.

close

Durchsuche ganz Azing