10.07.2015 Views

belle-workbook

belle-workbook

belle-workbook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Wrap upThe important part of the above is the way you create an APIController call the database foryour own data, and finally expose the data to angular as a service using $http.For simplicity, you could also have skipped the service part, and just called $http directly inyour controller, but by having your data in a service, it becomes a reusable resource for yourentire application.Congratulations you have now completed this workshop and are now a fully qualifiedUmbraco Belle developer (ish)!!You have:-• Created a plugin• Defined a property editor• Injected your own JavaScript libraries and some 3rd party ones• Made the editor configurable• Connected the editor with native dialogs and services• Looked at koala pictures• Worked with the APIController to work with custom json dataCopyrightThe contents of this book were originally authored by Per Ploug and it’s content and allcopyright belongs to the Umbraco HQ.The original copy of this tutorial can be found online within the Umbraco Belledocumentation:-http://umbraco.github.io/Belle/#/tutorials/CreatingAPropertyEditor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!