Bug #3359

Restructure Class structure in Fluid Core

Added by Sebastian Kurfuerst over 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
Start date:
2009-05-18
Due date:
% Done:

100%

Estimated time:
Has patch:

Description

I propose to change the Fluid Core classes like that:

Core/
ViewHelper/
Facets/
AbstractViewHelper
TagBasedViewHelper
TagBuilder
ViewHelperContext
ViewHelperException?
ViewHelperInterface
ViewHelperArguments -> Arguments?
Parser/
SyntaxTree/
ParsedTemplateInterface
ParsingException?
ParsingState
TemplateParser

This changes the following public API classes:
Core\TemplateParser -> Core\Parser\TemplateParser.

#1

Updated by Bastian Waidelich over 12 years ago

So you would have:

Core/
    ViewHelper/
        Facets/
            ChildNodeAccessFacet
            PostParseInterface
        AbstractViewHelper
        TagBasedViewHelper
        TagBuilder
        ViewHelperContext
        ViewHelperException?
        ViewHelperInterface
        ViewHelperArguments -> Arguments?
    Parser/
        SyntaxTree/
            AbstractNode
            ArrayNode
            ObjectAccessorNode
            RootNode
            TextNode
            ViewHelperNode
        ParsedTemplateInterface
        ParsingException?
        ParsingState
        TemplateParser
View/
    [...]
ViewHelpers/
    [...]
Exception
Fluid

correct?

Seems good to me!
I'd rename ViewHelper/ViewHelperException to ViewHelper/Exception, ViewHelper/ViewHelperArguments to ViewHelper/Arguments and Parser/ParsingException to Parser/Exception

#2

Updated by Sebastian Kurfuerst over 12 years ago

  • Category set to 444
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

fixed :

Also available in: Atom PDF