Reputation: 3930
Are there any resources explaining how to use Zend Framework 3 (or ZF2) with Angular? (I want to totally replace jQuery).
In particular, I'm interested on suggested application structure, where to store angular conponents and zf views, how to use Apache instead of the server built in ng-cli, how to automatically transpile and build the app (eventually using PHPStorm instead ng build).
I can see, that there are already Bootstrap 4 components based on Angular, so a guide on how to use Bootstrap 4 with ZF3 would be best.
Beginner. I've mastered Zend Framework 3 Skeleton Application and took Angular quickstart tutorial. I'm using PHPStorm so there are transpilers built in.
Upvotes: 2
Views: 3221
Reputation: 2794
I think you can create Front End in separate module. You can follow Apigility Admin UI. It developed as separated module, loaded in Zend Project and keep using view
from Zend Framework
https://github.com/zfcampus/zf-apigility-admin-ui
Upvotes: 1
Reputation: 875
I don't think, that mix Zend Framework and Angular in one repository is a good solution. The common architecture here:
So they both are separate apps in separate repositories, but linked together through the ZF api. In that case you do not need to replace Apache or ng-cli (or npm). Each app will use its own instruments and environment.
Upvotes: 1