We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Getting started writing an add-on for EE2; also cache-ing utility

Development and Programming

northk's avatar
northk
51 posts
14 years ago
northk's avatar northk

Greetings all,

I’ve been using EE 2 for awhile and I’m ready to start writing an add-on. I’m comfortable with PHP but don’t know how to create an add-on (working with parameters through EE, error handling bubbling up to EE, coding and use conventions, etc). Can someone please direct me to some docs on how to write EE 2 add-ons?

Also, I’m wondering specifically if there is a file-based or MySQL-(EE database)-based server-side cache utility I can use in my add-on. I see that CodeIgniter has a caching driver (http://ellislab.com/codeigniter/user-guide/libraries/caching.html) but the documentation is pretty thin and it doesn’t look like it could use MySQL for the data store. Also I can’t tell how it handles concurrency. I wrote my own cache code which will work for concurrent read/writes but I’d rather use a robust, well-tested cache utility.

Thanks, -NorthK

       
Victor Michnowicz's avatar
Victor Michnowicz
95 posts
14 years ago
Victor Michnowicz's avatar Victor Michnowicz

These two links helped me out a bit:

http://ellislab.com/expressionengine/user-guide/development/module_tutorial.html http://www.gregaker.net/2011/mar/13/lets_build_an_expressionengine_module/

You can also check out my GitHub for some examples:

https://github.com/vmichnowicz

I have not looked into caching much so I can’t help you out there.

       
northk's avatar
northk
51 posts
14 years ago
northk's avatar northk

Thanks elvicmic, I’ll check out those links!

-NorthK

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.