<commit_before># Yii2-angular
####"But wait," you say, "Yii is too magical!"
[view slide deck](http://htmlpreview.github.io/?https://raw.githubusercontent.com/vybeauregard/Yii2-angular/master/index.html#22)

You're right. Sort of. The magic is in everything Yii does under the covers. And while all of the forms and pages that Gii generates are handy, sometimes they won't _quite_ fit your needs. Especially when you're mixing and mashing up different models in different ways.

But still, the rigid MVC architecture is nice to have and makes reading from and writing to the database ~~DROP TABLE~~ drop-dead easy. This part of it is worth hanging on to.

So how do we roll our own interface *and* integrate Yii's fancy MVC architecture?

I've been using a two-pronged approach and it's proven to be quite flexible:

##Yii's REST service with Angular.js
>[Two great tastes that taste great together!](http://youtu.be/DJLDF6qZUX0#t=5)<commit_msg>Update slide deck url in readme.md<commit_after># Yii2-angular
####"But wait," you say, "Yii is too magical!"
[view slide deck](http://vybeauregard.github.io/Yii2-angular/present.html#/8)

You're right. Sort of. The magic is in everything Yii does under the covers. And while all of the forms and pages that Gii generates are handy, sometimes they won't _quite_ fit your needs. Especially when you're mixing and mashing up different models in different ways.

But still, the rigid MVC architecture is nice to have and makes reading from and writing to the database ~~DROP TABLE~~ drop-dead easy. This part of it is worth hanging on to.

So how do we roll our own interface *and* integrate Yii's fancy MVC architecture?

I've been using a two-pronged approach and it's proven to be quite flexible:

##Yii's REST service with Angular.js
>[Two great tastes that taste great together!](http://youtu.be/DJLDF6qZUX0#t=5)
{'fraction_non_alphanumeric': 0.08337816030123722, 'fraction_numerical': 0.006993006993006993, 'mean_word_length': 4.6534954407294835, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6009908', 'n_tokens_mistral': 557, 'n_tokens_neox': 527, 'n_words': 264}