ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Accessories, A Quick Primer

November 07, 2008 6:58pm

Subscribe [16]
  • #1 / Nov 07, 2008 6:58pm

    Derek Jones

    7561 posts

    Since the Developer Preview is still a ways off, I thought I would share something code-wise that is completely new to 2.0, control panel Accessories.  This is a very very basic accessory, that just displays some simple static information in the tab for the user.  We anticipate that these sort of accessories will be common for design firms to use, as each has a particular way that they like to instruct their clients on how to use the control panel, publish information, find out important details with respect to their account, etc.

    The information in this post is targeting developers; users will never be exposed to any of this, in the same way that they don’t have to learn how plugins and extensions work to be able to use them.  Let’s break it down:

    Continue reading…

  • #2 / Nov 07, 2008 7:36pm

    gridonic

    231 posts

    Looks good, wanna see more 😉

    This might come in real handy.

  • #3 / Nov 07, 2008 7:39pm

    Mark Bowen

    12637 posts

    Looks really cool.

    Looks like there’s going to be a lot lot more to learn when 2.0 comes out for developers. All good though.

    Thanks for the sneak preview 😉

    Best wishes,

    Mark

  • #4 / Nov 07, 2008 7:52pm

    Neil Evans

    1403 posts

    i assume the whole part “full access to all of the libraries and resources of ExpressionEngine, via the $this->EE super object” is basically digging our heels into CodeIgniter… hence the reference to active record etc.???
    I am really liking this… i just need to extend my head to work out the possibilities…

  • #5 / Nov 08, 2008 12:12am

    grrramps

    2219 posts

    Since the Developer Preview is still a ways off…

    Uh oh.

    :shut:

  • #6 / Nov 08, 2008 2:27am

    Jack McDade

    425 posts

    Since the Developer Preview is still a ways off…

    Damn it.

    The accessories look very cool—excited to see how far we can go with them.

    But i was hoping EE 2.0 dev preview was any day now… That’s what I get for checking all the time.

  • #7 / Nov 08, 2008 9:33am

    Willem de Boer

    142 posts

    Looks great!!

    only 1 question: What’s the reason that all the Accessories has to be programmed, instead of being a module or something where you can put your information in.

    Most of the documentation would be text or a movie, so that’s easy to put in an entryform, isn’t it?

  • #8 / Nov 08, 2008 10:15am

    Derek Jones

    7561 posts

    Looks great!!

    only 1 question: What’s the reason that all the Accessories has to be programmed, instead of being a module or something where you can put your information in.

    Most of the documentation would be text or a movie, so that’s easy to put in an entryform, isn’t it?

    The primary reason would be that it’s portable, both between your installations, as well as sharing with the community.  And again, there’s not really any limitations on functionality.  More complex Accessories would not be very fun to program in a browser textarea, such as stat analytics, member administration, comment moderation, etc.

  • #9 / Nov 08, 2008 3:16pm

    Willem de Boer

    142 posts

    OK!, Thanks for the explanation. Sounds great.

  • #10 / Nov 09, 2008 6:05pm

    Arun S.

    792 posts

    Since the Developer Preview is still a ways off…

    Uh oh.

    :shut:

    I’m with ya.

    :shut: :shut: :shut: :shut:

  • #11 / Nov 09, 2008 7:52pm

    Pascal Kriete

    2589 posts

    You had me at

    $this->EE =& get_instance();

    Very exiting stuff!

    ::insert lots of crazy dancing smileys here::

    why has it never occurred to me that I can rename that reference..

  • #12 / Nov 10, 2008 10:40am

    Brian M.

    529 posts

    This looks really nice. Thanks for the post 😊

    Not really surprised for the little hidden gem of “a ways off”, but it’s good to see some 2.0 features. Keep delaying 2.0 - how about second half of 09? I’d love to get some time to mess around with CI before it’s released and with a new baby and a bit of a backlog of work it’s tough to find the time 😉

  • #13 / Nov 10, 2008 4:04pm

    DEA

    257 posts

    Since the Developer Preview is still a ways off…

    Uh oh.

    :shut:

    I’m with ya.

    :shut: :shut: :shut: :shut:

    Yep. Hello ‘09

  • #14 / Nov 12, 2008 3:38pm

    Jamie Poitra

    409 posts

    Thanks for the preview Derek. 

    I’m really excited about this aspect of the new CP despite the relatively minor nature of the addition. 

    Having a nice place to stick useful information, instructions, etc. is something I can really use to make my life easier.  I know Kurt is pretty excited about the Accessories functionality too.

  • #15 / Nov 13, 2008 4:30pm

    e-man

    1816 posts

    You had me at

    $this->EE =& get_instance();

    Exactly, that looks just like CI code. Bring it on! 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases