Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the View module #59

Open
peter279k opened this issue Jul 30, 2018 · 2 comments
Open

Enhance the View module #59

peter279k opened this issue Jul 30, 2018 · 2 comments

Comments

@peter279k
Copy link
Contributor

The View class is simple view to want to try fixing this.
How about considering the Twig or Blade templates.

@dusta
Copy link
Member

dusta commented Jul 30, 2018

The "view" is just an adapter with which you can use any "view" engine
Currently we are using s.m.a.r.t.y "view" engine and clean php.

If you want to use another "view" engine you should implement it with https://github.com/dframe/dframe/blob/master/src/View/ViewInterface.php

And init like here https://github.com/dframe/dframe-demo/blob/master/app/View/View.php

@dusta
Copy link
Member

dusta commented Jul 30, 2018

If you want you can update Twig View or wite Blade adapter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants