# 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:** 4

<div class="post-metadata">

**Author:** ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)\
**Post date:** [January 15, 2017, 8:29am UTC](https://meta.discourse.org/t/plugin-development-beyond-the-basics/55754/4 "2017-01-15T08:29:26Z")

</div>

This might be a bit hand-wavey, but you could probably tap into the [Ember component lifecycle](https://guides.emberjs.com/v2.10.0/components/the-component-lifecycle/) here to perform requests once the page has loaded its components.

Something like

```plaintext
# discourse/components/some-component.js.es6
export default Ember.Component.extend({
  didInsertElement() {
    ajax('/globber/files').then((response) => {
      this.set('files', response.files)
    }
  }
}

```

---

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