building the front end with angularjs
TRANSCRIPT
Building the FrontEndin AngularJS
John Ennew MEng CEng MIET Lead Developer, Deeson
ceng on drupal.org @johnennew
From the website: https://nodejs.org/en/download/
Or from your OS package manager. e.g. brew install node
sudo apt-get install nodejs
Check with: node -v v0.12.4
Node & NPM
$> mkdir angular-drupal8 $> cd angular-drupal8 $> npm install generator-angular $> yo angular angular-drupal8
Scaffold your app
Drupal 7
Services module https://drupal.org/project/services
Restful module: https://drupal.org/project/restful
For Drupal GUI config
For code config
Drupal 7
Yeoman: https://github.com/Gizra/generator-hedley
* Drupal 7 backend * Angular app client * Behat tests
Thank you!
John Ennew MEng CEng MIET Lead Developer, Deeson
(Our team is distributed and we are hiring) ceng on drupal.org
@johnennew
CORS support
http://drupal8.devhttp://localhost:9000
Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: http://localhost:9000
<meta name="fragment" content="!">
https://developers.google.com/webmasters/ajax-crawling/docs/getting-started
SEO
http://my.domain.com/base/some/path/on/website?_escaped_fragment_=