SlideServe
Menu
Préférences
© SlideServe · v2026

The Enterprise Web Framework

ronan-munoz avatar
13 diapositives · 283 Views · Nov 28, 2014

The Enterprise Web Framework (EWF) by Greg Smalter, LLC, provides a robust platform for building consistent, data-centric web applications. EWF alleviates common challenges faced by developers by enforcing decisions and minimizing tedious tasks. Key features include a streamlined lifecycle, automatically-generated user interfaces, strongly-typed navigation, automatic data modification, and concurrency conflict checking. The framework enhances productivity by eliminating scattered logic and promoting better validation, ultimately ensuring a seamless and efficient development process. Discover how EWF can transform your web development projects.

The Enterprise Web Framework - slide 1
01 / 13The Enterprise Web Framework
1 / 17

Télécharger la présentation

The Enterprise Web Framework
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. The Enterprise Web Framework Greg Smalter Red Stapler Software, LLC

  2. What is EWF? • EWF, the Enterprise Web Framework, is an environment in which to build data-centric web apps in a consistent way. • The theme of the framework is to make the tough decisions for developers and prevent tedious work. • As always, we want to catch as many errors as possible at compile time.

  3. Features • A new lifecycle • An automatically-generated user interface • Strongly-typed navigation • Auto data modification • Concurrency conflict checking

  4. Motivation for a new lifecycle • The ‘put everything in page_load’ strategy does not work well. • Understanding when to use Init, Load, and PreRender is difficult. • We want to eliminate scattered ‘if (!IsPostBack)’ statements. • The tendency to rely on ViewState is problematic.

  5. The EWF lifecycle • Developers never implement Init, Load, or PreRender. • Instead, the lifecycle looks like this to the developer: • LoadData • ValidateFormValues • ModifyData

  6. Diagram

  7. LoadData • Contains all logic not related to validation or data modification • Controls can be added dynamically here. • The values of all controls are populated here.

  8. ValidateFormValues • Is provided with a new Validator object • Uses the Validator’s built-in methods to do common validation and type conversion • If any validation errors exist in the Validator after the method executes, the framework automatically adds the error messages to the status area.

  9. ModifyData • Is only executed if ValidateFormValues resulted in no validation errors • Is provided with an open database connection in a transaction • Successful execution triggers a new lifecycle in order to load the newly-modified data.

  10. Automatic UI generation • Optional • Uses the file system to make inferences about site organization • Developers add elements to designated locations – the framework places the element

  11. Strongly-typed navigation • Bad links within your own site are no longer possible. • Query parameters are now strongly typed – no more string parsing. • Parameters can be passed at the entity level or at the page level.

  12. Auto data modification • Applied on a per-page basis - useful for common forms such as a personal information page • Pages that use this should behave like a piece of paper. • All data is persisted on any type of postback, including navigating away. • Unnecessary database interactions are avoided by change detection.

  13. Concurrency checking • Basic automatic conflict detection prevents overwriting another user’s changes, alerts users to concurrent modifications. • Requires no additional database interaction or extra developer code • Presents user with options for conflict resolution