ansonphong / postworld

Wordpress Theme Development Framework
GNU General Public License v2.0
7 stars 0 forks source link

edit-post Controller #34

Closed ansonphong closed 10 years ago

ansonphong commented 10 years ago

Hi Michel, I have updated the edit-form controller documentation and renamed it filter-form and it's ready for creation now. Let me know if I'm missing anything, or if it's not doccumented

https://github.com/phongmedia/postworld/tree/master/js#filter-form--controller-

ansonphong commented 10 years ago

Additionally, we will just have a load_post_data and save_post_data JS functions which will handle the other functionality which I previously (wrongly) concepted into the edit-form controller.

ansonphong commented 10 years ago

Hi Michel, I'm currently working on a prototype for an edit-form controller, which this would somehow merge with. I've decided to prototype the edit-field system in the form of a controller which encompasses the edit-field directive. I'll let you know how that goes.

ansonphong commented 10 years ago

OK I have discovered that ng-option in combination with a standard form controller is working very well as edit-form.

I've assigned myself to this controller for the meantime, and I'll let you know how it goes.

ansonphong commented 10 years ago

OK, progress is coming along well on the edit-form controller, which is now called edit-post.

Michel, I will be able to complete the main part of this on my own, and I'll just request your backup when we're ready to load in the AJAX functions. I still have some work on both PHP and Angular before it's ready for that, though it's getting there.