# Plugin Development: Beyond the Basics?

**URL:** <https://meta.discourse.org/t/plugin-development-beyond-the-basics/55754>\
**Category:** Development\
**Created:** [January 14, 2017, 10:28am UTC](https://meta.discourse.org/t/plugin-development-beyond-the-basics/55754 "2017-01-14T10:28:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ebs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ebs/32/119612_2.png) [@Ebs](https://meta.discourse.org/u/Ebs)\
**Post date:** [January 14, 2017, 10:28am UTC](https://meta.discourse.org/t/plugin-development-beyond-the-basics/55754/1 "2017-01-14T10:28:15Z")

</div>

Apologies if this is in the wrong section. I couldn’t start a new topic in Plugins or Howto.

I’m currently trying my hand at a new (simple) plugin.  
A folder of images will be ‘globbed’ at server startup and an array of filenames will be generated.  
The user will then be able to see this list via a combo-box in preferences and then select whichever one they like. the resulting image will then be displayed on the user-card/profile.

That’s it! 😉

However, I’m really stumped. passing the array from the server to the client is where I’m getting stuck. There seems to be a rather large gulf between @eviltrout 's great beginners guides and tackling Ember proper.

I’m pretty sure I need to read the folder contents in plugin.rb and init the array. do I pass the variable with an initializer? Do I need a controller? should I reopen the Preferences Controller and add the variable there? I’ve downloaded a few Discourse plugins to see how other people do it, but I feel that they’re probably way more advanced than what I need to do.

Can anyone give me any pointers or a good general Ember guide?  
Cheers!

---

_[View the full topic](https://meta.discourse.org/t/plugin-development-beyond-the-basics/55754)._
