clevertech/YiiBackbone — pull request #12 by cthorne66 (2013-01-01 23:58:21+00:00)
Title: Minor fix & Gii integration

Hello,

I love your project, and am using it to combine my two loves (php & backbone). Here's what I've done.

1) I fixed some minor corruption in the SiteController.php file which was problematic when using git clone on windows, but did not happen when downloading/extracting the zipped file. I was getting this issue using (tortoisegit, the github UI, and the gitbash).

This took me all weekend to debug & find it. I simply just made a very minor change in */protected/controllers/SiteController.php, like removing an extra linebreak, and then it worked.

2) I added in (but commented out by default) an optional integration with Yii's code generation tool Gii. This aspect seemed very useful to me, as I've spent more time recently in backbone, and just simply wanted to auto-generate the basic structures for php models, controllers, and CRUD operations this time around.

I'm open to things you may want me to shift or cleanup before merging, assuming that you are interested in integrating the features I'm submitting.

Let me know
Thank you
Chris